Your Ad Here Your Ad Here
Results 1 to 6 of 6

Thread: emacs (Delete a file)

  1. #1
    By using cd i am now in my home directory. I entered ls and a whole bunch of files appeared. Now is there any way to delete these files becasue i don't need them anymore and they are taking up space.

    Cheers

  2. Software & Hardware   -   #2
    backlash's Avatar usenet lover
    Join Date
    Aug 2003
    Location
    in your dreams
    Posts
    2,167
    you entered what? I'm confused as to what you are saying. Is this a mac you're using? Please be clear about your system specs and try again.

  3. Software & Hardware   -   #3
    try typing

    man rm

    that should give you details on the remove (rm) command. But be careful in your use of the * wildcard. Remember there are probably hidden files in there as well which i don't think ls will list. typing

    ls -l

    should list everything and its details

  4. Software & Hardware   -   #4
    uNz[i]'s Avatar Out of order
    Join Date
    Mar 2003
    Posts
    2,259
    Quote Originally Posted by backlash
    you entered what? I'm confused as to what you are saying. Is this a mac you're using? Please be clear about your system specs and try again.
    What is Emacs?
    Actually, I'd only seen Emacs used in Linux... didn't know you could use it in a Windows environment too. Interesting.

  5. Software & Hardware   -   #5
    backlash's Avatar usenet lover
    Join Date
    Aug 2003
    Location
    in your dreams
    Posts
    2,167
    interesting. learn a new thing every day.

  6. Software & Hardware   -   #6
    Poster
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    333
    Quote Originally Posted by ilw
    try typing

    man rm

    that should give you details on the remove (rm) command. But be careful in your use of the * wildcard. Remember there are probably hidden files in there as well which i don't think ls will list. typing

    ls -l

    should list everything and its details
    What he said. This of course is assuming you're in the terminal. You can also use rmdir, to remove the whole directory.

    If you're in Emacs you can access the shell through Meta+! (alt+shift+1) or
    exit Emacs through Ctrl+c x. Although I'm still quite confused as to how Emacs has anything to do with deleting the files. If you're new Linux look up a list on google of 'basic UNIX commands', that should help you out.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •