rtfm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rtfm [2016/07/25 21:44] – walkeradmin | rtfm [2016/12/13 21:28] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
\\ | \\ | ||
\\ | \\ | ||
- | \\ | + | ===== Linux Network Commands ===== |
watch ss -tp Network connections | watch ss -tp Network connections | ||
netstat -ant Tcp connections -anu=udp | netstat -ant Tcp connections -anu=udp | ||
Line 34: | Line 34: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | ===== Linux System Info ===== | ||
+ | nbstat -A ip Get hostname for IP | ||
+ | id Current username | ||
+ | w | ||
+ | who -a User information | ||
+ | last -a Last users logged on | ||
+ | ps -ef Process listing (top) | ||
+ | df -h Disk usage (free) | ||
+ | uname -a Kernel version/CPU Info | ||
+ | mount | ||
+ | getent passwd | ||
+ | PATH~$PATH:/ | ||
+ | kill pid Kill process with pid | ||
+ | cat / | ||
+ | cat / | ||
+ | cat / | ||
+ | rpm --query -all Installed pkgs (Redhat) | ||
+ | rpm -ivh ' | ||
+ | dpkg -get-selections | ||
+ | dpkg -I ' | ||
+ | pkginfo | ||
+ | which tscsh/ | ||
+ | chmod -5o tcsh/ | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== Linux Utility Commands ===== | ||
+ | wget http:// url -O url.txt -o / | ||
+ | rdesktop ip | ||
+ | scp /tmp/file user@x.x.x.x:/ | ||
+ | scp user@ remoteip :/tmp/file / | ||
+ | useradd -m user Add user | ||
+ | passwd user | ||
+ | rmuser uname Remove user | ||
+ | script -a outfile | ||
+ | apropos subject | ||
+ | history | ||
+ | ! num | ||
+ | \\ | ||
+ | \\ |
rtfm.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1