07-16-2007
Have you trapped <ctrl>D in the .profile, or changed its meaning?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
i'm wondering is it possible to include the 'notify me' tag which s used with outlook or some web-based email clients that notify you as soon as that user read the email with mail/xmail/sendmail etc.
i'm having scripts that sends a daily email to my sysadmins and i wish to know when... (1 Reply)
Discussion started by: Bashar
1 Replies
2. Shell Programming and Scripting
cat .servers | while read LINE; do
ssh jason@$LINE $1
done
exit 1
./command.ksh "ls -l ~jason"
Why does this ONLY iterate on the first server in the list? It's not doing the command on all the servers in the list, what am I missing?
Thanks!
JP (2 Replies)
Discussion started by: jpeery
2 Replies
3. UNIX for Advanced & Expert Users
Hi I have 2 Solaris boxes A and B, A running solaris 9, and B running solaris 6.
when i try to use rcp on A like this:-
A> rcp file.txt B:/path/file.txt
I get into standard input and nothing happens!!
Then On the target machine B, if i try,
B> rcp otherfile.txt B:/path/otherfile.txt... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
4. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
5. Shell Programming and Scripting
Hello, the ls -d command to only list directories in a directory doesn't seem to work on Solaris and the man command says to use that combination: ls -d
Anyone have the same problem and find a resolve?
Thanks
BobK (9 Replies)
Discussion started by: bobk544
9 Replies
6. Solaris
Hi to all!
I want to learn step by step easily how to configure my Solaris for network. I know alot about Solaris Network configuration. But I have some problems.
When I install Solaris, and I plug-in my network cable to Solaris. Then I run:
ifconfig -a plumb
then I do
ifconfig bge0 dhcp... (7 Replies)
Discussion started by: SecureXCode
7 Replies
7. Solaris
grep -e doesn't work in Soalris.
Same script with grep -e worked on AIX/HP/LINUX..
I would like to search a list of patterns on "log.txt" like ...
grep -e FATAL -e ERROR log.txt
I get the error message as
grep: illegal option -- e
Usage: grep -hblcnsviw pattern file . . . (3 Replies)
Discussion started by: jmkraja
3 Replies
8. Solaris
Hi Forum,
I updated my Solaris 10 (10/09) with the current Oracle patch file and moved the smb.conf to /etc/samba/smb.conf.
Anyway, since patching, no Windows client is able to connect the share. It says password is wrong, but its the right pw.
My smb.conf:
bash-3.00# cat... (4 Replies)
Discussion started by: borsti007
4 Replies
9. Solaris
Hi All,
I am using a solaris Sun-Fire-V440 server.
The OS is solaris.
My problem is whenever I run the command
mount | grep "^/ " | sed -e 's,^.*dsk/\(*\).*$,\1,'
it should return a disk value as "d30" as it does on each of my other servers.But on this server I am not getting any o/p from... (3 Replies)
Discussion started by: vivek.goel.piet
3 Replies
10. Solaris
Hello Experts,
I am performing performance tests on a few mysql select queries.
I use the following command to clear the memory disk caches.
sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
I however see that the above command works on RHEL6 but doesn't work on Solaris 10.
I asked... (4 Replies)
Discussion started by: Anirudh Kumar
4 Replies
LEARN ABOUT OSF1
wnnaccess
wnnaccess(1M) System Administration Commands wnnaccess(1M)
NAME
wnnaccess - Access control over Wnn6 Kana-Kanji conversion server/dictionary lookup server
SYNOPSIS
/usr/sbin/wnnaccess [-D jserver_name] [-ds wnnds_name] [-L LANG_name] [ -| +
[hostname | username] ]
DESCRIPTION
wnnaccess adds or deletes hosts and users, obtains the current access control information, enables or disables access control for access
permission retained by the Wnn6 Kana-Kanji conversion server/dictionary lookup server.
OPTIONS
The following options are available.
-D jserver_name Specifies the Wnn6 Kana-Kanji conversion server (jserver) to work on. If this option is omitted, wnnaccess refers to the
serverdefs file and determines the Kana-Kanji conversion server to work on.
The Kana-Kanji conversion server must be specified in the following format.
hostname Kana-Kanji conversion server that uses the well-known port number(22273) on host hostname
hostname:no Kana-Kanji conversion server that uses port number of " the well-known port number plus no" on host host-
name
hostname/port_noKana-Kanji conversion server that uses port_no as port number on host hostname
-ds wnnds_name Specifies the Wnn6 dictionary lookup server (wnnds) to work on.
The dictionary lookup server must be specified in the following format.
hostname Dictionary lookup server that uses the well-known port number(26208) on host hostname
hostname:no Dictionary lookup server that uses port number of "the well-known port number plus no" on host hostname
hostname/port_noDictionary lookup server that uses port_no as port number on host hostname
-L LANG_name Specifies the language. The language is used to refer to the serverdefs file and determine the server to connect. Specify
ja for the Solaris releases (Japanese version).
If no options are specified, wnnaccess writes the current access control information. The first line shows the current status of access
control enabled or disabled. The second and following lines show hosts and users that are given access rights as in any of the following
formats:
host-name All users can access from this host.
host-name: No users can access from this host.
host-name:user-name,user-name,..Only users shown in the list can access from this host.
@user-name This user can access from any host.
Specifying - option only enables access control. Specifying + option only disables access control. If access control is disabled, no
restriction is imposed on connection to the server.
If + option and hostname| username are specified, the host or user will be added to the access control. If - option and hostname| username
are specified, the host or user will be deleted from the access control. The format of hostname| username is the same as in displaying the
current access control information. If neither - nor + option is specified, the behavior will be the same as in specifying + option.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWjwnsu |
+-----------------------------+-----------------------------+
SEE ALSO
jserver(1M), wnnds(1M), wnnhosts(4), wnn_serverdefs(4)
SunOS 5.10 10 Jan 2003 wnnaccess(1M)