10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Quick question
Have a AIX system that has been up for years with a 192.9.x.x IP scheme and we want to add a second IP to the system. I setup the second IP 10.1.x.x as an alias via smit. Since these two IP's are on different VLANs will this be an issue?
Reason I ask is that I cannot ping... (3 Replies)
Discussion started by: Chrisp
3 Replies
2. Solaris
Defined a user alias in unix. Not able to use that alias in a ksh scritp. I dont want to change/source in the script to set the value. Need to set the user alias as a gloabal alias to use it in a new ksh shell window. Can you please help on this? (3 Replies)
Discussion started by: rbalaj16
3 Replies
3. Shell Programming and Scripting
Hello Friends,
I am facing problem in creating aliases.
I am working in SunOS 5.10. When I login in system i have been given ksh shell.
What i am doing is that ?
I am changing shell to bash then I am creating 2 alias in command prompt like:
alias deploy_dir=' cd... (4 Replies)
Discussion started by: krsnadasa
4 Replies
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: Alexander4444
3 Replies
5. Solaris
Hi All,
I need some information on 'Alias' setting in SUN SOLARIS.:confused:
Q1. I want to know how can i set my alias here.
Q2. How to view all set 'ALIAS' for me. (say /home/jdash user)
Q3. Can i modify the set 'Alias' for me or for whole environment.
Q4. Is Alias setting can be change... (2 Replies)
Discussion started by: jdash.ps
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have created alias in UNIX environment (ie in .cshrc file). But when i use the alias in the UNIX script, getting an error message as that is not found. But when i use that alias, outside the script it is working fine.
Let me know if you need more details
For example:
alias cderror... (6 Replies)
Discussion started by: Naveen_5960
6 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: msb65
2 Replies
8. UNIX for Dummies Questions & Answers
Hello again,
what does \!* do int his line
alias lookup 'grep -i \!* who.is.who'
Thanks! (1 Reply)
Discussion started by: kris888
1 Replies
9. Filesystems, Disks and Memory
Hello,
I'm trying to create an alias that will show the path name of a current directory when a user cd's into any directory.
I have tried the following:
alias cd ' cd | pwd '
This just lists the current directory, even when I cd to another directory the alias just lists my home... (6 Replies)
Discussion started by: klannon
6 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I'm a beginner to Unix and I want to create an alias that lists the given
directory in long format; the alias should use a pager to display the result.
Thanks in advance. (2 Replies)
Discussion started by: guelpth
2 Replies