This article describes the Linux file management commands with examples. Share with you for your reference, the details are as follows: 1. Display file contents
2. Change file permissions
>chmod 666 1.txt > chown user1 1.txt >chgrp user1 1.txt 3. Link files 1) Protect the source program 2) Easy access
-d hard link Hard-linked files look the same as normal files. Changing one file will affect the other file. When the source file is deleted, the hard-linked file will not be affected. 4. Find files find [directory list] [matching parameters] [matching criteria] > find /home/user1 -name 1.txt 5. Other related commands df View hard disk space > df -lh > df -lH du View file size du -s 123 Statistics folder size mount command mount /dev/cdrom /mnt/cdrom umount uninstall command umount /mnt/cdrom eject Eject the CD-ROM drive I hope this article will be helpful for everyone's Linux system maintenance. You may also be interested in:
|
<<: MySQL scheduled task implementation and usage examples
>>: JavaScript to implement the function of changing avatar
What is the input type="file"? I don'...
This article uses examples to describe the common...
<br />Adding pictures reasonably can make a ...
sshd SSH is the abbreviation of Secure Shell, whi...
one. Mysql Binlog format introduction Mysql binlo...
<!DOCTYPE html> <html lang="en"...
Author | Editor Awen | Produced by Tu Min | CSDN ...
This article shares the specific code for drawing...
more is one of our most commonly used tools. The ...
The first and most important step is how to insta...
Table of contents 01. Listener watch (1) Function...
Table of contents 1. Environmental Preparation 2....
Importing data with incorrect MySQL character set...
As a technical novice, I am recording the process...
Docker runs multiple Springboot First: Port mappi...