03-16-2006
Thank You RTM, the problem was in my .cshrc file.
I found this info in some wedsite
"While i doubt the stty errors are the problem stty should
never be called from a .cshrc file. stty belongs in .login
where it will only be called for login shells."
Tony
10 More Discussions You Might Find Interesting
1. Solaris
I want to figure out what is the reason of error message I have in Solaris 10. Why Solaris 10 dosn't recognize 65535?
ps: 65535 is an invalid non-numeric argument for -p option
usage: ps
'format' is one or more of:
Thank you (5 Replies)
Discussion started by: gogogo
5 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Please guide me how to get rid :
msgrcv : Invalid argument.
I am using message queues: msgsnd and msgrcv,
I am able to send through msgsnd and receive through msgrcv, but at times i get the belo error.
msgrcv : Invalid argument. (1 Reply)
Discussion started by: answers
1 Replies
3. Solaris
I tried to install glassfish on Solaris 10 and it worked fine on other instances. I got the below message
bash-3.00# ./sjsas-9_1_01-solaris-sparc.bin -console
bash: ./sjsas-9_1_01-solaris-sparc.bin: Invalid argument
I logged on as root and the file has execute permission. So strange. Do... (1 Reply)
Discussion started by: Andrew2008
1 Replies
4. IP Networking
Hi
I lost a lot of time in understanding the message "sendto Invalid argument" when I execute the following code.
This code is a simple UDP sender improved with some reliability feature.
My goal is to send a file. I've reported only the code which may be useful.
Can anyone help me?
Thank you... (0 Replies)
Discussion started by: Puntino
0 Replies
5. UNIX for Dummies Questions & Answers
OK...I'm using the latest version of Fedora 10.
My network connection was working fine, and I had several network LAN shares on my desktop. Then I rebooted the system without dismounting those shares first. ooops. <:(
...When the system came back up, my network connection was gone. All... (2 Replies)
Discussion started by: Pudnik
2 Replies
6. UNIX for Advanced & Expert Users
When I am using the function semctl() it is giving me error as the INVALID ARGUMENT. Can any body give me the possible reasons??? (2 Replies)
Discussion started by: asimibm
2 Replies
7. Shell Programming and Scripting
I have a Perl script, that does a system call with rsh to a remote machine.
#!/usr/bin/env perl
system ("rsh remote-machine echo 99");
And I get the following:
stty: standard input: Invalid argument
99
I've tried replacing the system call with below, but I still get the same stty... (1 Reply)
Discussion started by: slchin
1 Replies
8. Programming
Hello everybody,
I've been programming an alternative to linux's standard 'arp' program. I can delete arp entries (SIOCDARP), get arp entries (SIOCGARP), but i'm having troubles setting entries with ioctl.
I can't set any PERM, USETRAILERS, or COM address. It only adds PUB entries and i don't... (2 Replies)
Discussion started by: semash!
2 Replies
9. UNIX for Advanced & Expert Users
Hi Guru's,
I am unable to mount NFS share on unix system (DG/UX) which is nfs client.
Error:
mount: /nfsshare: Invalid argument
mount: giving up on:
/mountpoint
i tried following command
mount -t nfs remotehost:/nfsshare /mountpoint
Error: (5 Replies)
Discussion started by: Justin John
5 Replies
10. UNIX for Beginners Questions & Answers
hi
i have an android phone which i think is bricked, so wanted to see what the actual issue is, I flashed it with TWRP recovery image and launched terminal i, was able understand that mount is not happening, it says invalid argument and no such file or directory. Below is what i get while... (32 Replies)
Discussion started by: nanz143
32 Replies
which(1) User Commands which(1)
NAME
which - locate a command; display its pathname or alias
SYNOPSIS
which [filename...]
DESCRIPTION
which takes a list of names and looks for the files which would be executed had these names been given as commands. Each argument is
expanded if it is aliased, and searched for along the user's path. Both aliases and path are taken from the user's .cshrc file.
FILES
~/.cshrc source of aliases and path values
/usr/bin/which
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), attributes(5)
DIAGNOSTICS
A diagnostic is given for names which are aliased to more than a single word, or if an executable file with the argument name was not found
in the path.
NOTES
which is not a shell built-in command; it is the UNIX command, /usr/bin/which
BUGS
Only aliases and paths from ~/.cshrc are used; importing from the current environment is not attempted. Must be executed by csh(1), since
only csh knows about aliases.
To compensate for ~/.cshrc files in which aliases depend upon the prompt variable being set, which sets this variable to NULL. If the
~/.cshrc produces output or prompts for input when prompt is set, which may produce some strange results.
SunOS 5.10 26 Sep 1992 which(1)