Tips related to

Friday, 9 July 2010

ESSENTIAL UNIX Commands


CommandExampleDescription
1. lsls
ls -alF
Lists files in current directory
List in long format
2. cdcd tempdir
cd ..
cd ~dhyatt/web-docs
Change directory to tempdir
Move back one directory
Move into dhyatt's web-docs directory
3. mkdirmkdir graphicsMake a directory called graphics
4. rmdirrmdir emptydirRemove directory (must be empty)
5. cpcp file1 web-docs
cp file1 file1.bak
Copy file into directory
Make backup of file1
6. rmrm file1.bak
rm *.tmp
Remove or delete file
Remove all file
7. mvmv old.html new.htmlMove or rename files
8. moremore index.htmlLook at file, one page at a time
9. lprlpr index.htmlSend file to printer
10. manman lsOnline manual (help) about command

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | 100 Web Hosting