Recent work has often been used to some useless Linux commands, recorded, often updated.2018.4.24View image size: Identify filename to view the JPG format, file filename to view the PNG format, you need to install ImageMagick first.Number of files
Virtual local Area network (VLAN) is a set of logical devices and users, these devices and users are not limited by the physical location, can be based on functions, departments and applications and other factors to organize them, communication with
What is a file systemA file system is a way to store and organize your computer's files and data, making it easy to access and findFile systems typically use storage devices such as hard disks and discs, and maintain the physical location of files
What is a home directory?Is the directory of user files for all users other than root. Your own files are put here.such as test users, their personal data and desktop and other files are placed under the/home/test/directory.LESS/ETC/PASSWD files for
7.1 Three ways to install packagesRPM Tool: Similar to the EXE file under Windows.Yum tool: Supports automatic installation of dependent packages. Equivalent to the App Store.SOURCE package: All kinds of programming language files can be seen, need
Nginx is a high-performance reverse proxy server, now generally as the first layer of our website or other Web services agent, the user in the browser request first pass is the Nginx service.If the Nginx service does not start or end unexpectedly,
Crond Process:Crond is a daemon used to periodically perform certain tasks under Linux, installing the operating system installs the service tool by default, and the Crond process is started automatically, and the Crond process periodically
Disk ManagementEquipmentDevice filesDevice typeBlock: Random access as a "block", such as a hard diskCharacter device (char): In "character" units, sequential access to keyboardDevice numberMain device number (major): Identifies the device
commands for viewing the contents of a file under LinuxCommands to view the contents of a file:Cat starts displaying content from the first line and outputs all contentThe TAC displays the contents in reverse from the last line and outputs all the
APP| || GNU C Library| | (upper layer is user space, lower layer is kernel space)System Call Interface|Visual File System (abbreviated VFS, virtual file systems)|Individual file system (various types of filesystems, such as NTFS, FAT, EXT2, EXT3,
Three types of HDD management:Add a disk three steps:1. Add disk 1.1 basic diskThe virtual machine manually adds a hard drive of 1 blocks of 4G size and requires a reboot for the experiment:Fdisk-l List all hard drive names and locations on the
Show All Processes PS AShow All programs under the same terminal ps–aShow related processes for active users ps–uList the more complete information ps–xQuerying system All process data PS auxViewing processes that are not related to terminal PS
Recently are learning Python, back to think about it or review Linux Rights Management, summed up a bit. After all, before learning Java, for the basis of the object-oriented are more familiar with, so it will not be too difficult to learn, and took
One /----root directory (unique)/---bin: (binary shorthand), there are some system-level command files, easily do not operate files under this folder.--dev: (abbreviated device), you can mount some other devices.--home: The user's home
The reason is that the environment variable (cross-compilation path) may be added under a normal user, so the file created under root user cannot find ARM-LINUX-GCC when it is compiled with ARM-LINUX-GCC.Workaround: Find a terminal: sudo-sSOURCE
Linux system Operations NotesLinux file editing commandsFirst we use the command VI filename to open a file, this time to enter the command modeNext we press I, then the keyboard casually enter the content.Then press ESC to re-enter the command mode.
Generate system Resource Usage statistics, this program also needs to be installed, the system does not own the defaultDstat N MN Refresh IntervalM Refresh TimesThe default will always brush downThis command is very powerful and needs to be studied
Displays the memory-mapped table for the specified processThis command is for information only and I don't think I will use this command for a lifetime.Here I just want to say one thing, is that the idea of Linux is all files, then the corresponding
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service