Basic Ubuntu Commands

After having a brief introduction on Ubuntu, here is a list of basic Ubuntu commands. Please note, this is not a complete list, however, these commands should be more than enough for beginners.

COMMANDS DESCRIPTION
alias create names or abbreviations for commands
apropos search the manual page names and descriptions
cal displays a calendar
cat concatenate files and print on the standard output
cd change directory
bc An arbitrary precision calculator language
date print or set the system date and time
dd convert and copy a file
du estimate file space usage
chgrp change group ownership
chmod change file access permissions
cksum checksum and count the bytes in a file
nl number lines of files
tee read from standard input and write to standard output and files
time run programs and summarize system resource usage
touch change file timestamps
vim Vi IM proved, a programmers text editor
watch execute a program periodically, showing output full screen
wc print newline, word, and byte counts for each file
whoami print effective user_id
od dump files in octal and other formats
cp copy files and directories
csplit split a file into sections determined by context lines
egrep print lines matching a pattern
export set an environment variable
fgrep print lines matching a pattern
find search for files in a directory hierarchy
fold wrap each input line to fit in specified width
grep print lines matching a pattern
head output the first part of files
rm remove files or directories
scp secure copy
ssh Open SSH client
tail output the last part of files
tar The GNU version of the tar archiving utility
join join lines of two files on a common field
logrotate rotates, compresses, and mails system logs
ls list directory contents
mkdir make directories
mv move/rename files
mount mount a file system
pwd print name of current/working directory
rgrep print lines matching a pattern
yes output a string repeatedly until killed

Please contact me using “contact me” section or drop a comment to know more about any command or you can also drop your suggestions.

One Response to Basic Ubuntu Commands

  1. [...] practising  for other ubuntu commands,from my previous post. Share this: Tagged display command detail, how to display next page, man, previous page, ubuntu. [...]

Leave a Reply