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)
Line 2: Line 2:
  
 
  Home Page      [[user:scott]]
 
  Home Page      [[user:scott]]
  Tech Support  [[user:scott02]]
+
  Tech Support  [[user:scott/02]]
  Dir & Files    [[user:scott03]]
+
  Dir & Files    [[user:scott/03]]
  Network        [[user:scott04]]
+
  Network        [[user:scott/04]]
  Troubleshoot  [[user:scott05]]
+
  Troubleshoot  [[user:scott/05]]
  Resources      [[user:scott06]]
+
  Resources      [[user:scott/06]]
  
 
{{TOC limit|limit=1}}
 
{{TOC limit|limit=1}}

Revision as of 05:03, 19 October 2011

Useful Directory and File Commands

Home Page      user:scott
Tech Support   user:scott/02
Dir & Files    user:scott/03
Network        user:scott/04
Troubleshoot   user:scott/05
Resources      user:scott/06

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 ???