1. Linux entry and exitGo to Linux:You must enter your account. You can create the following two accounts during system installation:1. root-Super User Account (System Administrator), which can be used to do anything in the system.2. Common
Details about the nodeJs File System (fs), stream, and nodejsstream
I. Introduction
This article describes the parameter usage of Some APIs of the node. js File System (fs) and stream.
Ii. Directory
The file system introduces the following methods:
1
Linux File-related operation file operation to enter the directory cd directory name example: cd/home to home cd without parameters, to the previous directory cd-cut to the previous directory cd .. view the directory or file in the upper-level
This is just a list of the more frequently used and can be viewed in more detail through the man command or the command Help.FILE-related1: "ls command" ls [option] ... [File] ...
-A all lists all files including hidden files [eg ls-a/home]
First, LSls most commonly used parameters are three:-a-l-F1,ls-aFiles on Linux are treated as hidden files by the system, and only the LS command is not visible to them, and the hidden file is displayed with Ls-a in addition to the generic file name.
Here we introduce the common Basic command one, log off shutdown restart logoff system logout Command 1Logout logoff is the relative operation of the landing system to leave the system users as long as the direct release of the logout command:
From: http://www.linuxidc.com/Linux/2011-08/40437.htmLinux commands for managing files and directories
Command
Function
Command
Function
Pwd
Show current directory
Ls
View the contents of the
A few common concepts about the Linux directory
PathThe description mechanism of the file location information refers to a path from a directory hierarchy in the tree directory to a file within it, and is divided into relative paths and
I. Related operations of the directoryComparison of special directories:. Represents this layer directory: Represents the upper level directory-Represents the previous working directory ~ represents the current user's Living folder~accout represents
Stat ()/fstat ()/lstat () system callFeature Get file status header file#include #include #include Function prototypesint Stat(const char*file_name, structStat *buf);intFstat (intFiledes, structStat *buf);int Lstat(const char*file_name, structStat
Linux Command LearningLinux considerations:1 Linux is case-insensitive, Windows is case-insensitive, all commands are lowercase under Linux, file names are case-sensitive under Linux, and file names under Windows are case-insensitive.2 Everything in
RM (remove)Function: Delete files or directoriesSyntax: RM [-I R F] [file/directory]Rm-i: Ask the user whether to confirm the deletion, with Y or N to answer;Rm-r: Add this option when deleting a directory, delete files and directories under
Converting a DOS batch file to a shell script Quite a few programmers who learn scripts on a PC are running DOS. In fact, the Disabled DOS batch file language can also write some powerful scripts, although they generally need to rely on external
Content of the lesson:Linux system originVarious common commands for Linux and familiarity with command parameter options:Directory Operations Command ("jump; View your current location-absolute path; View directory contents under any path" PWD
2017-03-23:All commands can be used * *--help to view Help
CD-To-Change directory
Function: Switch directory
Format: CD [catalogue]
Usage
CD ~ Current User Directory
CD/root directory
Cd..
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
2017-10-27linux Basics (9) Bash basic featuresIn the previous chapter we talked about FHS, as well as some of the features of command and Bash command history, FHS is the standard filesystem hierarchy, which specifies the classification of the file
chmodFeatures: Set access permissions for filesThe format of the command permission value: user identifier +-= permission character+/-/=: Increase the scope of permissions, Cancel, give permission to the permissions represented by the code nameUser
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.