prev |
Common Command Examples |
next |
head
and tail
show top and bottom of
files, 10 lines default
% head /etc/passwd
% tail -5 /etc/passwd
% tail -f /var/log/dmesg
id
shows who you are right now
% id
uid=0(root) gid=5(staff) groups=0(root),5(staff)