Command Example Description 1. ls ls
ls -alFLists files in current directory
List in long format2. cd cd tempdir
cd ..
cd ~dhyatt/web-docsChange directory to tempdir
Move back one directory
Move into dhyatt's web-docs directory3. mkdir mkdir graphics Make a directory called graphics 4. rmdir rmdir emptydir Remove directory (must be empty) 5. cp cp file1 web-docs
cp file1 file1.bakCopy file into directory
Make backup of file16. rm rm file1.bak
rm *.tmpRemove or delete file
Remove all file7. mv mv old.html new.html Move or rename files 8. more more index.html Look at file, one page at a time 9. lpr lpr index.html Send file to printer 10. man man ls Online manual (help) about command
Tips related to
yogasana
(102)
Technical
(74)
diary
(37)
computer tips
(36)
social
(25)
software
(19)
Linux
(14)
fun
(11)
entertenment
(9)
mystry
(9)
hacking tutorial
(8)
spiritual
(8)
sports
(8)
save the earth
(5)
intresting programs
(4)
0 comments:
Post a Comment