Restart Command Restart Forcible Open Port List Along With Service Display A Particular
Restart Command Restart Forcible Open Port List Along With Service Display A Particular
SL NO Discription Command
1 Restart command reboot
2 Restart forcible reboot -f
3 Open port list along with service lsof -i -P -n | grep LISTEN
4 Display a particular lsof -i:50000
5 To display Port list lsof -i -P -n | grep LISTEN
6 Port open permanently firewall-cmd --permanent --add-port=50000/tcp
firewall-cmd --reload
7 Port open for current session firewall-cmd --add-port=50000/tcp
firewall-cmd --reload
8 User list awk -F':' '{ print $1}' /etc/passwd
9 User uid and gid id root
10 Suse service add in firewall Firewall-cmd –permanent –add-
service={mountd,nfs,ssh}
11 /etc/security/limits.conf
SUSE nofile limit extend
Snote 2369910 @sapsys soft nofile 75000
@sapsys hard nofile 72000
12 Search text from multiple file find ./ -type f -name "*.txt" -exec grep 'Geek' {} \;
13 Search text from particular file find ./ -type f -name "keydb.xml" -exec grep 'error' {} \;
Resource monitor Vmstat 2
Top process Top i