Skip to content

nutilius/pyshmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyshmenu

Sample menu for shell scripts in python

Examples:

Get all java processes and go to logs subdirectory in current working directory of the process

result=$(ps -ef | grep java | awk '{ print $1, $2, $NF }' | pyshmenu.py --type value ) && result=$(echo $result | awk '{ print $2 }') && cd /proc/$result/cwd/logs

About

Sample menu for shell scripts in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published