PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

aliasing a custom menu python file

Go down

aliasing a custom menu python file Empty aliasing a custom menu python file

Post by jamied_uk 20th July 2015, 19:21

1. Download new_menu.py file

https://app.box.com/s/qbx0gqavuul7u6lzd91y66l1wdi0d5uq

2. Extract file new_menu.py zip file to a location of your choice, for example:

/~/myscripts/



Now Create an alias for this with keyword menu

Code:
alias menu='sudo python new_menu.py'
Attachments
aliasing a custom menu python file Attachment
new_menu.zip You don't have permission to download attachments.(9 Kb) Downloaded 0 times
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum