I read that posting , i don't know what to add in .profile as I am new to scripting... Can you please tell me what to add in .profile in order to avoid that message.
Thanks
nandinisagar
That particular post is pretty clear on what you need to do but here is a starting point.
You will want to look for instances where you are executing commands like this in your .profile or .kshrc:
and add a test like this:
If you're new to scripting and you still struggle with this example then you're going to need to post your .profile and .kshrc as mahendramahendr requested for further help.
/dev/rmt/0: No such device or address
I get this when I do a "mt -f /dev/rmt/0 rewind"
This is on a Solaris 7 system.
I tried
devfsadm -c tape
and
drvconfig ; tape
and both didn't work.
Help please....... :confused: (4 Replies)
I'm trying to install FreeBSD 7.0 from CDs I made a few months ago on a brand new system with parts I just got in from NewEgg. I select the default option from the Boot Loader and it goes into the device probe. Several devices are recognized, but then it freezes at:
mskc0: <Marvell Yukon... (2 Replies)
Hello,
i am using Solaris 10, The sar running in my system might be corrupted, but not sure why as there has been no updates to it ( to the best of my knowledge) and it was working fine until few days back. If i try to get sar reports using sar -o <filename> 60 180
there is no error but the... (2 Replies)
Hi All,
Could anyone please help to resolve the below problem.
I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error.
I spent 2 days for the above and go through with several suggestion found by googling. But no luck.
... (0 Replies)
I need to add a printer with Ethernet to my local network. The default IP address in the printer is 0.0.0.0 and I need to change it to a 192.168.0.x address. I have previously temporarily changed the IP address of a computer (with ifconfig) to an address similar to the new device and changed the... (8 Replies)
hi,
i am trying to execute a script through Cron, then everytime it is redirecting a message
stty: : No such device or address
Unmatched `
here is the cron entry:
35,40,45,50,55 04,05 07 08 * /uv1402/u207/home/bravodba/bestdbscript/shscriptfiles/bravo_main_refresh.sh
while the script... (20 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)
Discussion started by: anuragr
4 Replies
LEARN ABOUT NETBSD
stty
STTY(3) BSD Library Functions Manual STTY(3)NAME
stty, gtty -- set and get terminal state (defunct)
LIBRARY
Compatibility Library (libcompat, -lcompat)
SYNOPSIS
#include <sgtty.h>
stty(int fd, struct sgttyb *buf);
gtty(int fd, struct sgttyb *buf);
DESCRIPTION
These interfaces are obsoleted by ioctl(2). They are available from the compatibility library, libcompat.
The stty() function sets the state of the terminal associated with fd. The gtty() function retrieves the state of the terminal associated
with fd. To set the state of a terminal the call must have write permission.
The stty() call is actually 'ioctl(fd, TIOCSETP, buf)', while the gtty() call is 'ioctl(fd, TIOCGETP, buf)'. See ioctl(2) and tty(4) for an
explanation.
DIAGNOSTICS
If the call is successful 0 is returned, otherwise -1 is returned and the global variable errno contains the reason for the failure.
SEE ALSO ioctl(2), tty(4)HISTORY
The stty() and gtty() functions appeared in 4.2BSD.
BSD June 4, 1993 BSD