the inode of the Linux file systemIndex nodeindex node Inode: What is actually stored is some information about the actual data called "metadata" (that is, the description of the file attributes). For example: File size, device identifier, user
Here is a short list of some of the common options used with LS. Keep in mind that you can get a complete list of options by reading the LS manual page (man ls).-a– (All). Lists all the files in the directory, including hidden files (.
adding links using the ln commandUsage:#ln--helpUsage: ln [options] ... Target [link name]Or: ln [options] ... Goal... DirectoryOr: ln [options] ...--target-directory= directory target ...Create a link to a specified and optionally specify .If no
1, proc-a virtual file systemThe/proc file system is a mechanism used by kernel and kernel modules to send information to processes (so called/proc). This pseudo file system allows you to interact with the internal data structure of the kernel, get
CP"function description": The CP instruction is used to copy a file or directory, such as specifying more than two files or directories at the same time, and the final destination is an existing directory, it will copy all the previously specified
In this paper, the concept of udev and related terminology, udev configuration files and rules files are expounded in a popular way, and some examples of managing device files and querying device information are presented on the platform of Red Hat
As the operating system is becoming more and more complex, the process of booting and shutting down power is becoming more and more intelligent. Moving from a simple DOS system to a Windows NT system, people have experienced these changes-not just
Linux files are usually divided into 7 major categories
File type
Abbreviation
English name
Normal file
-
Regular file
Catalog files
D
Directory file
Block device
In this Tuesday, Tao brother to me, explained one thing, in the installation of ganglia , a problem occurred. On a suse SP1 server, install a ganglia dependency package,libconfuse.rpm, after the installation is complete,any command execution will
Shell principle Cognition:About wildcard characters in the shell *The shell expands the wildcard character before passing it to the command, such as "ls-ld/usr/include/*" first expands to "Ls-ld file-list,"View history:You can view the command
(1) Ordinary document (regular file): This is the most commonly used file type, this file contains some form of data, the interpretation of the contents of the file is processed by the application of the file.(2) directory file: This file contains
in the Linux system, if we want to know the specific information of a file, then the simplest method is naturally the LS command. As shown: When you enter the command "ls-l old" in the shell, you will see someInformation. The specific meanings that
NAMEStat Get file propertiesThis function is located in the header file.Function Prototypes:int stat (const char *path, struct stat *buf);Number of references:Path file paths + file nameBUF Pointer to bufferreturn value:-1 encountered an error0
experimental 6:linux file systemLab Environment:The Red Hat Enterprise Linux 6.0 operating system is installed and is a successful authentication system. There is another unprivileged user student, password student account exists.Experimental
Readlink, you can see from the literal meaning that the output symbolic link value or authoritative file name. The readlink command parameters under OpenWrt are as follows:[email protected]:/# readlink--helpBusyBox v1.22.1 (2016-05-16 12:27:19 CST)
The LS command is the most commonly used command under Linux. ls command is the abbreviation of List save LS used to print out the list of the current directory if LS specifies a different directory then the list of files and folders in the
Command: Du usage linux folder size
du-sh./view current directory size
du-sh * View folder size in current directory
du command
Use
Overview disk usage.
Grammar
Du [a | s] [k] [M] [-g] [-l] [-r] [-X] [-H | l] [File ...]
Description
The du
Docker mount the host directory, access to the appropriate files Premission denied permission access issues,
[Root@localhost soft]# Docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
Docker.io/centos
For Example:
1. Create a connection to a file
[Root@a ~]# ln-s/home/kk/ss.sh ~ #如果不写目标地址, that is, in the current directory built link
[Root@a ~]# ls
Centos-base.repo.oldboy anaconda-ks.cfg install.log install.log.syslog ss.sh This command indicates
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.