Difference between revisions of "User:Scott/03"
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
Network [[user:scott04]] | Network [[user:scott04]] | ||
Troubleshoot [[user:scott05]] | Troubleshoot [[user:scott05]] | ||
| + | Resources [[user:scott06]] | ||
{{TOC limit|limit=1}} | {{TOC limit|limit=1}} | ||
__TOC__ | __TOC__ | ||
| − | + | ==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== | ==Locate Files== | ||
| Line 21: | Line 29: | ||
du -ha /home/bob/Downloads/ | grep -i firefox (find all instances of firefox and -i ignore case) | 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 ??? | ||
Revision as of 17:06, 17 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
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 ???