How to view the currently running level in Linux

How to view the current running level in Linux, we can use the RunLevel command: usage:runlevel [OPTION] ... [UTMP] Output Previous and current runlevel. Options:&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Q,--quie ...

How do I boot into the text interface with grub?

How do I boot into the text interface with grub? When Linux boot does not enter the system, we need to boot to the text interface through grub to repair the operation of the system, the following steps: After entering Grub, press A, enter space 3 can be guided into the text interface, but do not modify the operating level of the system, only when the time is valid, After restarting the system, it is invalid.

Enter the Linux terminal window why is man an order out of garbled?

Enter the Linux terminal window why is man an order out of garbled? This is because your character set has a problem. Temporary solutions can be used with export lang= "en_US". To do not have to change every time, in the/etc/sysconfig/i18n file to modify the lang= "en_US" on it. Example: #vi/etc/sysconfig/i18n can also be done for a user, so that you can change the individual interface language without affecting other users. To order as if ...

How to Safely remove Linux for dual systems

How to Safely remove Linux for dual systems? Some friends just contact Linux, for the convenience of learning, installed a dual system, so that Windows and Linux share, how to safely remove the Linux system? Let's take a look at how to do this: step 1:dos using FDISK or booting into the Recovery Console with a WIN2000/XP CD, use the command fixmbr Step 2: Format the Linux partition as a Windows partition

Linux formats a partition as EXT3 log file system

Linux formats a partition as a ext3 log file system, and we can manipulate it using the MKFS command: Mkfs-j/dev/xxxx usage:mkfs [-v] [-t fstype] [fs-options] device [size] Example: [ Root@localhost Software] #mkfs J/dev/sda5

How does Linux configure which services to start?

How does Linux configure which services to start? 1 run NTSYSV or Setup command, enter menu to configure; [Root@localhost software]# ntsysv [root@localhost software]# Setup

How to remove the highlight of a word using the VI Editor

In the VI command mode input: Nohlsearch can be. In addition, you can write the following statement in the ~/.VIMRC will be highlighted: Set Hlsearch plus the following statement will not have a highlight: set Nohlsearch

Example of changing content 123 in one file to 456 in Linux

Today we are going to introduce Linux to the example of a file in 123 to 456, this method is more widely used, especially for the contents of the file changes, the following is a detailed understanding of the two methods of modification: Modified Method 1 #sed ' s/123/456/g ' file.txt > File.txt.new #mv-F file.txt.new file.txt Example: [root@localhost conf]# sed ' s/123/45 ...

Linux compiler kernel, where is the kernel source code?

Linux compiler kernel, where is the kernel source code? 1, generally in the distribution plate have, such as RedHat, generally in the second, the third on the 2.4 kernel called kernel-source-2.4.xx-xx.rpm2.6 kernel called kernel-devel-2.6.xx-xx.rpm 2, Go to www.kernel.org to download a version of your favorite kernel and recompile the installation.

How do I know the package name when I uninstall the package in Linux?

How do I know the package name when I uninstall the package in Linux? The command to delete the package is rpm-e XXX If you do not know the exact spelling of this XXX, you can use the RPM-QA example: [Root@localhost k3b-1.0.5]# Rpm-qa gccgcc-4.4.7-3.el6.i686 Check all installed packages or use Rpm-qa | grep xxxx Query Name example: [Root@localhost k3b-1 ...

How do I run multiple x windows in Linux?

How do I run multiple x windows in Linux? StartX defaults to display:0.0 the first x, by passing parameters to X can play multiple x: # STARTX-: 1.0# startx-: 2.0 ... Then use Ctrl-alt-f7/f8 ... Switch

Methods that cause Linux to not start properly after you reload windows

If there is no repartition, boot the Linux boot disk (or the first CD-ROM) into rescue mode. First find where the original/partition mount is. Redhat is usually/mnt/sysimage. Perform "Chroot/mnt/sysimage". If it is grub, enter the grub-install/dev/hd* (according to the actual situation) and if it is Lilo, enter Lilo-v and reboot. If the partition has ...

Unpack rpm files in Linux in current directory?

Unpack rpm files in Linux in current directory? Cat kernel-ntfs-2.4.20-8.i686.rpm | Rpm2cpio | Pax-r examples are as follows: [Root@localhost 6-18]# cat kernel-ntfs-2.4.20-8.i686.rpm | Rpm2cpio | Pax-r[root@localhost 6-18]# ll Total dosage 44-rw-r--r-...

How can I switch back and forth between the graphical interface and the console (character interface)?

How can I switch back and forth between the graphical interface and the console (character interface)? 1 graphical interface to console: CTR+ALT+FN (n=1,2,3,4,5,6); 2 Switch between consoles: ALT+FN (n=1,2,3,4,5,6); 3 Console to graphics: Alt+f7

Linux lets cron tasks not give back information

What should linux do to keep the tasks in cron from giving back information? This example is a 5-minute check of mail #vi/etc/cron 0-59/5 * * * * * * */usr/local/bin/fetchmail >/dev/http://www.aliyun.com/zixun/aggregation/ 19527.html ">null 2>&1

How do I install grub to the MBR in Linux?

How do I install grub to the MBR in Linux? We can do this by doing the following: grub> Root (hd0, 0) grub> Setup (hd0) can also use Grub-install/dev/hda to install Grub

How do I remove files with input keywords from a Linux directory?

How do I remove files with input keywords from a Linux directory? We can use the Find command to achieve: find/mnt/ebook/-type f-exec grep "Enter the keyword here" {} \; -print-exec rm {} \; Example: find/data0/software/-type f-exec grep "Rlin" {} \; -prin ...

How do I get Linux to execute several commands in a row?

How do I get Linux to execute several commands in a row? We can do this through && connectors: Command1 && command2 && command3 Example: [root@localhost usr]# ls && pwdbin &http://www.aliyun.com/zixun/aggregation/37954.htm ...

Does grep in Linux not show itself processes?

Does grep in Linux not show itself processes? #ps-aux | grep httpd | grep-v grep grep-v grep can suppress the process that you perform on the grep itself, the-v argument is not displaying the list of process names

How does the edit/etc/inittab in Linux take effect directly?

After editing the/etc/inittab file, how do we not start the server and take effect directly? [Root@localhost usr]# Vi/etc/inittab # Inittab is only used by upstart for the ' default runlevel.## adding other revisit Here would HAVE NO multiplying on YOUR ...

Total Pages: 1205 1 .... 233 234 235 236 237 .... 1205 Go to: GO
Tags Index:

Contact Us

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.