On the first, straight hit Linux:12 asked 1. What is Linux? Linux is an exotic operating system that is born on the web, growing up on the web, and ripe for networking. In the 1991, Finnish college student Linus Torvalds The idea of developing a
Basics of Linux Learning
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
Linux cloud automated O & M course 4: linux cloud AutomationAutomated O & M for Linux
I. vim
1. Move the vim cursor
1) In command mode
: Number ### move to the specified row
G ### last line of the file
Gg ### first line of the file
2) In insert
The first method:
Copy the Code code as follows:
/*** Directory Generation class: Utilsmakedir* @author Yepeng* @since 2010.3.18*/Class utilsmakedir{The directory is not established when the base directory is created. This should be a directory
Summary of the basic operations of Linux, basic operations of linux
Preface
Linux was a UNIX-compatible operating system developed in 1991 and can be used for free. Its source code can be freely transmitted and can be modified, enriched, and
Root Directory introduce:Dev:device DirectoryEtc:system software Startup and configHome:user Main DirectoryLib:c complier directory/libaryMnt:host Plug/unplug DeviceProc:system directory, Process infomationRoot:super User Main DirectoryTmp:temp
Linux Learning Basics1. What is Linux?Accurately speaking, refers to the Linux kernel (core program of the system), its core copyright belongs to Linus Torvalds, under the GPL (GNU general public License) under the Copyright agreement, anyone can
Here are a few function references for you.
Example one:
Copy the Code code as follows:
function Deletedir ($dir) {if (!handle= @opendir ($dir)) {//detects if the directory to open existsDie ("No such directory");}while (False!== ($file =readdir
Here are a few functions for you to reference.
Example one:
Copy Code code as follows:
function Deletedir ($dir) {
if (!handle= @opendir ($dir)) {//detect if the directory you want to open is present
Die ("No such catalogue");
}
There are two functions under Linux that can be used to delete a file:#include int unlink (constchar *pathname);The unlink function removes a name from the file system, and if the name is the last link of the file and the file is not opened by any
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.