Article directory umount Additional information grammar Options parameter Example Learn `python` from scratch umount Used to unmount a mounted file system Supplementary instructions The umount command is used to unmount a mounted file system. You can umount the file system using the device name or mount point, but it is best to unmount it through […]
Tag: linux
[Comprehensive explanation of Linux commands] 123.SSH-Add and Useradd: Linux commands for managing users and keys
Article directory ssh-add Additional information grammar Options Example useradd Additional information grammar Options parameter exit value document Example Learn `python` from scratch ssh-add Add the private key to ssh-agent’s cache. Supplementary instructions The ssh-add command adds a private key to the ssh-agent’s cache. This command is located in /usr/bin/ssh-add. Grammar ssh-add [-cDdLlXx] [-t life] [file […]
[Comprehensive explanation of Linux commands] 120. Master the badblocks command and check hard disk bad sectors in time
Article directory badblocks Additional information grammar Options parameter Example other Learn `python` from scratch badblocks Find corrupted blocks on disk Supplementary instructions The badblock command is used to find damaged blocks on the disk. The hard disk is a wear-and-tear device, and physical failures such as bad sectors may occur after being used for a […]
[Comprehensive explanation of Linux commands] 121. Practical tips for using the dd command to copy and convert files
Article directory dd Additional information grammar Options Example Generate random string Learn `python` from scratch dd The dd command is used to copy files and convert and format the contents of the original files. Supplementary instructions The dd command is used to copy files and convert and format the contents of the original files. The […]
[Comprehensive explanation of Linux commands] 124.e2fsck: Tool for checking and repairing the second extended file system
Article directory e2fsck grammar Options parameter Example Learn `python` from scratch e2fsck e2fsck is used to check the integrity of the second extended file system and try to fix errors with the appropriate options. The returned value after execution and its representative meaning are as follows: 0 No errors occurred. 1 A file system error […]
[Comprehensive explanation of Linux commands] 128. How to create, set up and manage SWAP swap partitions
Article directory mkswap Create and set up SWAP swap partition Additional information grammar Options parameter Example Learn `python` from scratch mkswap Create and set up SWAP swap partition Supplementary instructions The mkswap command is used to create a swap partition on a file or device. After creation, use the sawpon command to start using this […]
Using g++ and Makefile to compile C language programs based on Linux (Ubuntu) system
Using g++ and Makefile to compile C language programs based on Linux (Ubuntu) system Preface 1. Install Ubuntu Introduction to Ubuntu Ubuntu installation steps After installation, enter the system 2. Compile using g++ Install g++ Write a program and compile and run it The difference between g++ and gcc Experimental case Experimental requirements experiment one […]
[Comprehensive explanation of Linux commands] 125. Hard disk maintenance and tuning: Use of fsck and hdparm commands
Article directory fsck Additional information grammar Options parameter Example hdparm Additional information grammar Options parameter Example Learn `python` from scratch fsck Checks and attempts to repair errors in the file system Supplementary instructions The fsck command is used to check and attempt to repair errors in the file system. When an error occurs in the […]
Use of zip, unzip, grep, and paste commands in Linux
In Linux systems, the zip command is used to create and manage ZIP compressed files. It allows you to compress files and directories into a single ZIP file to save storage space or facilitate transfer. The basic syntax of the zip command is as follows: bash copy code zip [option] Compressed file name file name/directory […]
Dynamic linker for x86_64 architecture on Linux ld-linux-x86-64.so.2
/lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 is a dynamic linker (also called a dynamic link editor) for the x86_64 architecture on the Linux operating system. It is responsible for loading and linking dynamic libraries that are referenced at runtime (that is, when the program starts or after). Now, let’s take a closer look at its role and importance: The […]