Viewing 1 to 2 of 2 items
Tag Archives: Regular Expression

Shell Script to Kill Process(number of process) Unix/Solaris

This is how we execute the script (and this is the requirement) ———————————— bash-2.05$ processkill Usage: ./processkill [-p|-f] [-u username] [num] regex Kill processes matching a regular expression -p: print processes matching regular-expression, don’t kill -f: force (don’t ask) num: send specified number to process. 15 if none given bash-2.05$ bash-2.05$ bash-2.05$ bash-2.05$ processkill -u  Full Article…

0