1. Serial Port Terminal (/dev/ttysn)The serial port terminal (serial port terminal) is a terminal device connected by a computer serial port. The computer regards each serial port as a character device. For some time, these serial port devices are usually called terminal devices, because at that time they were used to connect terminals. The device names corresponding to these serial ports are/dev/TTS/0 (or/dev/ttys0),/dev/TTS/1 (or/dev/ttys1), etc, the device numbers are (), (), and so on, respe
Adjust the number of TTY terminals started by default in CentOS
CentOS starts 6 TTY by default, with Alt + [F1-F6] keys available in the console switching between different terminals, these are not available to manage remote servers via SSH virtual terminal, reduce the number of TTY started to reduce system resource usage.CentOS5 modify the description of the co
Today to optimize the company's new deployment servers, found that the TTY terminal has 6, in order to save a bit of memory, decided to leave only a TTY terminal, the others are off, but CENTOS6 and centos5 terminal closure method completely changed, and I am also lazy, do not want a set of a Taiwan, Writing down this foot would have saved time.
System: CentOS 6
Close
First, distinguish/dev/tty,/dev/console,/dev/pts,/DEV/TTYN/DEV/TTYSN
Typically, the console (console) we see under Linux is done by several devices. Is/dev/ttyn. You typically use a hotkey alt+fn to switch between these virtual terminals. All of these TTY devices are matched by linux/drivers/char/console.c and vt.c.
Control Terminal/dev/tty refers to the curren
and slave devices, the operation of Master will be reflected on the slave).For example,/DEV/PTYP3 and/DEV/TTYP3 (or/dev/pty/m3 and/DEV/PTY/S3 in the device file system). They are not directly related to the actual physical device. If a program considers PTYP3 (master device) as a serial port device, its read/write operation on that port is reflected on the other TTYP3 (slave device) corresponding to the logical terminal. The TTYP3 is a logical device that another program uses for read and write
TTY is the abbreviation for teletype (RPM)A terminal is a type of character device that has many types, usually using a TTY for short-range end devices. TTY is the abbreviation for teletype. Teletype is one of the first terminal equipment, much like a telex typewriter (or ","), is produced by Teletype company. The device name is placed in the special file directo
Control terminal (/dev/tty)
The console terminal (/dev/ttyn,/dev/console) can be switched using ALT + [F1-F6] keys
Virtual terminal (/dev/pts/n) Pseudo Terminal in xwindows Mode
Q: What is/dev/console?A:/dev/console refers to the console, which is a device that interacts with the operating system. The system directly outputs some information to the console. Currently, users can log on to the console only in single-user mode.Q: What is/dev/
A terminal is a type of terminal device. it has multiple types and generally uses tty for short. Tty is short for Teletype. Teletype is one of the earliest terminal devices, such as a telex typewriter (or), produced by Teletype. On the Li... Terminal
A terminal is a type of terminal device. it has multiple types and generally uses tty for short.
Mac installs the local printer network printer Windows printer. The small weave uses 3 printer canon LBP2900, HP LaserJet P1008, HP LaserJet Professional to test.
Verifying printers
1, not all types of printers can be used on the Mac, you can see on the Apple website whether your
ls -la /dev/ttyShows the output:crw-rw-rw- 1 root tty 5, 0 Dec 14 22:21 /dev/ttyThe ' C ' means it ' s a character device. TTY is a special file representing the ' controlling terminal ' for the current process.Character DevicesUnix supports ' device files ', which aren ' t really files at all, but file-like access points to hardware devices. A ' character ' device is one which are interfaced byte-by-byte (
Reproduced source http://blog.chinaunix.net/space.php? Uid = 8116903 Do = Blog id = 334708
Tty is the abbreviation of teletype)A terminal is a type of terminal device. It has multiple types and generally uses tty for short. Tty is short for teletype. Teletype is one of the earliest terminal devices, such as a telex typewriter (OR), produced by teletype. The dev
1. If init:0The system shuts down automatically after a reboot.2. If init:1After rebooting the system into single-user mode, the default prompt is sh-3.00#, the result of input TTY is/dev/console, the result of input runlevel is 1 S, where 1 indicates that the running level of 1,s indicates that the running mode is single, that is, one-user mode.3. If Init:2After rebooting the system into multi-user mode and no network support, the default is a login
Tty is the abbreviation of teletype)
A terminal is a type of terminal device. It has multiple types and generally uses tty for short. Tty is short for teletype. Teletype is one of the earliest terminal devices. It is very similar to a telex typewriter and is produced by teletype. The device name is stored in the special file directory/dev/. The special device
Terminal explanationA terminal is a type of terminal device. It has multiple types and generally uses tty for short. Tty is short for Teletype. Teletype is one of the earliest terminal devices, such as a telex typewriter (OR), produced by Teletype. In the special file directory/dev/of a Linux system device, there are generally the following types of special device files on the terminal:1. Serial Port Termin
A terminal is a type of character device that has many types, usually using a TTY for short-range end devices. TTY is the abbreviation for teletype. Teletype is one of the first terminal equipment, much like a telex typewriter (or ","), is produced by Teletype company. The device name is placed in the special file directory/dev/, the terminal special equipment files generally have the following kinds:1. Ser
// Code: // using system; using system. collections. generic; using system. text; using system. runtime. interopservices; namespace lptcontrols {public class lptcontrols {[structlayout (layoutkind. sequential)] private struct overlapped {int internal; int internalhigh; int offset; int offsethigh; int hevent;} [dllimport ("kernel32.dll")] Private Static extern int createfile (string lpfilename, uint dwdesiredacces S, int dwsharemode, int lpsecurityattributes, int dwcreationdisposition, int second
CentOS 6.X Linux System By default is to open 6 consoles, respectively, can be accessed by ALT+F1 to Alt+f6, 6 consoles are hosted in memory by default, and can be viewed with ps-aux.
Usually we keep 2 console on it, if it is a VPS, they can not physically log in to the terminal, you may ban all.
CentOS 6.0 start TTY Configuration changed from/etc/inittab to/etc/init/start-ttys.conf, execute the following command to change the default 6
A terminal is a type of terminal device. It has multiple types and generally uses tty for short. Tty is short for teletype. Teletype is one of the earliest terminal devices, such as a telex typewriter (or ?), It is produced by teletype. In the special file directory/dev/of a Linux system device, there are generally the following types of special device files on the terminal:
1. Serial Port Terminal (/dev/tt
Differences in concepts such as consoles, terminals, virtual terminals, Tty,shell, etc.What is the exact difference between a ' terminal ', a ' shell ', a ' tty ' and a ' console '?A terminal is at the end of a electric wire, a shell was the home of a turtle, TTY is a strange abbreviation and a console is a kind of cabinet.Well, etymologically speaking, anyway.In
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.