bash scripting...A command that can stop others
Hi...i would like to ask something very simple i hope for most off you but i couldn't find anything in other questions so specific...
So...i need a command to stop another command...lol more specific i have to run airodump-ng and i want this command to stop after some seconds (or minutes) automatically.... May someone write me the syntax... Thanks a lot!!! |
Hi,
you might want to have a look at the manpages of pidof and kill: Code:
man pidof |
command to kill airodump-ng is
Code:
killall airodump-ng e.g. Code:
# at now + 5 minutes |
Hi,
Welcome to LQ! Apparently you are aware of 'BASH' (from title) and too lazy to learn the inner working or for that matter even looking up or searching for a solution. Your lucky this time as others have provided a means to a solution. You could perform a LQ Search, Google or even reading from these useful links; Linux Documentation Project Rute Tutorial & Exposition Linux Command Guide Bash Reference Manual Advanced Bash-Scripting Guide Linux Newbie Admin Guide LinuxSelfHelp Getting Started with Linux These links and others can be found at 'Slackware-Links' . More than just SlackwareŽ links! |
Quote:
Jerk. To the OP: Please don't take this as the prevailing attitude of all members. While it is generally encouraged that users do some research first - as I pointed out this only really works if you know what to look for. As long as some degree of effort is displayed, everyone will be perfectly polite. Please don't let the above poster put you off. |
Hi,
Quote:
Who made you my judge? I didn't violate a LQ Rule. What about your abide? Quote:
I see several violation(s) made by you in the above rules. So think before you decide to spank someone. :hattip: |
Thanks a lot for your help
I just want to refer that i take a look at google as everyone does....that was because i agree with you,that opening a new post is our last solution but honestly i couldn't refer in anyone else...
Again thanks a lot guys for you help. |
All times are GMT -5. The time now is 09:29 PM. |