02-01-2008
Tks soulman ... as you can up in post... all that isnt working... after trying to start console - it just shows nothing!!!
10 More Discussions You Might Find Interesting
1. Solaris
I have a need to write scripts that can reliably determine the virtual host of a Sun Solaris system. (1 Reply)
Discussion started by: Meridian
1 Replies
2. Solaris
Is it possible to reliably detect the virtual host of a Sun Solaris box, within a shell or Perl script?
Can a system have multiple virtual host or not host at all ?
I was recently made aware of hostname command, but was not sure if this option was the only one available.
Any help is much... (3 Replies)
Discussion started by: Meridian
3 Replies
3. UNIX for Advanced & Expert Users
Anyone know where I can get a download of a unix / aix explorer (pref with X-Windows) to run from Windows XP, as I transfer files between the two systems on a frequent basis. (3 Replies)
Discussion started by: gefa
3 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am new to UNIX OS and I am planning to learn on how to use it since I was granted with the joy of being responsible of SCO UNIX on our network :-)
So, can someone please tell me how to search for a particular string on our UNIX box specifying a server name...???
For some reason... (6 Replies)
Discussion started by: George26
6 Replies
5. Shell Programming and Scripting
Hi,
I am facing a issue in one of my script, Please help me on the same. Below I have the example.
Example:
I have two functions(host(),user()) in a single file named test1.ksh
File Name: test1.ksh
host () {
HOST=`hostname`
echo... (1 Reply)
Discussion started by: samvino
1 Replies
6. UNIX for Dummies Questions & Answers
How to determine if a host is connected to the Internet in Unix ? (1 Reply)
Discussion started by: shuhang2
1 Replies
7. UNIX for Advanced & Expert Users
Hi all,sorry for my english but i don't speak it very well.
I have a problem, i need to print a file from a unix machine to a printer on another unix machine (with another host).
I think that it's possible making a connection with telnet to this machine and after to print on the machine in... (3 Replies)
Discussion started by: giugy
3 Replies
8. Shell Programming and Scripting
Hi,
I am writing a shell script that securely connects to an UNIX host and transfer file(abc.txt) from the local machine to the host.
sftp user@host
get abc.txt
bye
The code doesn't work..
It throws error at line 2: get :Unknown get command.
How can I rectify this problem? (2 Replies)
Discussion started by: Kishore_1
2 Replies
9. UNIX for Dummies Questions & Answers
I am doing an old-school command to get an inventory to many host using ssh thru Solaris machine. Please help me find a way thru script to get this automized. This will make me lazy but will surely benefit out of it. thanks in advance.
Process I am doing:
Host IPs (examples):
10.210.1.2... (1 Reply)
Discussion started by: TripleHar
1 Replies
10. UNIX for Beginners Questions & Answers
Hi everybody,
Which Unix base OS have best performance for HOST virtualization?
I tested SmartOS but it needs another OS to connect remotely!
Thanks in advance. (11 Replies)
Discussion started by: mbzadegan
11 Replies
LEARN ABOUT LINUX
console
CONSOLE(4) Linux Programmer's Manual CONSOLE(4)
NAME
console - console terminal and virtual consoles
DESCRIPTION
A Linux system has up to 63 virtual consoles (character devices with major number 4 and minor number 1 to 63), usually called /dev/ttyn
with 1 <= n <= 63. The current console is also addressed by /dev/console or /dev/tty0, the character device with major number 4 and minor
number 0. The device files /dev/* are usually created using the script MAKEDEV, or using mknod(1), usually with mode 0622 and owner
root.tty.
Before kernel version 1.1.54 the number of virtual consoles was compiled into the kernel (in tty.h: #define NR_CONSOLES 8) and could be
changed by editing and recompiling. Since version 1.1.54 virtual consoles are created on the fly, as soon as they are needed.
Common ways to start a process on a console are: (a) tell init(1) (in inittab(5)) to start a mingetty(8) (or agetty(8)) on the console; (b)
ask openvt(1) to start a process on the console; (c) start X--it will find the first unused console, and display its output there. (There
is also the ancient doshell(8).)
Common ways to switch consoles are: (a) use Alt+Fn or Ctrl+Alt+Fn to switch to console n; AltGr+Fn might bring you to console n+12 [here
Alt and AltGr refer to the left and right Alt keys, respectively]; (b) use Alt+RightArrow or Alt+LeftArrow to cycle through the presently
allocated consoles; (c) use the program chvt(1). (The key mapping is user settable, see loadkeys(1); the above mentioned key combinations
are according to the default settings.)
The command deallocvt(1) (formerly disalloc) will free the memory taken by the screen buffers for consoles that no longer have any associ-
ated process.
Properties
Consoles carry a lot of state. I hope to document that some other time. The most important fact is that the consoles simulate vt100 ter-
minals. In particular, a console is reset to the initial state by printing the two characters ESC c. All escape sequences can be found in
console_codes(4).
FILES
/dev/console
/dev/tty*
SEE ALSO
chvt(1), deallocvt(1), init(1), loadkeys(1), mknod(1), openvt(1), console_codes(4), console_ioctl(4), tty(4), ttyS(4), charsets(7),
agetty(8), mapscrn(8), mingetty(8), resizecons(8), setfont(8)
Linux 1994-10-31 CONSOLE(4)