Favorite Linux Commands
-
Hardware commands are always great:
https://www.maketecheasier.com/gather-hardware-information-in-linux
lspci
Anything in /proc
I LOVE LOVE LOVE htop
-
I honestly don't like htop very much. I prefer regular top. I find the output more useful.
-
@scottalanmiller said:
I honestly don't like htop very much. I prefer regular top. I find the output more useful.
htop works much better to see multi-CPU utilization though. Filtering is really nice too.
-
@quicky2g said:
@scottalanmiller said:
I honestly don't like htop very much. I prefer regular top. I find the output more useful.
htop works much better to see multi-CPU utilization though. Filtering is really nice too.
Ah, I never find CPU utilization to be something that I need to watch. Looks neat and impressive on the screen, but once I know the percentage of CPU, I don't care about seeing a chart, but I need to see load numbers, processes and memory stats.
-
I use dd a lot
-
-
-
-
ok so looking through the list of new posts.... this caught my eye fast

-
@johnhooks said:
@MattSpeller said:
@johnhooks said:
@MattSpeller said:
I use dd a lot
boobs
80085?
8008135
what was the one you had to hold the thing upside down for... oh geez lol
-
@MattSpeller said:
@johnhooks said:
@MattSpeller said:
@johnhooks said:
@MattSpeller said:
I use dd a lot
boobs
80085?
8008135
what was the one you had to hold the thing upside down for... oh geez lol
ha 7734
-
-
List disk info (Lowercase L)
fdisk -lList hard drive model, serial and capabilities:
hdparm -I /dev/sdaHard drive speed:
hdparm -t /dev/sddHard drive temperature:
hddtemp -u C -n /dev/sdaWhat software a web server is running:
curl -I http://www.newegg.comKernel buffer messages:
dmesgFile transfer with active speed:
rsync --progress --recursive source/* destincationPing sweep a network with NMAP and just show up IP's:
sudo nmap -PO -sP -PE -n --open -v 10.1.1.1-10 | grep "scan report" | grep -v "host down" | sed 's/Nmap scan report for //g'Only show down/available IP's:
sudo nmap -PO -sP -PE -n --open -v 10.1.1.1-10 | grep "host down" | sed 's/Nmap scan report for //g' | sed 's/ \[host down\]//g'Ping a TCP port:
nping --tcp -p 80,443 www.newegg.comStress test packets per second with ICMP (5,000 pings sent at rate of 100k per second):
nping --icmp 10.1.1.1 --rate 100000 -c 5000QoS EF ping:
ping -Q 0xB8 10.1.1.1Packet capture (CTRL + C when done):
sudo tcpdump -i eth0 -w testing.pcapView a packet capture for ICMP:
tcpdump -r testing.pcap -nnvvvSe | grep ICMPThat's about all I got right now.
-
Some "not so standard" useful IP address stuff:
ip addr show eth0 ip -s link show eth0 -
@quicky2g said:
Some "not so standard" useful IP address stuff:
ip addr show eth0 ip -s link show eth0Supposedly, those are the new standards, ha ha ha.
-
-
@quicky2g You and me both, lol.
-
Same here.
-
@quicky2g said:
@dafyre said:
@quicky2g said:
Some "not so standard" useful IP address stuff:
ip addr show eth0 ip -s link show eth0Supposedly, those are the new standards, ha ha ha.
Muscle memory has me stuck on
ifconfigOnly the people here will understand how many times I've typed ifconfig instead of ipconfig, or ipconfig instead of ifconfig. So annoying (yes, I annoy myself.)
-
@travisdh1 said:
@quicky2g said:
@dafyre said:
@quicky2g said:
Some "not so standard" useful IP address stuff:
ip addr show eth0 ip -s link show eth0Supposedly, those are the new standards, ha ha ha.
Muscle memory has me stuck on
ifconfigOnly the people here will understand how many times I've typed ifconfig instead of ipconfig, or ipconfig instead of ifconfig. So annoying (yes, I annoy myself.)
Annoying yourself is fine. Arguing with yourself is fine... But if you start to hear voices arguing back... Then you should worry.
However, I do feel your pain.
