05-01-2007
Are you getting this when logged into console (and the console connection is through a terminal server/router/other device)?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I made the fatal mistake of rename the usr directory.
I cannot run any commands due to the fact that ld.so.1 is in usr/lib/--and it doesn't exist
How can I recover my system? (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
2. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
3. Solaris
I have found this error when i logged in as root: su -
Any body have any idea where this error coming from or what is not working?
-Adeel (1 Reply)
Discussion started by: deal732
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
when i ran a shell script ,its showing "^M: not found" errore
i used the the code
dos2unix sunshine.sh sunshine1.sh
and then again i ran the scriptand then its still showing the errore
please help me in the matter.
thanks... (3 Replies)
Discussion started by: manit
3 Replies
5. Shell Programming and Scripting
I have the script like this
- When i try to running manually it's running as well, no error
but when i put on the cronjob it give output
Somebody can help me ? (6 Replies)
Discussion started by: justbow
6 Replies
6. Shell Programming and Scripting
hello all,
In a perl script I am writing,
$dd =`expr $dd + 1`;
for adding $dd, but getting following error:
sh: +: not found
Please help!! (2 Replies)
Discussion started by: gentleDean
2 Replies
7. UNIX and Linux Applications
hi:
I had an existing script in production and I commented some lines and implemented the same. The scripts fails with a cc of 127 and I get the msg:
^M: not found
I checked the file format and it is a PC file format. Does this cause the script to fail with cc= 127.
Can somebody... (4 Replies)
Discussion started by: Meghna
4 Replies
8. Shell Programming and Scripting
Hey
I have a weird "problem" here It's more out of curiosity, my script is working fine, but giving me a "pidt.sh: 7: Rather: not found" error...
#!/bin/sh
log="log/`date +%F_pidt.log`"
echo "---n`date`n---n" >> $log
for i in `cat pidt.conf`
do
|| $( /etc/init.d/$i start &&... (3 Replies)
Discussion started by: al0x
3 Replies
9. Programming
i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h ..
i have also included them using ..
#include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h"
... (2 Replies)
Discussion started by: upvan111
2 Replies
10. Shell Programming and Scripting
I had a spot of trouble coming up with a title, hopefully you'll understand once you read my problem... :)
I have the output of an ldapsearch that looks like this:
dn: cn=sam,ou=company,o=com
uidNumber: 7174
gidNumber: 49563
homeDirectory: /home/sam
loginshell: /bin/bash
uid: sam... (2 Replies)
Discussion started by: samgoober
2 Replies
LEARN ABOUT FREEBSD
conscontrol
CONSCONTROL(8) BSD System Manager's Manual CONSCONTROL(8)
NAME
conscontrol -- control physical console devices
SYNOPSIS
conscontrol [list]
conscontrol mute on | off
conscontrol add | delete console
conscontrol set | unset console
DESCRIPTION
The conscontrol utility is used to examine and modify the physical devices which back the virtual console devices. If no arguments (or only
the list command) are specified, the current console settings are shown.
There are two types of logical consoles; a high level console which is represented by /dev/console, and a low level console. The low level
console is used for kernel printf(9) and ddb(4) debugger support, while the high level console is used by user programs like syslogd(8).
Multiple device support is implemented only for the low level console; the high level console is set to the first device in the console list.
Multiple console support may be invoked by passing the kernel the -D flag from the boot loader, or by using conscontrol to change the list of
console devices after the system has booted.
The following options are available:
add | delete console
Add or delete a physical device from the logical console. The device must support low-level console operations. Adding a device
will place it at the front of the list of console devices; the first device is used for the high level console.
The console argument is the name of a console device in /dev; the name of the directory may be omitted.
mute on | off
Change the state of console muting. All console output is suppressed when console muting is on.
set | unset console
Set or unset the virtual console. When unset, output from the system, such as the kernel printf(9), always goes out to the real main
console. When set, it goes to another. This is an interface to the tty ioctl TIOCCONS.
SEE ALSO
sio(4), syscons(4), tty(4), vt(4), boot(8), loader(8)
HISTORY
The conscontrol utility first appeared in FreeBSD 5.0.
AUTHORS
Jonathan Lemon
BSD
April 14, 2011 BSD