How do you create an Alias that excepts command line arguments.
I am trying to move files from one directory to another all within the Alias command.
Please Help! (2 Replies)
Hi All,
I am trying to find some files on a directory( /usr/users/xyz/log) which is an alias to another directory(/spare/log).
My find works fine on /spare/log but it doesnt return anything when i use it on /usr/users/xyz/log.
Any Ideas on how to proceed.
Thanks in advance.
Swamy (2 Replies)
I am trying to create an alias for a frequently used directory path by using
alias xyz="/proj/dir_name"
and then trying to reach a sub-directoy by using
cd xyz/abc
but I get an error saying " No such file or directory "
plz tell me wats wrong with this ... (3 Replies)
Hi,
I have to set up a printer in the system.Generally the alias is given like sdclbl1 etc.So when I ping i get the IP address.
This time they have provided the IP adress.Is there any way to find the alias from this.Ping did not give the alias.
Thanks and Regards,
Gideon. (2 Replies)
Hi,
I have a software package consisting of a group of BASH shell scripts. There is a master script which calls a series of subscripts. To run the software users must open the master script, modify and save it, and then run it. To open the script you can either double-click on it, or you can... (2 Replies)
Hello,
I wanted to see if there's a way to shortcut to a dated logs directory that changes daily...what I'm working with is something like this:
>
>
>
.
.
where the log directory is named yyyymmdd
I've created a shortcut to get me to the /log directory but was... (2 Replies)
Some time ago I was using a linux system and someone had set up and
alias called "back" that got me back to the directory I was last in, which
was very useful. I've now switched to using a mac, and don't have those aliases available. Can anyone tell me how I could make a an alias that
would... (2 Replies)
Hello Friends is it possible to define an alias (say named as COMMAND) to pick a part of line and change my directory to picked. For example
when I type
COMMAND mfong@vhl.gov.nd/homefolder/hhk/ADS/
it would do
cd /homefolder/hhk/ADS/ (1 Reply)
If one:
$ find -name 'some expression' -type f > newfile
and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory.
I am... (3 Replies)
I have a mailserver with postfix
i want to alias all mail for administrator@domain.fqdn
to root@domain.fqdn
I have the aliases configured,and i did newliases
but doesn't work.
How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)