View PermissionsLinux file access is readable, writable and executable in three ways.Use the ls-l command to view, for example:ls-lShow-rwxr-xr-x 1 root root 6444 09-22 15:33 shmwrite-rw-r--r--1 root root 1443 09-22 15:33 shmwrite.cDrwxr-xr-x 2 root
The concept of Linux librariesA library is a software-building technique that encapsulates data and functions that are made available to user program calls. Using the library can make the program modular, improve the speed of compiling, implement
LinuxNetwork Settings--Network configuration fileWith the commandNetwork configuration file1./etc/sysconfig/network-scripts/ifcfg-eth0# "Save IP address and gateway"[ set static IP]ipaddr= new IP address # This option sets the IP address if
1, install SVN serverInstall subversion directly with Apt-get or Yum (you can, of course, go to the official download installation yourself)sudo apt-get install subversion2, create a version librarySvnadmin Create/home/myrepos //Here's the file
FG, BG, Jobs, &, Nohup, CTRL + Z, CTRL + C commandFirst, &At the end of a command, you can put this command in the background to execute, asWatch sh test. SH & #每10s在后台执行一次test. Sh ScriptTwo, CTRL + ZYou can place a command that is being
Linux Network Programming 4--Personal SummaryTCP and UDP communication flow
The basic steps for TCP communication are as follows:
Server: Socket---BIND---listen---while (1) {---accept---recv---send---close---}------close
Client:
1) command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
Scheduled Task 一、一次 Taskat command #功能: Schedule One / several commands at a specified time ( moment ) Run Once1, at the command format and ParametersAt [-f filename ] timeat-d or ATRM Delete a task in a queue" at generated files are saved in
Disposable task--at, Batch command
At time, the user interactively submits a command task at the ' at> ' prompt to be executed at the specified times. Finally, the task is submitted with the ' Ctrl+d ' key combination.
- q queue
Linux operating system and kernel
The operating system kernel design has been divided into two camps: Microkernel and single core. A single core is a simpler design in two camps, meaning that the entire kernel is implemented as a single
Linux link filesLinks are available in two ways: hard links and soft links.(a) Soft linksSoft links are also called Symbolic links. The basic commands are:[Plain]View Plaincopy
Ln-s Sourceplace Newplace
a soft link can link to any file
First, whichThe which command returns the execution file path of the executable command. (but only the directory under path is searched)[Email protected]_test1 yum.repos.d]# which Vim/usr/bin/vimSecond, WhereisThe Whereis command also returns the
Overview: 1: The process is the smallest unit of the schedule, and is the smallest unit of resource allocation. 2: Threads in the process are shared global variables as well as memory . 3: Sharing: Instructions, removing private data, signal
Linux Process Management (version 2) and linux Process ManagementScheduled Task 1. One-time scheduled task
At command # function: schedule one or more commands to run at a specified time (time ).
1. at Command Format and Parameters
At [-f file name]
Linux output redirection and linux redirection
What is the difference between Linux output redirection> and>?
> This method is used to export data to a file. If the file does not exist, the file is created. If the file exists, the file is
Install and configure Redis in CentOS
Redis is short for REmote DIctionary Server. Is an open-source key-value non-relational database written in C. Similar to memcached, but data can be persistent.
All Redis data is stored in the memory and then
CentOS6.4 install daemontools
I recently used daemontools, but found that Baidu basically has no Chinese version. I would like to share it with you. The author's English proficiency is not very good. please correct me if the translation is incorrect.
Common Linux commands (version 2)-file search commandsFile SEARCH Command
1. which/usr/bin/which # displays the directory where the system command is located. It is an absolute directory and cannot find files.
Format: which [system command]
E.g.
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