dear community,
I've added a couple of commands to my .bash_aliases file, however, I'd love to be able to running them via Alt+F2. Is this possible?
THX.
DOX

cd /bin
sudo nano mynewcommandsudo chmod -c o+x matlab

vanDoom wrote:You can make your own commands by adding text files into the /bin directory and then making them executable. Here is an example:
- Code: Select all
cd /bin
sudo nano mynewcommand
Type your command instructions, such as changing to directory and launching a program
cd /usr/local/matlab/R2012/bin
./matlab
Save and exit.
Now make it executable
- Code: Select all
sudo chmod -c o+x matlab
Here is more infor on BASH scripting if your interested, and the man page on chmod is pretty good. http://tldp.org/LDP/abs/html/

Users browsing this forum: No registered users and 4 guests