When echo needs to change the color, use the-e parameter.
Format: echo-e "\ 033 [background color; font color m string \ 033 [0 m"
For example:
Echo-e "\ 033 [41; 36 m something here \ 033 [0 m"
The position 41 represents the background color, and
Step 2
Edit/etc/inetd. conf
# Telnet stream tcp nowait root/usr/libexec/telnetd
# Telnet stream tcp6 nowait root/usr/libexec/telnetd
Remove the previous #
Step 2
Cancel security control of Logon account
Telnet is not safe. By default, the
Preparation in advance:
1. Add hard disks (IDE and SCSI) to virtual machines)
2. fdisk partitioning
# Fdisk-l
Objective: To view the name of the newly added Hard Disk/dev/sdb
# Fdisk/dev/sdb
Commond: m
Commond: n
E:
P: p -------- hard disk
1. Install vsftp
Here, we set up virtual users. The so-called virtual users do not use real accounts, but only map accounts and Set permissions by some means.
Yum install vsftpd
Touch/var/log/vsftpd. log # create a vsftp log File
In CentOS,
LVM hierarchy (bottom to top ):
Ext3-> lv (logical volumn)-> pv (physical volumn)-> vg (volumn group)
LVM creation steps (for example, creating LVM on/dev/sdb ):
1. format the hard disk: fdisk/dev/sdb
N: Create a new disk partition (which
Two and a half years ago, Fedora11 was installed, and then upgraded to Fedora 12 and Fedora 14. During this period, a lot of software was installed, and the system was getting slower and slower ...... Although there are some reasons why I am not
1. First uninstall the old version of vim# Rpm-qa | grep vimCheck whether to uninstall the four packages in the old version.# Rpm-e rpmname (rpmname is the packages found in)2. decompress the compressed package# Tar jxvf vim-7.3.tar.bz23. # cd vim73/
Tools:GCCLDMAKEUtil-linux (fdformat)Module-init-tools (depmod)Tune2fsJFS (IBM File System)ReiserFSXFS (SGI File System)Quota-toolsNfs-utilsUdev (udevinfo)PsThese tools are best compared with the Documentation/Changes file in the kernel source code
I. linux boot guide process (first, let's take a look at the linux boot guide process) Boot self-checkMBR boot record)GRUB menu (if multiple systems are used, select which system to use)Load Linux KernelINIT process initializationInit process---- It
As we all know, the bochs installed by Apt-get do not contain debugging functions. You must add -- enable-debugger through source code compilation. Now the bochs version on ubuntu source is 2.4.6, but the bochs website has released 2.5.1
HOST: Gentoo 11.2 with linux kernel 3.0.6
1. Install the Samba server
USE the default USE flag to directly execute the command [Cpp] www.2cto.com print?Emerge samba2. Configure/etc/samba/smb. conf. First copy/etc/samba/smb. conf. default and
Many new users will feel it is difficult to get started when using Vim, and it is easy to vomit Vim's support for STL completion. Then go to VS. Here we will introduce how to add code complementing function to Vim. After Code Completion is added,
Previous: http://www.bkjia.com/ OS /201201/117056.html① After the svn server is started, you can download the (check out) file from it. The file checked out is managed by svn naturally. The check-out file contains a green hook, as shown in:
② As
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.
1. Structure of BSD syslogd:
The log files can be viewed in three ways:
(1) kernel:
Many kernel routines call the log function to generate log messages. In addition, the klogd daemon can listen to and obtain kernel messages and send them to the
A friend's house uses the China Telecom wireless cat PPPOE for dial-up Internet access and does not have a wireless route. Therefore, he has to use pppoeconf under ubuntu to configure dial-up Internet access, result After the configuration is
Suddenly I want to write this article because the company's computer does not have a corresponding driver when installing Linux, or the graphics card is too bad. Installation can only be minimizedLinux: No GCC, Firefox, or GNOME. You can only
Here, the ununtu system uses version 11.10. If you use a virtual machine, we recommend that you use Versions later than vmware 6.5 for installation. if the version is old, IRQ errors will always occur during installation.After the system is
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service