Basic vi commands Command Description TERM = terminal_name export TERM Setting Terminal configuration tput init Initialize terminal as terminal_name vi filename Open the vi text editor to edit
Command killall killall command kills all active processes. Syntax killall [options] Options view option kill command Description Command killall kills all active processes. Implied value send a signal
Command uptime Displays the time of continuous operation of the system. Syntax uptime Description uptime utility displays the current time, time of continuous operation of the system, the
Command top Displays a list of currently executing processes, ordered by the percentage use of CPU time. Syntax top [q] [d interval] Options q: requires top performance with
Command pstree Displays all running processes in a tree. Syntax pstree [options] [process_id] Options -a displays the command line arguments. -c does not compress the subtrees. -l displays
Command ps Displays the status of processes (programs) running in the system. Syntax ps [options] Options [notice]Note that unlike other commands ps command options do not have a
Command kill Kill command sends a signal to the process. Syntax kill [options] id_process Options -Nsignal sends a specified signal (where Nsignal – the number or name). -l
Command free free command displays the number of free and used memory in the system. Syntax free [options] Options -b: displays the amount of memory in bytes. -k:
Command du du command displays the amount of disk space occupied by files or directories. Syntax du [options] [directories_or_files] Options -a displays information about memory usage for all