sevaral command in linux code example

Example 1: how to unrar in linux

$ sudo apt install unrar
//extract to the current folder
$ sudo unrar x filename.rar
//extract all files without sub folders
$ sudo unrar e filename.rar

Example 2: ps -aux command in linux

# ps (Process Status)
# Syntax : ps [options]
# [options] can be -a, -A, -d, -e etc.

# Ex- ps -aux : print all processes owned by a user named "x"
# -a : Information for all processes associated with terminals.
# -u : Information for processes in userlist.
# -x : username (user running this command)