Close Session/Close Terminal using command in AIX [on hold]How to disable live shell session command history under AIX 5-6?Open program as root, close root session but still program is runningAIX 'rm' command has no '-v' parameter for verbose outputDetermine the owner of the session of a processHow to close XServer session via commandequivalent of the GNU stat command for ksh on AIXSee disk consume info using 'df' command on AIXUsing session command from a cron job (linux)Using script command for installation script on AIXManually restore saved session files on KDE using qdbus command
Can criminal fraud exist without damages?
How to verify if g is a generator for p?
Star/Wye electrical connection math symbol
Go Pregnant or Go Home
What's the purpose of "true" in bash "if sudo true; then"
apt-get update is failing in debian
Why "be dealt cards" rather than "be dealing cards"?
Are there any comparative studies done between Ashtavakra Gita and Buddhim?
Is exact Kanji stroke length important?
How can I use the arrow sign in my bash prompt?
The baby cries all morning
Personal Teleportation as a Weapon
Lay out the Carpet
HashMap containsKey() returns false although hashCode() and equals() are true
Why did Kant, Hegel, and Adorno leave some words and phrases in the Greek alphabet?
Do I need a multiple entry visa for a trip UK -> Sweden -> UK?
What would be the benefits of having both a state and local currencies?
Mapping a list into a phase plot
Can somebody explain Brexit in a few child-proof sentences?
How do I rename a LINUX host without needing to reboot for the rename to take effect?
What defines a dissertation?
Cynical novel that describes an America ruled by the media, arms manufacturers, and ethnic figureheads
Print name if parameter passed to function
What is the intuitive meaning of having a linear relationship between the logs of two variables?
Close Session/Close Terminal using command in AIX [on hold]
How to disable live shell session command history under AIX 5-6?Open program as root, close root session but still program is runningAIX 'rm' command has no '-v' parameter for verbose outputDetermine the owner of the session of a processHow to close XServer session via commandequivalent of the GNU stat command for ksh on AIXSee disk consume info using 'df' command on AIXUsing session command from a cron job (linux)Using script command for installation script on AIXManually restore saved session files on KDE using qdbus command
I want to close my session or close the terminal using a script. I am using AIX.
aix session exit
put on hold as unclear what you're asking by Jeff Schaller♦, Haxiel, GAD3R, Anthony Geoghegan, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I want to close my session or close the terminal using a script. I am using AIX.
aix session exit
put on hold as unclear what you're asking by Jeff Schaller♦, Haxiel, GAD3R, Anthony Geoghegan, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Theexitshell builtin can do just this. Are you seeing any issues with it?
– Haxiel
yesterday
1
What kind of session do you have? Are you trying to close the session from within the same session or a different one?
– Jeff Schaller♦
yesterday
add a comment |
I want to close my session or close the terminal using a script. I am using AIX.
aix session exit
I want to close my session or close the terminal using a script. I am using AIX.
aix session exit
aix session exit
edited yesterday
Rui F Ribeiro
41.7k1483142
41.7k1483142
asked yesterday
Hamas RizwanHamas Rizwan
444
444
put on hold as unclear what you're asking by Jeff Schaller♦, Haxiel, GAD3R, Anthony Geoghegan, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Jeff Schaller♦, Haxiel, GAD3R, Anthony Geoghegan, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Theexitshell builtin can do just this. Are you seeing any issues with it?
– Haxiel
yesterday
1
What kind of session do you have? Are you trying to close the session from within the same session or a different one?
– Jeff Schaller♦
yesterday
add a comment |
1
Theexitshell builtin can do just this. Are you seeing any issues with it?
– Haxiel
yesterday
1
What kind of session do you have? Are you trying to close the session from within the same session or a different one?
– Jeff Schaller♦
yesterday
1
1
The
exit shell builtin can do just this. Are you seeing any issues with it?– Haxiel
yesterday
The
exit shell builtin can do just this. Are you seeing any issues with it?– Haxiel
yesterday
1
1
What kind of session do you have? Are you trying to close the session from within the same session or a different one?
– Jeff Schaller♦
yesterday
What kind of session do you have? Are you trying to close the session from within the same session or a different one?
– Jeff Schaller♦
yesterday
add a comment |
1 Answer
1
active
oldest
votes
i'm not sure but hope to help you:
who -Hu
should list who is on the System, PID , etc.
ps -ef|head -1;ps -ef|grep PROCESS_YOU_WANT_TO_KILL
look for the Parent-PID
ps -ef|grep Parent-PID
If the Parent-PID is 1, DO NOT KILL, cause the Process belongs now to the init-Process.
If not
kill -9 Parent-PID
should kill PROCESS_YOU_WANT_TO_KILL.
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I mean, you could shorten this tokill -9 $$if you're trying to kill your current shell, but it's not yet clear from the question what the OP wants, exactly.
– Jeff Schaller♦
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
i'm not sure but hope to help you:
who -Hu
should list who is on the System, PID , etc.
ps -ef|head -1;ps -ef|grep PROCESS_YOU_WANT_TO_KILL
look for the Parent-PID
ps -ef|grep Parent-PID
If the Parent-PID is 1, DO NOT KILL, cause the Process belongs now to the init-Process.
If not
kill -9 Parent-PID
should kill PROCESS_YOU_WANT_TO_KILL.
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I mean, you could shorten this tokill -9 $$if you're trying to kill your current shell, but it's not yet clear from the question what the OP wants, exactly.
– Jeff Schaller♦
yesterday
add a comment |
i'm not sure but hope to help you:
who -Hu
should list who is on the System, PID , etc.
ps -ef|head -1;ps -ef|grep PROCESS_YOU_WANT_TO_KILL
look for the Parent-PID
ps -ef|grep Parent-PID
If the Parent-PID is 1, DO NOT KILL, cause the Process belongs now to the init-Process.
If not
kill -9 Parent-PID
should kill PROCESS_YOU_WANT_TO_KILL.
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I mean, you could shorten this tokill -9 $$if you're trying to kill your current shell, but it's not yet clear from the question what the OP wants, exactly.
– Jeff Schaller♦
yesterday
add a comment |
i'm not sure but hope to help you:
who -Hu
should list who is on the System, PID , etc.
ps -ef|head -1;ps -ef|grep PROCESS_YOU_WANT_TO_KILL
look for the Parent-PID
ps -ef|grep Parent-PID
If the Parent-PID is 1, DO NOT KILL, cause the Process belongs now to the init-Process.
If not
kill -9 Parent-PID
should kill PROCESS_YOU_WANT_TO_KILL.
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
i'm not sure but hope to help you:
who -Hu
should list who is on the System, PID , etc.
ps -ef|head -1;ps -ef|grep PROCESS_YOU_WANT_TO_KILL
look for the Parent-PID
ps -ef|grep Parent-PID
If the Parent-PID is 1, DO NOT KILL, cause the Process belongs now to the init-Process.
If not
kill -9 Parent-PID
should kill PROCESS_YOU_WANT_TO_KILL.
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered yesterday
farhad azimifarhad azimi
392
392
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
farhad azimi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I mean, you could shorten this tokill -9 $$if you're trying to kill your current shell, but it's not yet clear from the question what the OP wants, exactly.
– Jeff Schaller♦
yesterday
add a comment |
I mean, you could shorten this tokill -9 $$if you're trying to kill your current shell, but it's not yet clear from the question what the OP wants, exactly.
– Jeff Schaller♦
yesterday
I mean, you could shorten this to
kill -9 $$ if you're trying to kill your current shell, but it's not yet clear from the question what the OP wants, exactly.– Jeff Schaller♦
yesterday
I mean, you could shorten this to
kill -9 $$ if you're trying to kill your current shell, but it's not yet clear from the question what the OP wants, exactly.– Jeff Schaller♦
yesterday
add a comment |
-aix, exit, session
1
The
exitshell builtin can do just this. Are you seeing any issues with it?– Haxiel
yesterday
1
What kind of session do you have? Are you trying to close the session from within the same session or a different one?
– Jeff Schaller♦
yesterday