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 ...

Linux is listed at the command line with the native IP address, not the network card information

Linux is listed on the command line with the native IP address, not the NIC information Ifconfig | grep "inet" | Cut-c 0-36 | Sed-e ' s/[a-za-z:]//g ' hosthttp://www.aliyun.com/zixun/aggregation/11696.html ' >name-i

Linux allows a program to continue running after exiting the login?

Linux allows a program to continue running after exiting the login? We can use the Nohup command and the disown command. Nohup command usage: nohup command [parameters] ... Or: The NOHUP option ignores the suspend signal to run the specified command.    &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; ...

How to hold a screen under the terminal in Linux?

How to hold a screen under the terminal in Linux? We can use the Cat command to implement, usage: cat [option] ... [File] ... Outputs a file or standard input combination to standard output. &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; -A,--show-all & ...

Use memory for the/tmp folder under Linux?

Use memory for the/tmp folder under Linux? Add a line to Fstab: none/tmp tmpfs default 0 0 or add Mount tmpfs/tmp-t tmpfs-o size=128m Note in/etc/rc.local: size=128m TMP maximum 128m no matter which way, as long as the Linux reboot,/tmp files all disappeared

How do I view the volume label information for a partition on a Linux system?

How do I view the volume label information for a partition on a Linux system? We can do this through the E2label command: Usage: E2label device [New Volume Label] Example: E2LABEL/DEV/HDXN where x=a,b,c,d ...; n=1,2,3 ... [root@localhost ~]# e2label/dev/sda1 Local Disk

How a Linux system looks for a file in a multilevel directory

How does a Linux system look for a file in a multilevel directory? There are times when we need to find a file in a Linux system, but it may be in the Linux system multilevel directory, where we should look for it, here are three ways for you to refer to: 1 find/dir-http://www.aliyun.com/zixun/ Aggregation/11696.html ">name filename.ext2 du-a | G ...

How do I see hidden files in Linux (that is, files that start with.)?

How do I see hidden files in Linux (that is, files that start with.)? We can use the LS command: Ls–a or L. (for Redhat) examples are as follows: [Root@localhost/]# ls-a.&http://www.aliyun.com/zixun/aggregation/37954.     HTML >nbsp; &nbs ...

See how many active httpd scripts are in the Linux system?

See how many active httpd scripts are in the Linux system? We can use the following shell script to view: #!/bin/shwhile (True) dopstree |grep "*\[httpd\]$" |sed ' s/.*-\ ([0-9][0-9]*\) \*\[httpd\]$/\1/' Sleep 3done

Summarizing the usage of compressed file and decompression file in Linux

Summarize the use of compressed files and files in Linux, compressed files and file is the most common in Linux, a kind of operation, familiar with this part of the skills are also necessary, generally our common commands are: tar, unzip, bunzip2 and so on, How to use the right is also need to master a knowledge focus, the following we divided into two parts to the compressed file and decompression file description. A, decompression small full tar-i or BUNZIP2 command can be decompressed. bz2 file tar xvfj example.tar ...

Setting and removing environment variables in character mode in Linux?

Setting and removing environment variables in character mode in Linux? Bash settings: Export variable name = variable Value Delete: unset variable name CSH set: SETENV variable name variable value Delete: Unsetenv variable name

In Linux, use Date command to query yesterday's date?

In Linux, use Date command to query yesterday's date? We can use the Date command, which operates as follows: [root@localhost software]# date--date= ' yesterday ' June 09, 2013 Sunday 17:19:08 CST

Total Pages: 1204 1 .... 232 233 234 235 236 .... 1204 Go to: GO

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.