Difference between revisions of "User:Scott/03"

From FreekiWiki
Jump to navigation Jump to search
m (User:Scott03 moved to User:Scott/03: to keep people from being confused as to how many Scotts there are)
(No difference)

Revision as of 20:40, 18 October 2011

Useful Directory and File Commands

Home Page      user:scott
Tech Support   user:scott02
Dir & Files    user:scott03
Network        user:scott04
Troubleshoot   user:scott05
Resources      user:scott06

Template:TOC limit

Favorite Commands

  • history (!2054)
  • gksudo nautilus /home
  • gconf-editor (configuration)
  • finger (who is logged in)
  • id (uid=1000(sjnSUSE) gid=100(users) groups=100(users)
  • date & cal

Locate Files

DU

du -h | less                 (directory usage -h human readable)
du -h /home/bob/Downloads/   (list all directories in Download)
du -ha /home/bob/Downloads/  (list all files & directories in Download)
du -ha /home/bob/Downloads/ | grep -i firefox   (find all instances of firefox and -i ignore case)

Search

sudo updatedb
locate /dir/dir | grep file
find -name filename ???