hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix.
please explain..
thanks (4 Replies)
Hi,
I was trying to call "script <an ip add>" command from .profile file to log everything whenever anyone logs in to this user. I did the following at the end of .profile. 1) Extracted the IP address who logged in 2) Called script < ip add> . The problem I am facing is all, aliases etc. written... (3 Replies)
Hi-
I am newish to the mac osx unix interface. I want to set up top so that it always displays the username. I can use this command to do this:
top -ocpu -P ' PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE USER' -p '$aaaa ^bbbbbbbbb $cccc $wwwwwww $ee... (1 Reply)
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Hi!
All the basic linux commands, ie. echo, find, etc, are located in /bin. I have a couple of programs that have these commands pointed towards /usr/bin, ie, /usr/bin/echo (even though the actual 'echo' command is in /bin). How can I alias or redirect or link the /usr/bin to /bin just for this... (6 Replies)
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)
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:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Hi,
Below is what i have in my profile:
alias wldm='cd /opt/app/wls'
If i use bash or ksh shell this alias does not work.
What should be done for this alias to work with all these simultaneously -> No Shell, bash shell, and ksh shell (14 Replies)
Discussion started by: mohtashims
14 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)