How to view & copy hidden files & folders in Linux
-
Would need some help on viewing & Moving the Hidden Files & Folders.
-
Answer:
Hidden files are just files with a . in the beginning of their name. To list files, including hidden ones from a command line: ls -a To list only hidden files: ls -a .* Hidden files can be moved/copied/removed just like any other file: mv .log .log_old # move a file cp .log .log_backup # copy a file rm .log # remove a file
Shadab Mukri at Server Fault Visit the source
Other answers
If you are using Gnome and the Nautilus file manager, you can select "Show Hidden Files" in the "View" menu. The keyboard shortcut is Ctrl-H. On the command line the option to "ls" is "-a" to see hidden files (the ones with '.' as the first character in the filename).
asjo
Following up on Trey's answer, if you want to copy everything in a given directory, including the hidden files, you should be fine with: cp -r /something/ /somenewplace/
Justin Alan Ryan
Related Q & A:
- How To View Hidden Facebook Friends List?Best solution by Yahoo! Answers
- How To View Hidden Myspace Profiles?Best solution by Yahoo! Answers
- How do I view hidden files on my Hard Drive?Best solution by Yahoo! Answers
- How to delete hidden files in windows 7?Best solution by Yahoo! Answers
- How to copy files n folders from both internal n external hard disks to DVD+R discs storage?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.