Master Linux must-learn commands: how to use fidsk and practical examples

Master Linux must-learn commands: how to use fidsk and practical examples

Preface: Let me write an article to share with you a command that must be learned under Linux: fidsk. If you don’t have a Linux environment, you can refer to my previous article: Oops, I suddenly want to get a Linux centos8 system to play with, what should I do? Introduction Linuxfdisk is a program that creates and maintains partition tables. It is compatible with DOS-type partition tables, BSD or SUN-type c drive lists. Usually we use it to manage the Linux c drive, perform partition viewing, Linux 64-bit system, low format and other operations. It is one of the must-learn commands for contacting Linux. Sentence pattern fdisk [required parameters] [selected parameters] required parameters: selected parameters: menu operation instructions running environment before the demonstration instance

Jun 12, 2024 pm 07:02 PM
No need to move media! How to directly boot and install a Linux system from the hard disk

No need to move media! How to directly boot and install a Linux system from the hard disk

When I was messing around with Linux booting today, I discovered a Linux installation method that does not require any Unicom media, that is, starting the installation system directly from the hard disk. 1. First download an easyBCD. Go to the "Add New Entry" option and select the "NeoGrub" entry, then select "Add". Add and click "Configure". 2. Add the following lines of text to the pop-up text file named "menu.lst": titleInstallUbunturoot(hd0,1)kernel(hd0,1)/vmlinuzboot=casperiso-scan/filename=/[LINUX]ubuntu-12.10 -deskt

Jun 12, 2024 pm 06:29 PM
The principle and usage of ll command to view directory information list in Linux

The principle and usage of ll command to view directory information list in Linux

Study and summarize the document by yourself, it’s a bit messy, don’t blame it 1. What does the total dosage in Linux mean? In Linux, we often use the ll command (ls-l) to view the directory information list, see the picture on the right: In the picture above, "Total dosage" What does 92" refer to? The "total" here, which can also be called "total dosage" or "total", refers to the number of blocks used in the directory. How is this number of blocks estimated? See the picture on the right: The value on the right side of the picture above is the sum of the number of blocks (number of blocks) occupied by directories and files, 4x8+40+12+8=92, which is equal to "total 92", among which, the "ll-s" command It can also be written as "ls-ls" or "ls-l--size", using "ls--h

Jun 12, 2024 am 10:27 AM
Learn about Linux: a highly secure, highly available, and easy-to-maintain operating system

Learn about Linux: a highly secure, highly available, and easy-to-maintain operating system

What is Linux? Linux is an operating system software. Unlike Windows, Linux is a Unix-like operating system that is open source and can be spread freely. It is an operating system that supports multi-users, multi-tasks, multi-threads and multi-CPUs. It can run major UNIX software tools, applications and network contracts. It supports 32-bit and 64-bit hardware. Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance. Advantages of Linux: 1. High security - Unless the user logs in as root under the Linux system, it is difficult for the program to modify the system settings and configuration. To do this, the permissions of the downloaded file/malware

Jun 11, 2024 pm 01:35 PM
Detailed explanation of high-precision time function and timeout mechanism under Linux

Detailed explanation of high-precision time function and timeout mechanism under Linux

High-precision time acquisition and timer under Linux

Jun 11, 2024 am 09:06 AM
Detailed explanation of haproxy

Detailed explanation of haproxy

1. Install haproxy. CentOS comes with haproxy, but the version may be older. The latest stable version of haproxy can be found on the IUS repository. cat

Jun 10, 2024 am 11:43 AM
Linux Linux系统 红帽 Linux命令 linux认证 红帽linux linux教程 linux视频
Detailed explanation of the steps and methods to set Linux disk quota

Detailed explanation of the steps and methods to set Linux disk quota

In the following blog posts, we will introduce the installation of the samba service and change the configuration file to set up the samba service. But in Windows, you can manage the file server through the C drive quota. In Linux, you can also set the C drive quota to manage the file server. Linux data recovery is easier and simpler to configure. Let’s briefly explain the basic steps of C drive quota first, so that the subsequent explanation will be easier to understand. 1. Check whether the software package is installed. 2. Edit the file system file 3. Restart the computer 4. Generate c drive quota file 5. Create c drive quota for users or groups 6. Start c drive quota There are many steps to configure Linux user disk quota, but you can see what you really need to do It’s nothing more than 2.3 steps, so

Jun 09, 2024 pm 10:59 PM
Linux tar usage introduction

Linux tar usage introduction

First, we need to understand two concepts: packaging and compression. Packaging refers to turning a large number of files or directories into a total file; compression means turning a large file into a small file through some compression algorithms. Why should we distinguish these two concepts? This is due to the fact that many compression programs in Linux can only compress one file, so when you want to compress a large number of files, you have to first package the large number of files into a package (tar command), and then use Compression program (gzipbzip2 command). Syntax tar (option) (parameter) option -A or --catenate: add files to the existing backup file; -B: set the block size; -c or --create: create a new backup file; -C: this

Jun 09, 2024 pm 08:55 PM
Linux Linux系统 红帽 Linux命令 linux认证 红帽linux linux教程 linux视频
Linux commands to check directory size and file count, do you know?

Linux commands to check directory size and file count, do you know?

Linux command to check directory size and number of files? How to check the remaining space of a directory in Linux can be solved as follows: 1. First enter the terminal. 2. Then enter the du-h-d1 command on the terminal to check the space size of the current directory. 3. The command -d indicates the depth of the directory. Changing the value of -d can see the space size of more directories. This is how to check the remaining space of a directory in Linux. How to count the number of files and total lines of code in a directory under Linux? Command to know the total number of files with a specified suffix name: find.-name*.cpp|wc-l To know the total number of lines of code in a directory and the number of lines of a single file: find.-name*.h

Jun 09, 2024 pm 07:48 PM
feed news reader Liferea 1.12.2 update

feed news reader Liferea 1.12.2 update

Liferea 1.12.2 has been released, a new bug fix version. A plugin installer has been introduced to easily discover and install third-party plugins. Comprehensive changes for Liferea 1.12.2 include: Added a plugin installer plugin that can discover and automatically install third-party plugins Removed languages ​​from the user agent for increased privacy Added transmission-gtk and aria2 as download tool options New command line option - disable plugins ( -p) starts with all plugins disabled. Fixed issue with Liferea not showing up in GNOME Software, correctly printing error message when unable to unlock GNOME keyring Fixed CSS style redirect location not using GTK link colors updated and added H

Jun 09, 2024 am 11:44 AM
Linux Linux系统 红帽 Linux命令 linux认证 红帽linux linux教程 linux视频
Use these commands to easily see what packages are installed on your Linux PC

Use these commands to easily see what packages are installed on your Linux PC

How to List Installed Software Packages on Linux Use this command to easily check what software packages are installed on your Linux PC. Before installing a new package, you need to check whether it is already installed on your system. It is reported that if you are moving to a new system, having a list of all installed packages can save a lot of time and effort. It can also help you identify unnecessary packages that you want to delete to free up some space. Here's how to list all installed packages on various Linux distributions, including Ubuntu, Debian, CentOS, ArchLinux, and openSUSE. List installed software packages on Ubuntu/Debian in Debian-based development

Jun 08, 2024 pm 10:41 PM
Do you know the methods and steps for installing Linux on a hard disk?

Do you know the methods and steps for installing Linux on a hard disk?

Linux is a set of Unix-like operating systems that are free to use and freely disseminated. It is a multi-user, multi-tasking, multi-threading and multi-CPU operating system based on POSIX and UNIX. Below are the methods and steps for installing Linux on a hard disk compiled by the editor. You are welcome to refer to it! 1. Preliminary knowledge: 1. Understand the partitions of Linux. The windows* operating systems we usually use are usually fat32 or ntfs partitions, and Linux uses For different partition structures, ext3 is usually used nowadays, but it has one more swap partition than Windows, which is the swap partition. In other words, if you want to install Linux, you must have at least two partitions, one is the swap partition and the other is the system partition.

Jun 08, 2024 pm 09:50 PM
Scheduled tasks under Linux--crontab

Scheduled tasks under Linux--crontab

1. Cron service cron is a scheduled execution tool under Linux that can run jobs without manual intervention. servicecrondstart//Start service servicecrondstop//Close service servicecrondrestart//Restart service servicecrondreload//Reload configuration servicecrondstatus//View service status 2. Cron configuration file: /var/spool/cron/ This directory stores each Users include root's crontab tasks. Each task is named after the creator, such as the cr created by tom.

Jun 07, 2024 pm 08:24 PM
Linux Linux系统 红帽 Linux命令 linux认证 红帽linux linux教程 linux视频
Essential skills for learning Linux: multiple ways to find files revealed

Essential skills for learning Linux: multiple ways to find files revealed

When learning Linux, finding files is also a pain point. Linux searches the directory where the file is located, especially when the system does not turn on graphics. As a mature system, Linux also provides a variety of command line tools and graphical interface tools to help us search and find files. Here are some common ways to find files: find command: The find command is one of the most commonly used file search commands in Linux systems. It can search for files in the entire file system according to specified conditions. Linux searches the directory where the file is located and returns a list of matching files. The following are some common uses of the find command: locate command: The find command is relatively slow, and the locate command is a database-based file.

Jun 07, 2024 pm 02:03 PM

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use