Difference between revisions of "User:Scott/03"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | Useful Directory Commands | + | Useful Directory and File Commands |
| − | Home Page | + | Home Page [[user:scott]] |
| − | Tech Support [[user:scott02]] | + | Tech Support [[user:scott02]] |
| − | Network | + | Dir & Files [[user:scott03]] |
| + | Network [[user:scott04]] | ||
| + | Troubleshoot [[user:scott05]] | ||
{{TOC limit|limit=1}} | {{TOC limit|limit=1}} | ||
__TOC__ | __TOC__ | ||
| − | <h4>Directories</h4> | + | <h4>Working With Directories</h4> |
==Locate Files== | ==Locate Files== | ||
| Line 14: | Line 16: | ||
===DU=== | ===DU=== | ||
| − | du -h (directory usage | + | du -h | less (directory usage -h human readable) |
du -h /home/bob/Downloads/ (list all directories in Download) | 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/ (list all files & directories in Download) | ||
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) | ||
Revision as of 12:30, 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
Working With Directories
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)