Linux must learn 60 commands (5)-Network securitySubmitted by Zhanjun in Thursday, 2006-04-13 12:42
Linux must learn 60 commands: System security-related commandsLinux must learn system security commands (1)Author: Cao Yuan its dispatch time: 2004.12
Common commands in Linux (1) and Common commands in linux
Address:Http://www.cnblogs.com/archimedes/p/linux-commands1.html, Reprinted, please specify the source address.Ls command
Ls is used to list the contents of a directory. It is one of the most
This article was originally published by fireaxe and can be freely copied and reproduced using GPL. However, for reprinting, please maintain the integrity of the document and indicate the original author and original link. The content can be used at
1 Overview
The most commonly used forms are:
chmod [-FVR] mode file
Then we look at some of its parameters through the man:
The generic options are as follows:-F do not display a diagnostic message if chmod could not modify the
mode for
Touch command-Feature Description: Generate a new empty file or change the timestamp of an existing file.-Command format: Touch [parameters] ...-Common parameters:-A: Change the access time only.-M: Only change the modification time.-T : Use time
Guide
In Unix and its derivative, such as Linux, everything can be considered a file. Although it is only a general concept, it is true. If there is not a file, then it must be a running process.
To understand this, for example, the
1, the file's attribute information:
1. Attribute structure body struct stat;
struct Stat {
mode_t st_mode; File type and access permission bit
ino_t St_ino; File I node number
dev_t
You can master the following commands for Linux to master various permissions in the operating system.
Permission: All UsersUsage: chmod [-CFVR] [-- help] [-- version] mode file...Note: file access permissions for Linux/Unix are classified into
Command name: chmod
Permission: All Users
Usage: chmod [-CFVR] [-- help] [-- version] mode file...
Note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others. Chmod can be used
To control how
Command name: chmod Permission: All UsersUsage: chmod [-cfvR] [-- help] [-- version] mode file...Note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others. Chmod can be usedTo control how an archive
directive Name: chmodUsage rights: All usersMode of use: chmod [-CFVR] [--help] [--version] Mode file ...Description: Linux/unix file access rights are classified into three levels: file owners, groups, and others. The use of chmod can beTo control
One, the use of chown and chmod commands
directive Name: chmod
Use Rights: All users
How to use: chmod [-CFVR] [--help] [--version] Mode file ...
Description: Linux/unix file access rights are divided into three levels: file owners, groups,
In my previous impression, the ln command under Linux looked like a shortcut under Windows, but after touching the Mklink command under Windows, it found that the links under windows were powerfulThe ln command under Linux
Linux under the LN
Login Installation ClassCommand one: Login1. RoleLogin's role is to log on to the system, and its use rights are for all users.2. FormatLogin [name][-p][-h host name]3. Main parameters-P: Notifies login to maintain the current environment parameters.
Command name: chmod permission: Usage of all users: chmod [-cfvR] [-- help] [-- version] modefile... note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others. The chmod can be used to control the
Linux CHMOD and chown commands
Command name: chmod Permission: All Users Usage: chmod [-CFVR] [-- help] [-- version] mode file... Note: file access permissions for Linux/Unix are classified into three
The permissions on Linux have the ability to master the various permissions in the operating system with the following commands.Usage rights: All usersMode of use: chmod [-CFVR] [--help] [--version] Mode file ...Description: Linux/unix file access
Glob is a module that Python provides to find files that support regular expressions.Os.listdir () and Fnmatch.fnmatch () are used in the implementation. But there's no real invoking a subshell.Glob.glob (pathname) Return A possiblystring
Directive Name: chmod
Use Rights: All users
How to use: chmod [-CFVR] [--help] [--version] Mode file ...
Description: Linux/unix file access rights are divided into three levels: file owners, groups, others. Using chmod can
To control how the file
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.