Files Shown in Terminal not Show on Desktop

20,885

Solution 1

Files that start with a . are hidden from the graphical interface.

To view them, just open up your file browser and go to 'Edit'->'Preferences' and check 'Show hidden files and backup files'.

You can also toggle the hidden files using Ctrl+H

EDIT:

To get the hidden files to show up in terminal, use:

cd
ls -al

cd takes you back to your home folder while ls -al lists (the -l flag) all files (the -a flag) hidden or not.

Solution 2

To view files list use ls command. To view hidden files as well use ls -a or la commands.

Hidden files will have . before them.

Eg: you should use ls /home/user/ and for hidden files la /home/user/ for list view ls -al /home/user/

Share:
20,885

Related videos on Youtube

Seth Taddiken
Author by

Seth Taddiken

I think I'm Seth, therefore I'm Seth.

Updated on September 18, 2022

Comments

  • Seth Taddiken
    Seth Taddiken over 1 year

    I have an issue where I am creating .cap files with aircrack-ng and am saving them to the desktop, but I can't see them. When I use the ls command in the terminal they show up, but just not on the graphical desktop view. I want to be able to see them on the desktop and not just through the terminal. Any help would be appreciated, thanks!

    EDIT: Turns out I am not saving them to the desktop, but rather the /home/user/ directory. The hidden files show up when I press CTR + H, but they don't show up in the terminal; the only file showing up in the terminal when I use the ls command is the desktop (sorry for the topic edit). How can I get the hidden files to show up in the terminal as well?

    • kenn
      kenn almost 10 years
      What is your file manager?
    • Wilf
      Wilf almost 10 years
      What is the output of ls -al ~/Desktop? (Please edit it into your question)
    • Sudheer
      Sudheer almost 10 years
      please post your ls list screen shot and your file manager
    • Seth Taddiken
      Seth Taddiken almost 10 years
      I wish there was a way to accept two answers because I asked two questions :/.
  • Seth Taddiken
    Seth Taddiken almost 10 years
    Although la doesn't work, ls -a does. This may be because this is an Ubuntu focused site and I'm using Kali Linux, but I don't know for sure. Thank you very much! This completes the second part of the answer to my questions :).
  • Wilf
    Wilf almost 10 years
    ls ~ is the same as ls /home/USER by the way
  • Sudheer
    Sudheer almost 10 years
    yes its the same.