Helpful CLI commands in situations
The intention here is to give user a set of commands that will extract some useful output regarding his present situation and allow him to post it at the forum to get better help or just to improve his knowledge of PCLinuxOS.
Although command line is generally thought to be for advanced users, there are plenty of situations where regular users too will have to at least do some basic work there. Hence this page.
Contents
- 1 Display or Graphics related situations
- 2 Sound related situations
- 3 Internet related situations
- 4 Kernel related situations
- 5 General hardware related situations
- 6 Partitions
- 7 Filesystem related situations
- 8 Touchpad related situations
- 9 Bluetooth related situations
- 10 Driver related situations
- 11 WiFi/Networking
- 12 Process management
- lspci
- XFdrake
- lspci
- arecord -l (lowercase l) - for mic related situation
- arecord -L (uppercase L) - for mic related situation
- ifconfig
- ifup
- ifdown
- ping
- traceroute (may need to be installed from the repositories)
- uname -a
- lspci -v
- lsusb
- lshw
Partitions
- fdisk -l
- blkid -c /dev/null
- ntfsfix - fix NTFS filesystem errors
- lspci?
- bluetoothd -n -d
- rfkill list
- hciconfig -a
- lsusb
- lsmod
WiFi/Networking
- iwconfig
- ifconfig
Process management
- top - lists all the processes
- pstree -p - a tree view of running processes with their PID
- kill PID - where PID is of the process intended to be killed
- killall processname - where processname is the process to be killed