Linux EXEC command

Shell's built-in command exec will not start a new shell, but will replace the current shell process with the command to be executed and clean up the environment of the old process, in addition, other commands after the exec command will not be

Linux source and export commands

Source command usage:Source filenamePurpose: read and execute the command in filename in the current bash environment.Note:This command is usually replaced by the "." command.For example, Source. Bash_rc is equivalent to... bash_rc. The source

Linux background execution Program

Shell Command>/dev/null 2> & 1 & The last symbolProgramRun in the background. >/Dev/null is used to convert the standard input to null, so that the standard output of the current script is ignored. 2> & 1 is used to connect standard errors to

Display solution error reported when oracle11 is installed in Linux

When installing oracle on Linux, the following errors are often reported: You cannot use the command/usr/x11r6/bin/xdpyinfo to automatically check the display color. Check whether the DISPLAY variable is set. You can use the following command to

Linux Command learning-File Deletion

You can simply use RM, but you need to add two parameters-RF: Rm-RF directory name-R is recursive down. No matter how many levels of directories are there, delete them together.-F means to delete the file directly without any prompts. Delete a

Disk formatting in Linux

Objective: To Format/dev/sda4 (formerly ext3 file system) on the original server into an ext4 file system. 1. Check the status of the original system: fdisk-l /Dev/sda4 3253 3259 56227 + 83 Linux 2. Check the original mounting status:

Linux-select details

The Select system call enables our program to monitor the State Changes of multiple file handles (file descriptor. The program stops at select and waits until one or more of the monitored file handles change their status. There are a lot of files in

How to view memory usage in Linux

[Root @ scs-2 TMP] # Free Total used free shared buffers cached Mem: 3266180 3250004 16176 0 110652 2668236 -/+ Buffers/cache: 471116 2795064 Swap: 2048276 80160 1968116 The following is an explanation of these values: Total: total physical memory

Linux Kernel code research-process scheduling Summary

Processes are classified into I/O-consuming and processor-consuming models. I/O-consuming models generally refer to processes with high interaction with users. They do not occupy CPU resources continuously, but cannot be blocked for a period of time

Common macro tag in Linux kernel source code)

These macros include _ init, _ initdata, _ initfunc (), asmlinkage, entry (), and fastcall. They are defined mainly in include \ Linux \ linkage. h and include \ asm-i386 \ init. h and some other. H files. 1) _ init location: Include \ asm-i386 \

Linux Kernel compilation learning notes

Linux Kernel compilation learning notes Author: laomai Home: http://blog.csdn.net/laomai I. experiment environmentAn industrial computer with an optical drive. The RedHat Linux ES3 operating system is installed. Minimum installation,That is, when

Linux Samba usage record

security = userusername map = /etc/samba/smbusers Record: Step 1 install samba Apt-Get install Samba smbfs sbmclient Step 2. Backup File CP/etc/samba/smb. conf/etc/samba/smb.com. Bak Step.3 configuration file Gedit/etc/samba/smb. conf Set the

Rsync usage in Linux

I. Rsync Overview Rsync is a data image backup tool in Unix-like systems. It can be seen from the software name-remotesync. Rsync is a file synchronization and data transmission tool in Linux. It uses the "rsync" algorithm to synchronize files

Linux free command

I told a friend that I have been using LinuxHe asked me why LinuxThe memory used is so high. He told me that the internal free space of 1 GB is mb. Windows XP only uses MB. Actually, the Linux memory is very informative.The following shows the usage

Small server example using libevent in Linux

// Server # include # include # include # include # include # include # include using namespace STD; struct event_base * main_base; static const char message [] = "Hello, world! \ N "; void accept_handle (const int SFD, const short event,

Linux watch command

Watch is a very practical command. Basically all Linux distributions have this tool, just like the name, watchIt can help you monitor the running results of a command, saving you the need to manually run it over and over again.   Directly following

Example of sending and receiving broadcast messages over UDP in Linux

// Sender # include # include # include # include # include # include # include # include # include using namespace STD; int main () {setvbuf (stdout, null, _ ionbf, 0); fflush (stdout); int sock =-1; if (sock = socket (af_inet, sock_dgram,

Linux kill signal list

$ kill -l1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR213) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT 17)

Linux GCC compilation uses dynamic and static Link Libraries

In Windows, the dynamic link library is a file with the. dll suffix, and in Linux, It is a file with the. So suffix.The advantage of dynamic link library is to save memory space. 1. Create a dynamic link library in LinuxWhen using GCC to compile a

Tar Linux commands

Parameter:-C: Create a compressed file parameter command (create);-X: unlock a compressed file parameter command! -T: view the files in the tarfile! Note that C/X/T can only exist under the parameter! Cannot exist at the same time! Because it is

Total Pages: 5467 1 .... 3561 3562 3563 3564 3565 .... 5467 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.