The Linux Commands Series: Part V

teahub.io

type

Syntax: type <command name>

which

which ls

nohup

Syntax: nohup <command name>

xargs

Syntax: command1 | xargs command2

cat todelete.txt | xargs rm

cat todelete.txt | xargs -p rm

cat todelete.txt | xargs -p -n1 rm

vim

Syntax: vi file1.txt

emacs

Syntax: emacs <filename>

nano

nano <filename>

whoami

Syntax: whoami

who

Syntax: who -aH

Syntax: who am i

who -aH am i

su

su <username>

sudo

Note: Remember to use the man command for more intel on a particular command.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store