Search Suggest

command

Command:
1.lastlog -b 0 -t 10 (las login 10 d)

2.echo 'p@ssw0rds' | smbclient //172.16.0.240/netlogon -UAdministrator -c 'ls'

3.cd Document\ Center\ and\ fife\ sharing/

4.เอา #comment ออกเหลือแต่ค่า configure

4.1 mv /etc/squid/squid.conf /etc/squid/squid.conf.bkp

4.2
grep -Eiv '(^#|^$)' /etc/squid/squid.conf.bkp
or
grep -ve ^# -ve ^$ /etc/squid/squid.conf.bkp > /etc/squid/squid.conf

4.3 ps
ps -ae --forest | grep apache2

4.4 watch
watch -n 2 'ps -aef | grep firefox'

5. Check linux OS 32bit & 64bit
dpkg --print-architecture

getconf LONG_BIT

arch

uname -m

Đăng nhận xét