Miscellaneous Linux Commands
Jump to navigation
Jump to search
Display all network interface names on any Linux system from the shell:
Sample output from my Fedora 20 VirtualBox server:
Display all network interface names on any Linux system from the shell:
ifconfig | grep BROADCAST | cut -d " " -f1 | sed 's/.$//'
Sample output from my Fedora 20 VirtualBox server:
em1
<br />
virbr0
The "ps" Process Command Syntax:
To show all executing processes:
$ ps ax
To show all processed running by a specific user(This example shows all processes running by the Apache WebServer):
$ ps -U apache