There are many instances when we want to quit from shell without saving any command in history. We might have run by mistake some rookie command and you dont want to disclose it to others.
kill -9 $$ will do the needful as $$ will provide the PID of the current shell
How to know the status of all the running services
There are many commands like netstat -plant,ps -aux but when you want to know all the services which are running presently into your RHEL box, service --status-all command is very handy . It shows all the running services into your box.
Subscribe to:
Post Comments (Atom)
Complete list of recommended VS Code extensions for writing and managing AWS Terraform scripts , including syntax checking, variable supp...
-
# Ansible module and some advance options Modules: Command: This module help you to execute commands to the target host, it may be comma...
-
=================== Deployment ================= 1.) Deployment without any nodeName or nodeSelector, pod will spread among all of the av...
-
# Ansible gathering facts from remote servers. ============================= ====================================== getting facts fro...
No comments:
Post a Comment