03-20-2009
I modified the .profile and .kshrc and then logged out and back in.
~David
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I am working on HP-UX , and in the /etc/hosts file we have setup an alias:
aa.bb.cc.dd devmach2.unix.org devmach2 devma2v
The alias devma2v does not work. Error when pinging devma2v
ping: unknown host devma2v
For devmach2 the ping works fine , returning the correct IP... (4 Replies)
Discussion started by: FunnyCats
4 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
PF below details,
> cat run.sh
#!/usr/bin/ksh
alias ll="ls -l"
> ./run.sh
> ll
ksh: ll: not found.
Pls help on this?
Thanks in Advance,
Naga :cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies
3. UNIX for Dummies Questions & Answers
i create some alias in .cshrc file then i run source .cshrc to refresh it, the alias command work fine but when i relogin again, the alias command is not working... i need to re-run the source .cshrc command so that the alias only workable.
any idea on it? (7 Replies)
Discussion started by: lsy
7 Replies
4. Solaris
OS = Solaris 8
Issue: alias not working for root, but working for regular users
# grep root /etc/passwd
root:x:0:1:Super-User:/:/sbin/sh
# alias dir=ls
# dir
dir: not found
# alias dir="ls -l"
# dir
dir: not found
# alias dir='ls -l'
# dir
dir: not found
# alias... (2 Replies)
Discussion started by: aixlover
2 Replies
5. UNIX for Dummies Questions & Answers
Hi Friends,
I have added some aliases in .bash_profile file under the root folder. Its works fine and very useful, but does not go well with cp command.
alias deploy="cd /usr/local/tomcat/webapp"
alias artifacts="cd /usr/local/artifacts"
but when i try to cp from artifacts folder... (2 Replies)
Discussion started by: prashdeep
2 Replies
6. Red Hat
Iam facing some strange issue with alias. I have an alias file in which i have created lot of aliases as given below.
export BUILD_HOME=/apps/psr/build
export DB_HOME=/apps/psr/database
export LOGS_HOME=/apps/psr/logs
export BUILD_TEST=/apps/psr/build_dev/build_test
export... (0 Replies)
Discussion started by: Vikram_Tanwar12
0 Replies
7. Solaris
Hi,
I'm on Solaris (SunOS wsp2cm01 5.10 Generic_150400-10 sun4v sparc SUNW,Sun-Fire-T200). Trying to set up an alias like below -
alias grep="/usr/xpg4/bin/grep"but when I call grep in my command it ignores my alias & uses /usr/bin/grep instead. The problem with /usr/bin/grep is that it doesn't... (24 Replies)
Discussion started by: nexional
24 Replies
8. Solaris
Hi,
Please assist me why HC alias is not working under this shell?
root@singapore # grep HC /.profile
alias HC='cd /var/tmp/HC/2015/`date +%B`'
root@singapore # . /.profile
Sourcing //.profile-EIS.....
root@singapore # echo $HC
root@singapore # HC
HC: not found
root@singapore # echo... (18 Replies)
Discussion started by: tprabhu1983
18 Replies
9. Shell Programming and Scripting
I have several shell scripts which contain the nawk command.
Here is what i m doing assign the correct value to nawk as nawk is not found on a new systems.
Here is what i did.
more test.sh
] && alias nawk=/usr/bin/gawk
] && alias nawk=/usr/bin/nawk
] && alias nawk=/usr/bin/awk... (7 Replies)
Discussion started by: mohtashims
7 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have the following aliases:
$: alias | grep "^du="
du='du -s * 2>/dev/null | awk '\''{ printf "%4.2f-KB ==> %s \n", $1/1024 , $2 }'\'' | sort -rn'
$: alias | grep "^dutop10="
dutop10='du -s * 2>/dev/null | awk '\''{ printf "%4.2f-KB ==> %s \n", $1/1024 , $2 }'\'' | sort -rn | head... (2 Replies)
Discussion started by: newbie_01
2 Replies
LEARN ABOUT CENTOS
exchange2mbox
EXCHANGE2MBOX(1) OpenChange Users' Manual EXCHANGE2MBOX(1)
NAME
exchange2mbox - Convert Exchange mailbox to mbox file
SYNOPSIS
exchange2mbox [-?|--help] [--usage] [-f|--database PATH] [-p|--profile PROFILE]
[-P|--password PASSWORD] [-m|--mbox FILENAME] [-u|--update]
[-d|--debuglevel LEVEL] [--dump-data]
DESCRIPTION
exchange2mbox provides a way to synchronize an Exchange mailbox with a mbox file. The tool is developed so it only retrieves mails not
already stored in the message ID index database and reflects changes back to the Exchange server if the local message copy are deleted.
OPTIONS
--database
-f Set the path to the profile database to use
--profile
-p Set the profile to use. If no profile is specified, exchange2mbox try to retrieve the default profile in the database. If no default
profile has been set, exchange2mbox returns MAPI_E_NOT_FOUND .
--password
-P Set the password for the profile to use. This can be omitted if the password is stored in the profile.
--mbox
-m Set the mbox file full path
--update
-u Synchronize the local mbox file with the remote Exchange server mailbox.
--dump-data
Dump the hex data. This is only required for debugging or educational purposes.
--debuglevel LEVEL
-d Set the debug level.
EXAMPLES
Create/Update the mbox file and indexes within the profile database:
exchange2mbox
Update the Exchange mailbox and indexes according to the changes made to the mbox file.
exchange2mbox -u
REMARKS
If no mbox file is specified, one will be automatically created in $(HOME)/.openchange/mbox . If you are using the default profile data-
base path and have set a default profile (using mapiprofile --profile=profile_name -S ) you do not need to specify these parameters on the
command line.
AUTHOR
Julien Kerihuel <j.kerihuel at openchange dot org>
Brad Hards <bradh at openchange dot org>
OpenChange 2.0 QUADRANT 2013-01-24 EXCHANGE2MBOX(1)