How can I make a symbolic link to run a program with command line argument?
10,866
For this use case, I would recommend writing a shell script instead, e.g.
#!/bin/sh
sample -i eth0
Then save the script in /usr/local/bin
as e.g. mySample, make it runnable with chmod +x mySample
. And there you go :)
Related videos on Youtube
Comments
-
SuB over 1 year
How can I make a symbolic link to run a program with command line argument? For example, I want to run
sample
with-i eth0
argument every time when I click on a symbol link.