[dywang@dywmac ~]$ ifconfig | grep 192 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
[dywang@dywmac ~]$ ps aux | grep ssh root 2526 0.0 0.0 66488 2684 ? Ss 06:42 0:00 /usr/sbin/sshd dywang 4358 0.0 0.0 60088 5764 pts/5 S+ 06:50 0:00 ssh dyw219 dywang 4469 0.0 0.0 110308 2280 pts/6 S+ 06:57 0:00 grep --color ssh
[dywang@dywmac ~]$ cat /etc/man.config | wc 152 765 4940
[dywang@dywmac ~]$ cat /etc/passwd | grep bash root:x:0:0:root:/root:/bin/bash dywang:x:500:500:De-Yu Wang:/home/dywang:/bin/bash linda:x:503:503::/home/linda:/bin/bash
[dywang@dywmac ~]$ cat /etc/passwd | grep bash | sort -t: -k3 root:x:0:0:root:/root:/bin/bash dywang:x:500:500:De-Yu Wang:/home/dywang:/bin/bash linda:x:503:503::/home/linda:/bin/bash
[dywang@dywmac ~]$ cat /etc/passwd | grep bash | sort -t: -k3 | cut -d: -f 1,3 root:0 dywang:500 linda:503