Unix Tutorial: Examples
Examples of Unix/Linux commands
Last updated
Was this helpful?
Examples of Unix/Linux commands
Last updated
Was this helpful?
Hi! I'm and this is my page for collecting examples of Unix/Linux commands in addition to website.
- show current date and time in any format you like
- report system stats since last reboot or power on
ls - list files/directories
cd - change directory
pwd - confirm current directory
cp - copy files/directories
rm - remove files and directories
mv - move (and rename) files/directories
chmod - change access permissions
chown - change ownership of a file or directory
cat - show contents of a file; concatenate multiple files into one
grep - find text information using patters
touch - create empty file or refresh modification date for existing file
more - pager for contolled browsing of a text file
less - advanced pager for viewing text files
du - show disk space consumed by a file or directory
df - show disk usage (free space and inodes)
Project by