One Linux command per day: Head command

head and tail are as simple as their name, which is used to display the beginning or end of a certain number of chunks of text, the head is used to display the beginning of the file to the standard output, and tail to see the end of the file . 1.

One Linux command per day (+): which command

we often find a file in Linux, but do not know where to put it, you can use some of the following commands to search:Which viewing the location of an executable file. Whereis viewing the location of a file. Locate to view file locations with a

One Linux command per day: Whereis command

The Whereis command can only be used for program name searches, and only binary files (parameter-B), man description file (parameter-m), and source code file (parameter-s) are searched. If the argument is omitted, all information is returned.Whereis

Linux NIC driver Learning (cache descriptor Buffer Description)

"Summary" above we list the important data structure in the drive, the core structure of the Linux kernel to describe the network device is called the NET_DEVICE,NET_DEVICE structure defined in the Include/linux/netdevice.h file. The fields of this

List of Linux signals

Execute the kill-l command in the terminal to see the Linux supported signals. 1) SIGHUP 2) SIGINT 3) Sigquit 4) Sigill 5) SIGTRAP 6) SIGABRT 7) Sigbus 8) SIGFPE 9) SIGKILL) SIGUSR111) SIGSEGV (SIGUSR2) sigpipe) sigalrm M16) Sigstkflt ()

Linux rsync Sync (cont.)

Our first two chapters have done the rsync sync effect, synchronized when we are synchronized through the Rsync tool, but imagine, in the production environment, we can not always use the Rsync tool for manual synchronization, how to solve this

How to deal with suspicious users found under Linux

If you find that Linux is remote login by suspicious users, how to solve it?1, first check the recent system's login situationLast-10Indicates the last 10 users logged in information, if found suspicious account, is the password is cracked[Email

Linux notes--while loops, functions, and process management

WhileBreak: Early Exit loopContinue: End the loop prematurely, and go to the next round cycleWhile:********Done (dead Loop)Functions: functionCode reuse, structure, cannot be run alone, need to be called to be used1.function function name

Linux Common Commands Daquan 3

Linux commands1, Shutdown shutdown-h now2,init 0 shutting down the system3,shutdown-h Hours:minutes & Shutdown system at scheduled times4,shutdown-c Cancel the system at a predetermined time5,shutdown-r now restart6,reboot restart7,logout logoff8,cd/

Linux Notes-system startup process

Post (POST)-->bios (boot seqvence)-->mbr (boot loader)-->kernel-->initrd-->sbin/initKernel design:Single Core: Linux lightweight threadingMicrokernel: Windows supports multithreadingKernel location:/lib/modules A directory named after the version

Install Jdk-6u45-linux-x64.bin under Linux

Recently in learning Linux under the Java development, in the process of environment to find many of the network configuration is wrong, and now write out, for reference:Download Jdk-6u45-linux-x64.bin from Oracle1. Download the file: Jdk-6u45-linux-

Linux command Details--uname

Uname-print System InformationPrint certain system information. With no OPTION, same as-s.Function: Display System InformationSyntax: uname-optionsParameters:-a,all/print All information,: Linux wm8plt05 2.6.18-164.el5 #1 SMP Tue 15:51:48 EDT x86_64

One Linux command per day (2): cd command

1. Command format:cd [ directory name ]2. Command function:Toggle current directory to DirnamE3. Common examples3.1 Example One: Enter the system root directoryCommand:CD/Output:[[Email protected] ~]# CD/Note: Enter the system root directory, the

The Cat command for Linux

1. Cat access to the normal file name, will print the contents of the document to the screen;2. cat > file, this can write to the file "files", and finally press Ctrl + D to end the input, the data you entered will be saved to a file.There are three

"Linux Advanced Programming" (chapter eighth) process management and program development 4

Modify process user-related informationint access (__const char *__name, int __type): Detects whether the current process has access to a fileParameter 1: Files to be accessedParameter 2: corresponding permission 4 (R_ok readable), 2 (W_ok writable),

Linux Mint---fcitx Chinese, Japanese IME

Install Chinese Input method, I chose a small penguin, previously used Scim, a little comparison, the effect or this goodInstallation can be done in one stepApt-get Install FCITX fcitx-table-wubi-large fcitx-table-wubi fcitx-config-gtk

"Linux Advanced Programming" (Chapter Nineth) interprocess communication-Pipeline 3

Famous pipe nameless pipe and famous pipe:1. Pipeline is a special type of file, in the first-in- first-out to meet the principle of write can read and write, cannot locate read-write location.2. The piping is unidirectional.3. The nameless pipe is

How to find file contents in Linux

Linux finds common command methods for file content.Find the line matching the specified string from the file contents:$ grep "string found" file nameExample: Looking for the. In file containing the specified string in the first level folder in the

"Linux Advanced Programming" (12th) Linux multithreaded Programming 2

Thread synchronization mechanism mutual exclusion lock communication mechanismint Pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutexattr) : Initialize mutex, return successfully 0Parameter 1: Mutex to

Install JDK and centosjdk in CentOS 7

Install JDK and centosjdk in CentOS 7 1. Uninstall the built-in openjdk 1. Run the following command to query the built-in jdk: rpm -qa | grep java The existing jdk in the system is listed. If the jdk exists, uninstall it. If the jdk does not exist,

Total Pages: 5467 1 .... 2276 2277 2278 2279 2280 .... 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.