Linux-(2) Basic file operations in Linux, linux-linux
In linux, everything is files, directories are files, and hardware is files. Therefore, basic file operations are especially important.
1. List the contents of the directory:
Ls
Parameters:
-A: displays all files (includ
Logout Exit SystemGedit Text Editor ToolsUname–r View kernel version information, uname–a more detailsCat/proc/cpuinfo viewing CPUsCat/proc/meminfo Viewing memoryHostname Viewing host namesIfconfig eth0 view eth0 IP AddressAlias ls= ' ls–ll ' setting aliasesTo view the path of the current terminal: TTYView current Shell:echo $SHELLAll Shell:cat/etc/shells under the current systemView CentOS System hostname Format: Echo $PS 1Distinguish internal or external commands: Type CDWhich find the locatio
.
As we all know,linux system everything is a file, so each process has its file descriptor, The Nginx process writes its own file descriptor to the Nginx.pid, and we need to tell Nginx to reopen a new log file (the configuration details of the log file can be seen here, simply by letting the log record what. So we need this directive:kill -USR1 `cat ${pid_path}`This instruction means: first cat to Nginx PID, is an integer, and then send the signal
Becoming a Senior Programmer proficient in Linux programming has always been the goal of many friends. According to statistics from chinacache, the monthly salary of Linux programmers in Beijing is 1.8 times that of Windows programmers, 2.6 times that of Java programmers, and 2.9 times that of Windows programmers. At the same time, the data shows that with the increase of work experience, the income gap bet
After this period of time to learn, I also have a certain understanding of Linux, today this blog on the previous knowledge of a summary it.The previous Linux learning blog, from the top down is learning in-depth process, my blog link is as follows:First: Analysis of the Linux operating system how the computer starts and how it operatesChapter Two: Analysis of
1.The number of files in/usr/include/Linux and/usr/src/Linux/include/Linux is notThe number of folders varies. For example, the/usr/include/Linux does not have the mosules folder, while the/usr/src/Linux/include/LinuxThis folder is available.
/Usr/src/
Document directory
I. Linux operating system source
Ii. Basic Linux knowledge
Iii. Introduction to C Programming in Linux
This article is original and must be reproduced with the following source:Http://blog.csdn.net/qinjuning
Starting from today, I made up my mind to step into the Linux Hall step by step. Wh
The Linux machine doesn't have to clean the hard drive at all, which is why you haven't seen the Linux user defragment the hard drive. Linux file system is a much better file system than Windows FAT, FAT32, NTFS, they can not only set permissions on the file, the implementation of full protection, and can be "used more neatly", "the less the more fragmented"! You
Record what you have learned O (∩_∩) o haha ~MakefileLINK.BIN:START.O MAIN.OArm-linux-ld-tlink.lds-o link.elf $^Arm-linux-objcopy-o binary link.elf Link.binarm-linux-objdump-d link.elf > Link_elf.disGCC Mkv210_image.c-o mkmini210./mkmini210 Link.bin 210.bin%.O:%. SArm-linux-gcc-o [email protected] $%.O:%.cArm-
This series of articles summarizes Linux network stacks, including:(1) Linux Network protocol Stack Summary(2) Network multipart offload technology Gso/tso/ufo/lro/gro in non-virtualized Linux environment(3) QEMU/KVM Network multipart offload technology in virtualized Linux environment Gso/tso/ufo/lro/gro1.
This article is the best practice of Linux. It aims to help Chinese cabbage learn how to log on to Linux. In the previous article, virtual machines and Linux have been installed. How can I log on locally and remotely? How much do you know?
If you want to hear the voice broadcast from Niu every day and want to learn more IT technologies or skills that are not big
1, what is Linux?
To be exact, the Linux kernel (the core program of the system), whose kernel copyright belongs to Linus Torvalds, is issued under the GPL (GNU general public License) Copyright Agreement, and anyone can copy (copy) and modify ( Change), package distribution (distribute), sales, but can not add any restrictions at the time of distribution, and all the original code must be public, so anyone
[Linux] PHP programmers play with Linux series-easily use email via telnet, and use telnet via linux
1. PHP programmers turn to the Linux series-how to install and use CentOS
2. PHP programmers play with Linux series-lnmp Environment Construction
3. PHP programmers play with
Tags: recompile mingetty Chapter 4 Adding user login capabilities to streamlined Linux systems4.1 Download mingetty and login program source codeThis article uses the CentOS 5.11 Source code is in the official source site http://vault.centos.org can be downloaded,go to http://vault.centos.org/5.11/os/Source/to find the Mingetty and login programs, such as:??the Mingetty and login programs belong to the mingetty-1.07-5.2.2 and util-
(1) linux beginners: linux concepts and Common commands, common linux commandsLinux introduction:
Linux is a free, free, and open source operating system. It is also the most famous example of open-source software. Its main purpose is to establish a Unix-like compatible product that can be used all over the world witho
This article is done original, reproduced please specify the source, respect for the original.Writing this article, I refer to some blogs on the Internet:Http://bbs.chinaunix.net/thread-3634524-1-1.htmlHttp://www.bkjia.com/gjrj/800182.htmlAlso refer to the "Linux driver development in detail" 3.4 chapters, to achieve the establishment of their own drive directory.The driving example in this article is: Linux
Tags: Linux shutdown shutdown3.2 "Linux learning is not difficult" Linux character Interface (2): Shutdown command to shut down and restart the Linux systemThe shutdown command can safely shut down or restart the Linux system, and some users will turn off the computer using
as follows: 1) VI mytask.sh Enter the following command Date>>/home/mydate3 Cp/home/mydate3/root 2) Grant mytask.sh Execute permission chmod 744 MYTASK.S H 3) Crontab-e 4) Re-enter the command: * * * * * */root/mytask.sh. (3) How to terminate a task crontab-r means to terminate a task schedule. After the command is executed, the tasks in the crontab-e are removed. CRONTAB-L indicates which task schedules are currently in the list.2, the Linux proces
[Linux management] Linux system boot and boot, management of linux system boot**************************************** ********************************* *** Original article: blog.csdn.net/clark_xu Xu changliang's column**************************************** ********************************1 linux system startup and
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.