![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create Alias on Desktop | yodomino6 | UNIX for Dummies Questions & Answers | 0 | 02-19-2008 11:36 AM |
| How to create a alias with an argument | ting123 | UNIX for Dummies Questions & Answers | 1 | 07-11-2007 04:43 PM |
| unable to create flar | rjay.com | SUN Solaris | 0 | 05-09-2007 03:35 AM |
| I want to create a command alias | cstovall | UNIX for Dummies Questions & Answers | 2 | 12-03-2002 07:20 AM |
| Create an alias | mozark | High Level Programming | 1 | 10-08-2002 07:17 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unable to create alias
I am using Solaris 9 machine. I am unable to create any aliases.
I gave the following command: alias ls='ls -ltr' It did nt give any errors. But next time, I use ls, it is working simply as ls but not like ls -ltr. I am not having admin permissions. Is it the reason. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Are you invoking another shell before executing next ls command?
You can put this alias command in your .profile. It should work everytime. |
|
#3
|
|||
|
|||
|
Code:
set filec alias ls ls -ltr to remove unalias ls |
|
#4
|
||||
|
||||
|
Curious to know guys.
Am using HP-UX 11.23. Where would I put global user aliases ?? |
||||
| Google The UNIX and Linux Forums |