Hi,
I have what I hope is a fairly simple question to answer. In my ~/.bashrc file I can create this alias:
and the variables work fine. But I cannot seem to get any love from this alias:Code:alias uChmodDP='chmod -R $1 $2' #specify permissions
I realize the likely problem is the variable following hot on the heels of a specific directory, but is there anyway to specify a variable in an alias like this?Code:alias umnt='umount /dev/$1'
For some reason I cannot umount usb pen drives by right clicking, and have to always resort to the terminal to do so, which for me is no real biggie, but if I could create this alias it would be an even better no biggie to umount using the terminal.
Actually, the inability to right click to umount usb devices seems to be a Thunar issue since I run xubuntu. Using Nautilus I am able to right click and eject/safely remove devices. Using Thunar however, right click unmount always pukes back an error that the device must have been mounted on the command line or some such BS. But like I said it is no real biggie to use terminal, but an alias would be even nicer.
I prefer using Thunar and Xubu most of the time b/c my laptop is quite underpowered.
cheers,
tt
Bookmarks