Bash alias does not directly accept parameters. You will have to create a function and alias that.
alias does not accept parameters but a function can be called just like an alias.
For example:
myfunction() {
#do things with parameters like $1 such as
mv "$1" "$1.bak"
cp "$2" "$1"
}myFunction xyz #calls
myfunction
By the way, Bash functions defined in your .bashrc and other files are available as commands within your shell. So for instance you can call the earlier function like this
$ myfunction original.conf my.conf
Developing USB Device Drivers from Userspace using Libusb Linux Tutorials, HOWTO's & Reference Material
Over the years, we've written about loads of different ways to hide and encrypt your private data from others, but if you're really serious about protecting your data, you can actually hide your entire operating system. Here's exactly how to do it.
Font Squirrel scours the internet in search of FREE, highest-quality, designer-friendly, commercial-use fonts and presents them for easy downloading. We dont have the most, but we do have the best.