Common Commands under Linux

Compression: TarPackage all files in the/etc directory into/tmp/etc.tar[[email protected] ~]# TAR-CVF/TMP/ETC.TAR/ETC [[email protected] ~]# tar-czvf/tmp/etc.tar.gz/etc such as: tar-zcvf/root/root.tar.gz/root/* package root All files, save to root,

Marco Linux Learning Notes

1,date Time management view system timeDate [MMDDHHMM[[CC]YY][.SS] Modify Time or date-s+%d Display+%d Show month/day/year with +%m/%d/%y+%f Same as%y-%m-%d+%m Month+%h Hour+%m Minute+%s Second+%t Time:same as%h:%m:%s+%y year%n New LineCase

Linux File related commands

Commonly used file related commands are: Mkdir,rmdir,touch,stat,rm,cp,mv,installNaming rules:1) cannot exceed 255 characters in length2) cannot use '/' when file name3) strictly case-sensitive1. mkdir: Create file empty directory-P: can be created

User authentication and encryption for basics of Linux

1: Password file/etc/shadowCat/etc/shadow Red Line part for encrypted password650) this.width=650; "style=" Float:none; "title=" shadow. JPG "alt=" wkiol1brr-zdb0vcaah05ij-4p0973.jpg "src=" http://s2.51cto.com/wyfs02/M01/7D/9C/

Linux system optimization Scripts

#!/bin/bash# This script was created by Tangbo.# E_mail:[email Protected]# version:1.0###################################################################################################set-X# Set Language and must be rootExport lang= "ZH_CN. GB18030

"Linux kernel Design and implementation" chapter fifth study notes

Fifth Chapter system callIn the operating system, the kernel provides a set of interfaces for user processes to interact with the kernel. These interfaces allow application-constrained access to hardware devices, provide a mechanism for new

Fourth week of Linux kernel design--clawed system calls three layers of skin

Linux kernel Design Week fourth--clawed system call three layer leather by Su Zhengshen Original works reproduced please specify the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000 One, Knowledge Point

Linux Fourth week

First, the Knowledge Point Summary (a) User state, kernel state and interrupt1. Kernel state: at high execution level, the code can execute the privileged instruction, access any physical address, then the CPU corresponds to the kernel state2. User

Linux Experiment four reports

Dermot W.J. Zhang + original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000I. Contents of the studySystem call: The operating system provides a set of interfaces for

Linux Kernel Analysis Fourth experiment

Experimental steps:Use the same system call in the Library function API and in the C code to embed the assembly code in two ways. In this experiment, I used the 20th system to call the Getpid () function to get the process identification code.

Basic Linux Knowledge

Basic commands under Linuxls : Listpwd : Print work directory (printing working directories)CD : Change directory (switch directory)Example: CD-Back to last directoryExample: cd ~ Back to the current user directoryExample: CD. /: Back to the top

Sublime remote connection to a Linux host

Sublime remote connection to a Linux host Sublime remote connection to a Linux hostDevelopment, directly using Sublime's SFTP function to modify wx_sample.php1. Install the package management plug-in for Sublime pack control (for most

linux-interprocess communication (i): piping

1. Piping limitations:(1) Half duplex;(2) can only be used between processes that have a common ancestor;2. Pipeline creation Function:#include int pipe (int filedes[2]); ret = 0-Success-1-FailureReturn two file descriptor via Filedes: filedes[0]

Linux Logs/Backlog

when troubleshooting, be sure to develop the habit of looking at the log, the system is the core of a log/var/log/messages. #cat/etc/logrotate.conf This is a log-cut profile. Kill-hup is a new configuration file from the freshman. Killall process

Linux kernel and analysis three-layer skin (top) of the fourth-week clawed system call

Experimental process Select number 20th system call GETPID (get process identification code) Querying the C language code of the GETPID function and its embedded assembly statements on the WebC Language code:#include #include #include #include

Linux Kernel Learning four system calls

A conceptual distinctionWhen it comes to Linux system calls, you have to differentiate between several confusing concepts:System call: A system call is a special interface. With this interface, the user can access the kernel space. System calls

Linux 13th day producers and consumers

pthread_cond_t my_condition = Pthread_cond_initializer;pthread_mutex_t mutex = Pthread_mutex_initializer;mutexes and conditional waits to resolve producer and consumer modelsConditional wait ModelSocket connection pool .....Pthread_mutex_lock

LINUX-CP command

Linux of the CP command is used to copy one or more source files or directories to a specified destination file or directory . It can copy a single source file into a specific file with a specified file name or a directory that already exists. the

Linux Chapter 12th Notes

Chapter One Linux kernel Introduction 1. Features of the Unix kernel Concise: Provides only system calls and has a very clear design purpose Abstract: Almost everything is treated as a file Portability: Written in C , making it an

Solve the Problem of compiling lib_gen.c from the source code ncurses6.0, libncurses5dev source code

Solve the Problem of compiling lib_gen.c from the source code ncurses6.0, libncurses5dev source code When compiling the source code directly from the official website, an error is reported: gcc -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE

Total Pages: 5467 1 .... 3120 3121 3122 3123 3124 .... 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.