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

What does Bigmem smp up in the Grub boot menu mean?

What does Bigmem smp up in the Grub boot menu mean? SMP: (symmetric listbox processor) symmetric multiprocessor mode Bigmem: An optimized kernel up of 1G + Memory: (Uni processor) Single processor mode

Let the monitor not hibernate in Linux?

Let the monitor not hibernate in Linux? We can use the Setterm command: The operation is as follows: Setterm-blank 0setterm-blank N (n for wait time) setterm other options for the command: setterm:argument error, usage setterm &http://www.aliyun.com/zixun/aggregation/37954.html "&G ...

How do I see the size of a directory in Linux?

How do I see the size of a directory in Linux? We can use the du command, as the following example: Du-sh directory name-s displays only totals-H to K, M, and g to improve the readability of the information. KB, MB, GB is http://www.aliyun.com/zixun/aggregation/12560.html ">1024 for conversion Unit-H to 1000 for conversion units [root@localhost ~]# du-sh/ US ...

What does every delegate in/proc/sys/sem in Linux mean?

What does every delegate in/proc/sys/sem in Linux mean? /proc/sys/sem contents are as follows 250 32000 32 128 The 4 parameters are SEMMSL (the maximum number of semaphores per user), Semmns (maximum number of system semaphores), SEMOPM (each SEMOP system call operand), Semmni ( Maximum number of system semaphore sets)

How do I see the use of a hard disk in Linux?

How do I see the use of a hard disk in Linux? We can use the DF command, as follows: 1, DF display in K (root@localhost ~]# df File System &http://www.aliyun.com/zixun/aggregation/37954.html       ">nbsp; &nbs ...

How does Linux run programs in different user identities?

How does Linux run programs in different user identities? In the process of managing Linux, some of the time we need to specific users, given certain permissions to execute certain programs, how should we specify a different user identity to run the corresponding program? We can use the SU command to achieve: su-userhttp://www.aliyun.com/zixun/aggregation/11696.html ">name-c" User ...

How do you delete everything from a few days ago in Linux?

How do you delete everything from a few days ago in Linux (including directory names and files in a directory)? We can have the following two ways: 1 find. -ctime +3-exec rm-rf {} \; Look for files before 3 days, then delete directory names and file operations 2 find./-mtime +3-print|xargs rm-f–r look for files before 3 days, then delete directory names and file operations

How do I modify the system time after the Linux installation is complete?

How do I modify the system time after the Linux installation is complete? After we install the Linux operating system, often need to adjust the system time, or to proofread the current time, we can use the following three ways: 1 Set your time zone: Timeconfig Asia/shanghai (if you are in updated China region) 2 Calibration with Standard Time server: Ntpdate time.nist.gov Of course, if you are Li Ka-shing, you can also calibrate your watch: Date ...

How do you make a CD-ROM ISO file in Linux?

How do you make a CD-ROM ISO file in Linux? In general, we http://www.aliyun.com/zixun/aggregation/32995.html "> in Windows will be implemented with the help of Virtual CD-ROM or third-party ISO production software, But in Linux we just need to use a simple command! CP command: Cp/dev/cdrom/tmp/xxx.iso or DD command: DD If=/dev ...

Total Pages: 1205 1 .... 232 233 234 235 236 .... 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.