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













-2















I want to close my session or close the terminal using a script. I am using AIX.










share|improve this 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





    The exit shell 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















-2















I want to close my session or close the terminal using a script. I am using AIX.










share|improve this 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





    The exit shell 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













-2












-2








-2








I want to close my session or close the terminal using a script. I am using AIX.










share|improve this question
















I want to close my session or close the terminal using a script. I am using AIX.







aix session exit






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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





    The exit shell 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





    The exit shell 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










1 Answer
1






active

oldest

votes


















0














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.





share|improve this answer








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 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

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














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.





share|improve this answer








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 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















0














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.





share|improve this answer








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 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













0












0








0







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.





share|improve this answer








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.






share|improve this answer








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.









share|improve this answer



share|improve this answer






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 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
















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



-aix, exit, session

Popular posts from this blog

Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

Can I redirect output to a log file and background a process at the same time?2019 Community Moderator ElectionUnable to write to file in shell script when running command in backgroundredirect and log script outputhow to properly log the output of a console program that frequently updates “parts” of the screen, resulting in a messy log file?How can I redirect the output of a child process?grep script - output lines at the same time into echoHow to run process in background and get its pid to create log file nameHow to redirect output to a log from expect commandHow to clear a redirect log file content in shell?Log background jobs started in all the manually started shells?Why do `jobs` and `dirs` run in command subsitution, process substitution, pipeline, and background jobs output the same as in original shell?How to redirect output to file to STDOUT?

Can I sign legal documents with a smiley face?Do Legal Documents Require Signing In Standard Pen Colors?Is it possible to legally prohibit someone from linking to specific pages on your website?Do scans of signed documents have the same legal power as the original document?What can I do if I signed an excessively restrictive contract?Can other party sneak in new contract terms via termination notice?How to prove that someone forged my signature on a contract that I was not aware of?In Australia, Is it legal to sign a document as somebody else?making a contract that includes video licenceLease dispute, over email and text messageIf you must include all of the natural language prose in a legal document, or if it can be abstracted outE-signing: legal ramifications of “identifying” a person