Linux Admin Task. Linux is a vital computing force that supplies everything from cell phones and personal computers to supercomputers and servers.
The task of a system manager is to oversee computer system processes. It makes sense to learn it because most computers are powered by Linux.
The system of Linux files
A file system is a file storage method on a hard drive. Linux supports various types of file systems:
Classic disks: ext2, ext3, ext4, XFS, btrfs, JFS, NTFS, etc. Flash storage: ubifs, JFFS2, YAFFS, etc. file systems. File structures with a special purpose: procfs, sysfs, tmpfs, debugfs, etc.
Hierarchy of file system standards
The Linux system stores files under the normal structure, known as the hierarchy of the system.
Manual website for Linux
One of Linux’s main functionality is to include online help on each command. Type the command [bhargab@localhost~] to enter the Linux handbook (man) page; $something
This provides the ls command manual website.
Root or great consumer
This is a special user account for any kind of authorization. To make any changes to a Linux application or operation.
The su command is a root or superuser. Enter the root password to become the root or superuser. Then, type the following command.
Manage folders and files
All is a file in Linux. This means we communicate with them by file based commands. And when interacting with ordinary text files or computer files. Here are certain operations on data.
Linux Admin Task
Make a file: we create A file with two commands: touch and cat. Simply build an empty file with the touch button. So, to generate an empty folder, type the following command:[e-mail@localhost~]To build and display a file, you use $touch file1 cat. Further, build a file, type the following command:[e-mail@localhost~] File1 $cat>file1Use the command below to view a file type:[e-mail@localhost~]
Copying a file:
The cp command is used to transfer a file from place to place, as shown below:[e-mail@localhost~]/home/bhargab/Documents/ $cp file1
This command copies a file in /home/bhargab/Documents/ from the current working directory.
Delete a file
Type the following command to delete a file:
[e-mail@localhost~]File of $rm1
Removal and movement of a file:
We use Mv for moving and renaming a file. Then, use the following command to transfer a file from one place to another:[e-mail@localhost~]
Document file1 of $mv /home/bhargab.This command moves file1 to the /home/bhargab/ document directory.
Type the command below to rename a file, file1 to file2:[e-mail@localhost~]
File1 of $mv
Files and directories are listed:
In the present directory or directory, ls lists the contents (files and directories).
So, to show the contents of the current directory, type the following command:
[e-mail@localhost~]Ls $ $It merely lists the name of the file and the name of the directory.
Type the following command to list all files in your home folder and the secret files:[e-mail@localhost~]
Create a folder
To build a directory, the mkdir command is used:[e-mail@localhost~]
MyDir $mkdirThis will build a /home/bhargab/ directory, myDir.