Linux Command

netstat
Function: Print network connections, routing tables, interface statis-tics, masquerade connections, and multicast memberships
Usage: netstat {--masquerade|-M} [--extend|-e] [--numeric|-n] [--numeric-hosts][--numeric-ports][--numeric-ports] [--continuous|-c] [delay]
grep
Function: print lines matching a pattern
Usage: grep [OPTIONS] [-e PATTERN | -f FILE] [FILE...]
ls
Function: list directory contents
Usage: ls [OPTION]... [FILE]...
chmod
Function: change file mode bits
Usage: chmod [OPTION]... OCTAL-MODE FILE...
sudo
Function: execute a command as another user
Usage: sudo [-AbEHnPS] [-a type] [-C num] [-c class] [-g group] [-h host] [-p prompt] [-r role] [-t type] [-T timeout] [-u user] [VAR=value] [-i | -s] [command]
vim
Function: Vi IMproved, a programmers text editor
Usage: vim [options] -
du
Function: estimate file space usage
Usage: du [OPTION]... --files0-from=F
pstree
Function: display a tree of processes
Usage: pstree [-a] [-c] [-h|-Hpid] [-l] [-n] [-p] [-u] [-Z] [-A|-G|-U] [pid|user]
chmod
Function: change file mode bits
Usage: chmod [OPTION]... MODE[,MODE]... FILE...
dirname
Function: strip non-directory suffix from file name
Usage: dirname NAME
fmt
Function: simple optimal text formatter
Usage: fmt [-WIDTH] [OPTION]... [FILE]...
script
Function: Record everything you do in a terminal or SSH session
Usage: script [options] [file]
pwdx
Function: Report current working directory of a process
Usage: pwdx [options] pid [...]
fold
Function: Wrap each input line to fit in specified width
Usage: fold [OPTION]... [FILE]...
flock
Function: Manage and enforce file locking to prevent multiple processes from accessing the same file simultaneously, thereby ensuring data integrity and preventing conflicts.
Usage: flock [options] file|directory command [arguments]