Professional Documents
Culture Documents
HDC Linux PDF
HDC Linux PDF
Is -al Formatted listing with hidden files cal show this month's calendar
mkdirdir Create a directory dir finger user display information about user
rm -rf dir For remove directory dir man command show the manual for command
cp -r dir1 dir2 Copy dirl to dir2; create dir2 if it d o e s n ' t exit du show directory space usage
mv file) file2 Rename or move file l to file2. 11 filed 2 is an free show memory and swap usage
existing directory, moves file l into directory file2 whereis app show possible locations of app
In -s file link Create symbolic link link to file which app show which app will be run by default
tar czf file. tar. gz files create a tar with Gzip compression
• 2 - write (w)
Examples:
I SSH I
grep pattern files search for pottern in files . . Ctrl+U erases the whole line
grep -r pattern dir search recurslvelv for pattern m dir Ctrl+R type to bring up a recent command
command I grep pattern search for pattern in the output of command !! repeats the last command