10-04-2001
thank you very much,by the way, i have got something else related to this. I was trying to make shortcuts like "cd somedirectory"
i generally use aliases for that. instead i thought of writing mini scripts which didn't work.
so, is there any other way than setting aliases to perform such thing?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
When i list the subfolders in my Hp-Ux machine ,iam getting like this
$ls -ltr
total 14
-rw-r--r-- 1 sss users 6747 Aug 15 02:09
it is showing total as 14,but it is showing one file only!.plz tell me why is this?
Thanks (3 Replies)
Discussion started by: shruti_mgp
3 Replies
2. Solaris
I have an application that I run remotely, before I start the app, i have to export the display using the DISPLAY=x.x.x.x; export DISPLAY command
now, i have just put a crt monitor on this box, and i try to run the same command, for the display variable, i have used the machines own IP address,... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have question?
whne i do echo "I am fine" - - The result displays on the left hand side of the screen, i want to make the result to display at the center of the screen
ex:
I am fine - - i want to display this as
I am fine - - in the center of... (2 Replies)
Discussion started by: gkrishnag
2 Replies
4. Linux
Hi all,
I wish to get vmware GUI on my windows ws without get there phisically.
I always used in Unix systems setenv DISPLAY = 10.192.10.43:0.0 and run the application.
The server running vmware is behind a firewalled farm zone where every telnet, ssh connection has the same IP addr. so how to... (1 Reply)
Discussion started by: Carmen123
1 Replies
5. Shell Programming and Scripting
I have infomation like this
06/10/07 06:45:33
AMQ9002: Channel 'CLUS.TO.IMVP1WASQM' is starting.
06/10/07 09:06:13
AMQ9002: Channel 'CLUS.TO.IMVP1EAIQM' is starting.
EXPLANATION:
Channel 'CLUS.TO.IMVP1EAIQM' is starting.
ACTION:
None.... (2 Replies)
Discussion started by: unitipon
2 Replies
6. Shell Programming and Scripting
Hi...
I have this sql script and i have spool this output to the name backup_status.log
START_TIM END_TIME STATUS
--------- --------- -----------------------
14-JUL-08 14-JUL-08 COMPLETED WITH ERRORS
How to use IF statement in order to cut and email the status if the status for that day... (1 Reply)
Discussion started by: adzuanamir
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
from my Windows Workstation I can connect with PUTTY to an AIX 6.1 unix server.
On AIX via PUTTY I run DBCA which has a grphical interface.
Then :
#DISPLAY=local_host:0.0 ; export DISPLAY
$(hostname) $(whoami):/appli/oracle/product/10.2.0/db_1/bin#dbca
_X11TransSocketINETConnect()... (12 Replies)
Discussion started by: big123456
12 Replies
8. Shell Programming and Scripting
Hello,
this will sound geek but I've got a shell script that takes an age to run.
I am wondering if someone as a function that will display like dash or something every second ? I could try to get it inside of this script when needed.
I am using ksh.
Thanks (4 Replies)
Discussion started by: Aswex
4 Replies
9. AIX
Hi
I have humming bird exceed software installed in my system.
I have 2 aix lpars with 7.1 version. When I export the display and run xlcock it works only in one server.
The output of the below command is the same in both the lpars
# cat /etc/ssh/sshd_config | grep -i X11... (3 Replies)
Discussion started by: newtoaixos
3 Replies
LEARN ABOUT SUNOS
newaliases
newaliases(1M) System Administration Commands newaliases(1M)
NAME
newaliases - rebuild the data base for the mail aliases file
SYNOPSIS
newaliases
DESCRIPTION
newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases.
newaliases accepts all the flags that sendmail(1M) accepts. However, most of these flags have no effect, except for the -C option and three
of the Processing Options that can be set from a configuration file with the -o option:
-C /path/to/alt/config/file Use alternate configuration file.
-oAfile Specify possible alias files.
-oLn Set the default log level to n. Defaults to 9.
-on Validate the RHS of aliases when rebuilding the aliases(4) database.
newaliases runs in verbose mode (-v option) automatically.
EXAMPLES
Example 1: Running the newaliases Command
The following command runs newaliases on an alias file different from the /etc/mail/aliases default in sendmail(1M):
example% newaliases -oA/path/to/alternate/alias/file
EXIT STATUS
newaliases returns an exit status describing what it did. The codes are defined in /usr/include/sysexits.h.
EX_OK Successful completion on all addresses.
EX_NOUSER User name not recognized.
EX_UNAVAILABLE Catchall. Necessary resources were not available.
EX_SYNTAX Syntax error in address.
EX_SOFTWARE Internal software error, including bad arguments.
EX_OSERR Temporary operating system error, such as "cannot fork".
EX_NOHOST Host name not recognized.
EX_TEMPFAIL Message could not be sent immediately, but was queued.
FILES
/etc/aliases Symbolic link to /etc/mail/aliases
/etc/mail/aliases.pag
/etc/mail/aliases.dir ndbm files maintained by newaliases
/etc/mail/aliases.db Berkeley DataBase file maintained by newaliases
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
SEE ALSO
sendmail(1M), aliases(4), attributes(5)
SunOS 5.10 14 Sep 2001 newaliases(1M)