bash: line 1: /dev/stderr: No such device or address
Does anyone know why and how to fix it?
It means what it says: no such file.
It's a real file, and a symlink at that, ultimately pointing to /proc/self/fd/2. If /proc/self/fd/2 doesn't exist i.e. isn't open, naturally it can't print to it. This happens because you're feeding it a script on stdin, so it figures it doesn't have to bother giving you a full set of stdin/stdout/stderr etc. Try ssh -t, it may give you a normal stderr.
Last edited by Corona688; 06-10-2010 at 06:39 PM..
I've searched through unix.com and google for this issue I am having on one particular Sun E280R with installing netbackup software from CD. I know the cd is good because i installed the software on 4 other servers right before this one.
This is the issue I am seeing. vold does not mount the CD... (2 Replies)
Working in a bash environment, in the following example, how do I direct the error message that putting in an invalid flag (-j for example) would normally produce to dev/null?
while getopts "abcd" opt
do
case "$opt" in
i) a etc ;;
r) b etc ;;
f) c etc ;;
v) d... (7 Replies)
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (1 Reply)
hello to everybody
I have Ubuntu Lucid 10.04 installed on my Desktop and I have a PCI serial card in my computer and it has only one serial port.
Actually I want to use this serial port for the serial communication and for that I executed this command :
$ setserial -g /dev/ttyS
and I... (0 Replies)
Hello all :-)
i'm not sure if its a beginner or advanced question but i have the following problem - now for some months
after building a kernel from source (2.6.36 and now 2.6.38) the /dev/sd* entries are not removed if a remove the corresponding usb disk, sd card, what ever. i'm pretty sure... (0 Replies)
Hello,
One one of my AIX boxes I'm having the following errror:
fcstat fcs0:
Port Speed (supported): 4 GBIT
Error opening device: /dev/fscsi0
errno: 0000003d
Has anyone encountered similar errors?
Thank you! (1 Reply)
Sorry for my ignorance... but...
I've a script with some output redirect to /dev/null,
example:
fsck.ext3 -a /dev/sdb1 1>/dev/null 2>/dev/null
How can I simplify this redirect ? (1 & 2)
thanks (3 Replies)
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Hi all,
I am trying to see /dev/hwrng but can not find it. There are /dev/random and /dev/urandom but not the hwrng. Works the same config at other os.
Any idea what might be happening ?
Thanks (2 Replies)
Discussion started by: t35t
2 Replies
LEARN ABOUT SUSE
showconsole
SHOWCONSOLE(8) The SuSE boot concept SHOWCONSOLE(8)NAME
Showconsole - determines the underlying tty of stdin
Setconsole - sets the underlying tty of /dev/console
SYNOPSIS
showconsole [-n]
setconsole /dev/tty<xy> < /dev/console
DESCRIPTION
showconsole determines the underlying character device of the current stdin. This can be used on /dev/console as current character device
to get the real character device back.
setconsole sets the underlying tty of the system console /dev/console. This requires that the standard input is identical with /dev/con-
sole and exactly one argument, a valid character device is given.
OPTIONS -n Return the major and minor device numbers instead of the device file name. This can be used to asked the kernel for the major and
minor device numbers of a not existing device file in /dev.
BUGS
showconsole needs a mounted /proc file system and tries to set the controlling tty to stdin if no controlling tty is found. After reading
/proc the status of the controlling tty is restored to avoid problems with getty processes.
FILES
/proc/<pid of showconsole>/stat
the stat file of the showconsole process.
/dev/console
the system console.
SEE ALSO blogd(8), console(4), tty(4), proc(5).
COPYRIGHT
2000 Werner Fink, 2000 SuSE GmbH Nuernberg, Germany.
AUTHOR
Werner Fink <werner@suse.de>
3rd Berkeley Distribution Nov 10, 2000 SHOWCONSOLE(8)