Results 1 to 2 of 2

Thread: I have files that I can't see on terminal, and files I can see on terminal but...

  1. #1
    Join Date
    Apr 2011
    Beans
    20

    I have files that I can't see on terminal, and files I can see on terminal but...

    So when I'm in terminal I see some files listed that I remember having on my computer, but when I'm not in terminal and view the folders they're in using the files and folders application I can't see them. I also can see a files in my folders I want to delete that I can't find using terminal.

    Kind of confusing, why is this?


    Thanks.


    Edit: Also, when I try to delete the non-existent files that I can only see through terminal it won't let me, and when I delete the entire directory they're in, they move to another directory. Wtf?

    Edit #2: It let me delete the files that I could only see through terminal, but they all have really long names, any way to copy/paste the names or something?
    Last edited by BTXNick; April 30th, 2011 at 12:29 AM.

  2. #2
    Join Date
    Feb 2009
    Location
    Brisbane, Australia
    Beans
    684
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: I have files that I can't see on terminal, and files I can see on terminal but...

    Quote Originally Posted by BTXNick View Post
    Kind of confusing, why is this?
    No idea, it sounds like you might not be on a Linux partition.

    On a Linux partition the hidden files start with '.'

    You can see them in Nautilus (file manager) by clicking <view><show hidden files> or pressing <ctrl><h>.

    To see the hidden files in terminal use
    Code:
    ls -a

    Edit: Also, when I try to delete the non-existent files that I can only see through terminal it won't let me, and when I delete the entire directory they're in, they move to another directory. Wtf?
    When you delete files in Nautilus they will normally get moved to the trash folder. To delete them without moving to trash select them then use <shift><delete>. This works in Windows also.

    To remove a directory in terminal use:
    Code:
    rm -R /pathname/dirname/
    You will NOT be asked for confirmation so be careful.

    Apart from that, if the files and directories are not in /home/username you may not have permission to delete them, or even view them under some circumstances. We'd need to know more about what you are trying to do.

    Chris

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
  •