Menu

Tree [68ae51] master /
 History

HTTPS access


File Date Author Commit
 README.md 2018-04-18 Piotr Piotr [4d01e8] Update README.md
 debug.py 2018-05-24 nutilius nutilius [781c5d] Added small debug engine
 pyshmenu.py 2019-11-17 nutilius nutilius [68ae51] Changes methood names, set dflt option to "value"
 pyshmenu.sh 2018-06-14 nutilius nutilius [a860ce] Correction for not serviced curs_set (in web ssh )

Read Me

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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.