invisible files

Asked by princen

what command should i use to know how many invisible files are in my home directory?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Vojtěch Trefný
Solved:
Last query:
Last reply:
Revision history for this message
Best Vojtěch Trefný (vojtech.trefny) said :
#1

In Nautilus you can see number of files/folders (left down corner) -- use Ctrl+H to see hidden files and it will show you total number of everything, now just subtract number without of visible files :-).

An here is terminal way (it's very weird):

ls -a ~ > 1 && ls ~ > 2 && diff 1 2 | grep '<' | wc

(first number is number of hidden files and folders).

Revision history for this message
princen (spurchampion) said :
#2

Thanks Vojtěch Trefný, that solved my question.