I watched this done a long time ago, but cannot find it anywhere. I need to alias the boot device "disk" to /sbus@7,0/QLGC,isp@0,10000/sd@c,0
I think I need to set "use-nvramrc?" to true, and then create an alias within the nvramrc to point disk to the boot disk, but this is the step I cannot... (3 Replies)
:mad: I have just recently got into using Linux RedHat 9. So far I love it, I have set it up on a server I am running. Right now I have set up Samba and am running a file server for my house. I have four computers, the linux box is connected to the internet through a switch I have. There are two... (5 Replies)
Hi All,
I am setting bash as my working shell in my .profile file.
So I have written a line :
bash
as the list line in my .profile
I want to use alias as follows:
alias me='who am i'
When i log in, as expeced I enter the bash shell but alias doesn't work.
Is it because the alias is defined... (1 Reply)
Hi,
I am writing a shell script which would ask user to select a locale and should set the locale for them.
In the script I am doing
export LANG=<user selected locale>
and i do 'locale' it would show me the changed locale.
But, when I come out of the program and do 'locale' it... (3 Replies)
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)
Hi
i have a user "SYSTEM"
i want to set the below command in his .profile for an alias:
who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {}
i tried as below:
alias stop = " who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {}"
... (3 Replies)
I tried to set up some alias in my .profile to save typing. One of the alais i tried to set up is
alais test='echo 123$acct54679abc'
But when I typed in test in the command line. The echo only dispaly 123 and truncated all the string starting from the $ sign. Is there any way to display the... (6 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have installed Redhat Linux 5 in VMWARE and would need to access through putty form the same desktop or... (2 Replies)
Hello,
I'd like to have an alias to view some processes sorted:
I have:ps -ef | grep pmon | awk -F" " '{ print $8" "$0 }' | sort | cut -d" " -f2- | grep -v "grep pmon" It doesn't work, however, if I put it as alias because on acutes insize awk:alias pmon='ps -ef | grep pmon | awk -F" " '{ print... (4 Replies)
Discussion started by: JackK
4 Replies
LEARN ABOUT OSF1
ali
ali(1) General Commands Manual ali(1)NAME
ali - list mail aliases (only available within the message handling system, mh)
SYNOPSIS
ali [-alias aliasfile] [-help] [-[no]list] [-[no]normalize] [-user useraddr] [-nouser] [aliases...]
OPTIONS
Specifies the alias file to be consulted by ali. You can specify more than one alias file, but each aliasfile must be preceded by -alias.
In addition to any alias files that you specify, ali consults the system alias file /usr/lib/mh/MailAliases.
You can set up an entry in your so that ali automatically consults an alias file. To do this, add the Aliasfile entry to your pro-
file. See mh_profile(4) for more information. Prints a list of the valid options to this command. Prints the addresses on separate
lines. If you do not specify the -list option, the addresses are separated by commas and printed on as few lines as possible.
Instructs ali to try to track down the official hostname of the address. This can be suppressed by using -nonormalize. The default
is -nonormalize. Displays all the aliases that contain a specific name. Instead of listing the addresses that each given alias
expands to, ali lists the aliases that expand to include each given address. You must specify the complete user name that you have
used in your alias file.
The defaults for this command are:
-alias /usr/lib/mh/MailAliases -nolist -nonormalize -nouser
DESCRIPTION
The ali command searches the specified mail alias files for each of the given aliases. It creates a list of addresses for those aliases,
and displays that list on the screen.
PROFILE COMPONENTS
Location of your mail directory. Location of your personal alias file.
EXAMPLES
The following example shows how the -user option can be used to list all the aliases containing the address Parker@Venus: % ali -user
Parker@Venus Parker@Venus: Group, Reviewers, Badminton
FILES
The user profile. The system alias file. The system password file. The system group file.
SEE ALSO mh-alias(4)ali(1)