الطرفية والمساعدة

  • alias, unalias

    Make a short name for a longer command (alias), or remove it (unalias).

    امتحان RHCSA2 خيارات, 11 أمثلة

  • apropos, whatis

    Search the short descriptions of the man pages (apropos), or show the description of one page (whatis).

    امتحان RHCSA15 خيارات, 11 أمثلة

  • bash

    The Bourne Again Shell: the default command shell of RHEL, and the program that runs shell scripts.

    امتحان RHCSA20 خيارات, 10 أمثلة

  • chvt

    Switch the screen of the machine to another virtual terminal (tty1 … tty12).

    لينكس اليومي نعم3 خيارات, 10 أمثلة

  • clear

    Clean the terminal screen (and, by default, the scrollback buffer).

    لينكس اليومي3 خيارات, 11 أمثلة

  • echo

    Print text or the value of variables to the screen (or to a file with redirection).

    امتحان RHCSA13 خيارات, 12 أمثلة

  • env

    Show the environment variables, or run a program with a changed environment.

    امتحان RHCSA13 خيارات, 11 أمثلة

  • exit

    End the shell or script with an exit status (0 = success, 1–255 = error); return does the same for a function.

    لينكس اليومي1 خيارات, 10 أمثلة

  • export, unset

    Make a shell variable available to the programs you start (export), or remove a variable (unset).

    امتحان RHCSA6 خيارات, 11 أمثلة

  • history

    Show, search, repeat and clear the commands you typed before.

    امتحان RHCSA22 خيارات, 12 أمثلة

  • info

    Read the longer GNU documentation (Texinfo manuals) with chapters and links.

    امتحان RHCSA13 خيارات, 11 أمثلة

  • man

    Read the manual page of a command, a configuration file or a system call.

    امتحان RHCSA39 خيارات, 12 أمثلة

  • mandb

    Build or update the search database of the man pages (used by man -k, apropos and whatis).

    امتحان RHCSA نعم12 خيارات, 11 أمثلة

  • printenv

    Print the value of environment variables (all, or the ones you name).

    لينكس اليومي4 خيارات, 11 أمثلة

  • printf

    Print formatted text: columns, numbers, padding — more exact than echo.

    لينكس اليومي2 خيارات, 10 أمثلة

  • read

    Read one line of input (from the keyboard, a file or a pipe) into variables.

    امتحان RHCSA11 خيارات, 10 أمثلة

  • seq

    Print a list of numbers — for loops and test data.

    لينكس اليومي5 خيارات, 10 أمثلة

  • set

    Turn shell options on or off (like -x trace, -e stop on error), set the positional parameters, or list all variables.

    لينكس اليومي23 خيارات, 10 أمثلة

  • sleep

    Wait for a given time.

    لينكس اليومي3 خيارات, 10 أمثلة

  • source

    Run the commands of a file in the current shell, so its variables, aliases and functions stay.

    امتحان RHCSA2 خيارات, 10 أمثلة

  • test

    Check a condition (file exists, strings equal, number greater …) and return 0 (true) or 1 (false). Also written as [ … ].

    امتحان RHCSA0 خيارات, 11 أمثلة

  • tty

    Print the name of the terminal device you are using (like /dev/tty3 or /dev/pts/0).

    لينكس اليومي3 خيارات, 11 أمثلة

  • type

    Show what a command name really is: an alias, a shell keyword, a function, a built-in or a program file.

    امتحان RHCSA5 خيارات, 11 أمثلة

  • which

    Show the full path of the program that runs for a command name.

    لينكس اليومي12 خيارات, 11 أمثلة

الملفات والمجلدات

  • cd

    Change the current folder of your shell.

    امتحان RHCSA6 خيارات, 11 أمثلة

  • cp

    Copy files and folders.

    امتحان RHCSA35 خيارات, 12 أمثلة

  • file

    Find out what kind of data a file contains (text, script, program, image, archive …), whatever its name.

    لينكس اليومي30 خيارات, 11 أمثلة

  • find

    Search a folder tree for files that match tests (name, owner, size, time, permissions …) and act on them.

    امتحان RHCSA68 خيارات, 17 أمثلة

  • ln

    Make links: hard links (a second name for the same data) or symbolic links (a pointer to a path).

    امتحان RHCSA16 خيارات, 11 أمثلة

  • ls

    List the files in a folder, with details like permissions, owner, size and time.

    امتحان RHCSA60 خيارات, 13 أمثلة

  • mkdir

    Create new folders (directories), also with all missing parent folders.

    امتحان RHCSA7 خيارات, 11 أمثلة

  • mv

    Move files and folders, or rename them.

    امتحان RHCSA17 خيارات, 11 أمثلة

  • pwd

    Print the full path of the folder you are in (print working directory).

    لينكس اليومي4 خيارات, 11 أمثلة

  • rm

    Delete files, and with -r folders with all their content.

    امتحان RHCSA12 خيارات, 11 أمثلة

  • rmdir

    Remove empty folders (and refuse to remove folders that still have files).

    امتحان RHCSA5 خيارات, 11 أمثلة

  • stat

    Show all details of a file: size, blocks, inode, links, permissions, owner, SELinux context and all its times.

    لينكس اليومي26 خيارات, 11 أمثلة

  • touch

    Create an empty file, or change the access and modification times of a file.

    امتحان RHCSA11 خيارات, 11 أمثلة

النصوص والبحث

  • awk

    Process text line by line as fields: print columns, filter by conditions, count and sum.

    امتحان RHCSA28 خيارات, 13 أمثلة

  • cat, tac

    Print files to the screen, join files together (cat), or print them last line first (tac).

    امتحان RHCSA15 خيارات, 12 أمثلة

  • cut

    Take parts of each line: fields split by a separator, or character positions.

    امتحان RHCSA15 خيارات, 11 أمثلة

  • grep

    Search files or command output for lines that match a pattern (text or regular expression).

    امتحان RHCSA48 خيارات, 14 أمثلة

  • head

    Show the first lines (or bytes) of files or command output.

    امتحان RHCSA8 خيارات, 11 أمثلة

  • less

    Read a file or command output one screen at a time, with scrolling and searching.

    امتحان RHCSA40 خيارات, 12 أمثلة

  • more

    Show text one screen at a time (the simple, older pager).

    لينكس اليومي14 خيارات, 11 أمثلة

  • nano

    Edit text files with a simple terminal editor that shows its keys on the screen.

    امتحان RHCSA56 خيارات, 11 أمثلة

  • sed

    Change text as it flows through: replace words, delete or print lines — and edit files in place with -i.

    امتحان RHCSA35 خيارات, 13 أمثلة

  • sort

    Put lines in order: alphabetical, by numbers, by sizes, by versions, by a chosen column.

    امتحان RHCSA31 خيارات, 12 أمثلة

  • tail

    Show the last lines of files, and follow a log file live while it grows.

    امتحان RHCSA13 خيارات, 11 أمثلة

  • tee

    Copy the input to the screen (or the next command) and to one or more files at the same time.

    لينكس اليومي6 خيارات, 11 أمثلة

  • tr

    Replace, delete or squeeze single characters in a text stream.

    لينكس اليومي12 خيارات, 11 أمثلة

  • uniq

    Remove or count repeated lines that are next to each other (use it after sort).

    لينكس اليومي13 خيارات, 11 أمثلة

  • vim

    Edit text files in the terminal with the vi/vim editor (keys and commands, no mouse needed).

    امتحان RHCSA28 خيارات, 12 أمثلة

  • wc

    Count lines, words, characters and bytes.

    امتحان RHCSA9 خيارات, 11 أمثلة

الأرشفة والضغط

  • bzip2, bunzip2, bzcat

    Compress files to .bz2 (bzip2), unpack them (bunzip2), or read them without unpacking (bzcat).

    امتحان RHCSA14 خيارات, 12 أمثلة

  • gzip, gunzip, zcat

    Compress files to .gz (gzip), unpack them (gunzip), or read them without unpacking (zcat).

    امتحان RHCSA19 خيارات, 12 أمثلة

  • tar

    Pack files and folders into one archive file (and unpack it), with optional compression.

    امتحان RHCSA128 خيارات, 13 أمثلة

  • xz, unxz, xzcat

    Compress files to .xz with very good compression (xz), unpack them (unxz), or read them (xzcat).

    لينكس اليومي21 خيارات, 11 أمثلة

  • zip, unzip

    Pack files into a .zip archive (zip) and unpack it (unzip) — the format that Windows and macOS open directly.

    لينكس اليومي50 خيارات, 12 أمثلة

المستخدمون والمجموعات

  • chage

    Show and change the password aging and the expire date of an account.

    امتحان RHCSA للتغييرات11 خيارات, 12 أمثلة

  • getent

    Look up entries in the system databases (users, groups, hosts, services …) the same way programs do.

    امتحان RHCSA6 خيارات, 12 أمثلة

  • gpasswd

    Add or remove members of a group, set group admins, or set a group password.

    امتحان RHCSA للتغييرات8 خيارات, 10 أمثلة

  • groupadd

    Create a group (groupadd), change it (groupmod) or delete it (groupdel).

    امتحان RHCSA نعم17 خيارات, 11 أمثلة

  • groups

    Show the names of the groups a user is in.

    لينكس اليومي3 خيارات, 10 أمثلة

  • id

    Show the UID, primary group and all groups of a user (or of yourself).

    امتحان RHCSA10 خيارات, 11 أمثلة

  • logname

    Print the name of the user who logged in to this session (also after su or sudo).

    إضافي2 خيارات, 10 أمثلة

  • newgrp

    Start a new shell with another primary group — useful right after you were added to a group.

    لينكس اليومي2 خيارات, 10 أمثلة

  • passwd

    Set or change a password, and lock, unlock, expire or show the password of an account.

    امتحان RHCSA للتغييرات17 خيارات, 12 أمثلة

  • pkexec

    Run a program as another user (by default root) when polkit allows it.

    إضافي للتغييرات5 خيارات, 10 أمثلة

  • su

    Start a shell (or one command) as another user. You type the password of that user.

    امتحان RHCSA للتغييرات12 خيارات, 11 أمثلة

  • sudo

    Run a command as root (or another user) with your own password, if the sudo rules allow it.

    امتحان RHCSA للتغييرات31 خيارات, 12 أمثلة

  • useradd

    Create a new user account (and by default its private group and home folder).

    امتحان RHCSA نعم26 خيارات, 11 أمثلة

  • userdel

    Delete a user account, and with -r also its home folder and mail.

    امتحان RHCSA نعم6 خيارات, 11 أمثلة

  • usermod

    Change an existing user: groups, shell, home folder, name, UID, expire date, lock.

    امتحان RHCSA نعم25 خيارات, 12 أمثلة

  • vipw

    Edit /etc/passwd (vipw) or /etc/group (vigr) safely by hand, with a lock.

    لينكس اليومي نعم6 خيارات, 11 أمثلة

  • visudo

    Edit the sudo rules safely: visudo locks the file and checks the syntax before it saves.

    امتحان RHCSA نعم9 خيارات, 11 أمثلة

  • w

    Show who is logged in and what each user is doing now, plus the uptime and load of the system.

    لينكس اليومي10 خيارات, 11 أمثلة

  • who

    Show who is logged in now, on which terminal, since when and from where.

    لينكس اليومي16 خيارات, 11 أمثلة

  • whoami

    Print the user name you are working as right now (the effective user).

    لينكس اليومي2 خيارات, 11 أمثلة

الصلاحيات

  • chattr

    Set or remove file attributes, like immutable (no change at all) and append only.

    لينكس اليومي نعم5 خيارات, 10 أمثلة

  • chgrp

    Change the group of files and directories.

    امتحان RHCSA للتغييرات14 خيارات, 10 أمثلة

  • chmod

    Change the permissions (mode) of files and directories, with numbers or letters.

    امتحان RHCSA للتغييرات9 خيارات, 12 أمثلة

  • chown

    Change the owner and/or the group of files and directories.

    امتحان RHCSA نعم15 خيارات, 11 أمثلة

  • getfacl

    Show the access control lists (ACLs) of files and directories.

    لينكس اليومي14 خيارات, 10 أمثلة

  • lsattr

    List the file attributes (like i = immutable, a = append only).

    لينكس اليومي للتغييرات7 خيارات, 10 أمثلة

  • namei

    Follow a path step by step and show every directory and link on the way, with owner and permissions.

    لينكس اليومي9 خيارات, 10 أمثلة

  • setfacl

    Add, change or remove ACL entries: rights for extra users and groups on files and directories.

    لينكس اليومي للتغييرات18 خيارات, 11 أمثلة

  • umask

    Show or set the mask that decides the permissions of new files and directories.

    امتحان RHCSA3 خيارات, 11 أمثلة

العمليات والمهام

  • free

    Show the use of memory (RAM) and swap.

    لينكس اليومي17 خيارات, 10 أمثلة

  • jobs

    List the jobs of your shell, and move them between foreground (fg) and background (bg).

    امتحان RHCSA8 خيارات, 10 أمثلة

  • kill

    Send a signal to processes by PID (or job number) — by default SIGTERM, a polite request to stop.

    امتحان RHCSA للتغييرات8 خيارات, 11 أمثلة

  • killall

    Send a signal to all processes with a given name.

    لينكس اليومي للتغييرات16 خيارات, 10 أمثلة

  • nice

    Start a command with a changed CPU priority (nice value from -20 to 19).

    امتحان RHCSA للتغييرات3 خيارات, 10 أمثلة

  • nohup

    Run a command that keeps running after you log out (it ignores the hang-up signal).

    لينكس اليومي2 خيارات, 10 أمثلة

  • pidof

    Print the PIDs of a running program, by its exact name.

    لينكس اليومي13 خيارات, 10 أمثلة

  • pkill

    Find processes by name or other attributes (pgrep), signal them (pkill), or wait for them to end (pidwait).

    امتحان RHCSA للتغييرات32 خيارات, 11 أمثلة

  • ps

    Show a snapshot of running processes: PID, user, CPU and memory use, state and command.

    امتحان RHCSA51 خيارات, 12 أمثلة

  • pstree

    Show the running processes as a tree: who started whom.

    لينكس اليومي20 خيارات, 10 أمثلة

  • renice

    Change the nice value (CPU priority) of running processes, by PID, process group or user.

    امتحان RHCSA للتغييرات7 خيارات, 10 أمثلة

  • systemd-cgls

    Show the control groups (cgroups) as a tree with their processes (systemd-cgls), or their live resource use (systemd-cgtop).

    لينكس اليومي26 خيارات, 10 أمثلة

  • top

    Watch the processes live, sorted by CPU, with load, CPU and memory totals — and kill or renice from it.

    امتحان RHCSA19 خيارات, 10 أمثلة

  • tuned-adm

    Choose and check the tuned performance profile (a set of kernel, CPU, disk and power settings).

    امتحان RHCSA للتغييرات7 خيارات, 10 أمثلة

  • uptime

    Show how long the system runs, how many users are logged in and the load average.

    لينكس اليومي4 خيارات, 10 أمثلة

الخدمات والإقلاع

  • shutdown, reboot, poweroff, halt

    Stop, restart or switch off the system cleanly — now or at a planned time, with a warning to users.

    امتحان RHCSA نعم19 خيارات, 11 أمثلة

  • systemctl

    Control systemd: start, stop, enable and check services and other units, change targets, reboot and power off.

    امتحان RHCSA للتغييرات57 خيارات, 15 أمثلة

  • systemd-analyze

    Analyze systemd: boot time, slow units, unit file errors, timer expressions and the security of services.

    لينكس اليومي27 خيارات, 10 أمثلة

الجدولة

  • at

    Run commands once at a later time (at), list (atq) or remove (atrm) those jobs, or run them when the load is low (batch).

    امتحان RHCSA14 خيارات, 11 أمثلة

  • crontab

    Edit, list or remove the cron job list (crontab) of a user.

    امتحان RHCSA للتغييرات11 خيارات, 12 أمثلة

  • systemd-run

    Run a command as a temporary (transient) systemd service or scope — now, later with a timer, or with resource limits.

    لينكس اليومي للتغييرات35 خيارات, 10 أمثلة

السجلات

  • journalctl

    Read and search the systemd journal: by service, time, priority, boot, user and any field.

    امتحان RHCSA للتغييرات53 خيارات, 15 أمثلة

  • logger

    Write a message to the system log (journal and rsyslog) — from the command line or a script.

    امتحان RHCSA24 خيارات, 10 أمثلة

  • logrotate

    Rotate, compress and delete old log files by the rules in /etc/logrotate.conf and /etc/logrotate.d/.

    امتحان RHCSA نعم11 خيارات, 10 أمثلة

حزم البرامج

  • createrepo

    Create the index (repodata) for a folder of RPM files, so dnf can use it as a repository.

    لينكس اليومي للتغييرات21 خيارات, 10 أمثلة

  • dnf

    Install, update, remove and search RPM packages from repositories, with all dependencies.

    امتحان RHCSA للتغييرات50 خيارات, 15 أمثلة

  • flatpak

    Install, update and run (mostly graphical) applications in a sandbox, from Flatpak remotes like Flathub.

    امتحان RHCSA للتغييرات19 خيارات, 11 أمثلة

  • rpm

    Query, verify, install and remove RPM packages directly — mostly used to ask what is installed and which files a package has.

    امتحان RHCSA للتغييرات62 خيارات, 13 أمثلة

  • subscription-manager

    Register a RHEL system with Red Hat, and turn Red Hat repositories on or off.

    امتحان RHCSA نعم23 خيارات, 12 أمثلة

الأقراص وأنظمة الملفات

  • automount

    The autofs daemon: mounts file systems (mostly NFS) when they are used and unmounts them when idle. Managed with systemctl; the command helps debugging.

    امتحان RHCSA نعم18 خيارات, 10 أمثلة

  • blkid

    Show the UUID, label and type of file systems and swap spaces — the values you need for /etc/fstab.

    امتحان RHCSA للتغييرات20 خيارات, 10 أمثلة

  • dd

    Copy data block by block: make disk images, write ISO files to USB, create files of a fixed size, wipe or test disks.

    لينكس اليومي للتغييرات15 خيارات, 11 أمثلة

  • df

    Show how much space is used and free on each mounted file system.

    امتحان RHCSA18 خيارات, 11 أمثلة

  • du

    Show how much disk space files and folders use.

    لينكس اليومي27 خيارات, 12 أمثلة

  • dumpe2fs

    Show the superblock and block group details of an ext2/ext3/ext4 file system.

    لينكس اليومي نعم10 خيارات, 10 أمثلة

  • exportfs

    Manage the NFS export table: apply changes of /etc/exports, show the active exports, or export a folder for a moment.

    امتحان RHCSA نعم9 خيارات, 10 أمثلة

  • fallocate

    Reserve disk space for a file at once (no data is written), or punch holes into a file.

    لينكس اليومي12 خيارات, 10 أمثلة

  • fdisk

    Create, delete and change partitions on MBR and GPT disks with a menu.

    امتحان RHCSA نعم17 خيارات, 10 أمثلة

  • findmnt

    Show mounted file systems as a tree, find one mount, or check /etc/fstab for errors.

    امتحان RHCSA43 خيارات, 11 أمثلة

  • fsck

    Check and repair file systems — the front end fsck, and e2fsck (= fsck.ext4) for ext2/3/4.

    امتحان RHCSA نعم31 خيارات, 10 أمثلة

  • gdisk

    Edit GPT partition tables with a menu (like fdisk, made for GPT).

    إضافي نعم1 خيارات, 10 أمثلة

  • lsblk

    List disks, partitions, LVM volumes and other block devices as a tree, with size, type and mount point.

    امتحان RHCSA33 خيارات, 11 أمثلة

  • mkfs

    Create a file system on a partition or volume (front end for mkfs.xfs, mkfs.ext4, mkfs.vfat …).

    امتحان RHCSA نعم5 خيارات, 10 أمثلة

  • mkfs.ext4

    Create an ext4 (or ext3/ext2) file system.

    امتحان RHCSA نعم30 خيارات, 10 أمثلة

  • mkfs.vfat

    Create a FAT file system (FAT12/16/32) — for USB sticks, SD cards and the EFI system partition.

    لينكس اليومي نعم27 خيارات, 10 أمثلة

  • mkfs.xfs

    Create an XFS file system — the default file system of RHEL.

    امتحان RHCSA نعم16 خيارات, 10 أمثلة

  • mkswap

    Prepare a partition, logical volume or file to be used as swap space.

    امتحان RHCSA نعم14 خيارات, 10 أمثلة

  • mount

    Attach a file system (disk, partition, ISO, network share) to a folder, or show what is mounted.

    امتحان RHCSA للتغييرات29 خيارات, 12 أمثلة

  • parted

    Create, delete, resize and list partitions — in a menu or with one command line (good for scripts).

    امتحان RHCSA نعم8 خيارات, 10 أمثلة

  • partprobe

    Tell the kernel to read the partition table of a disk again.

    امتحان RHCSA نعم5 خيارات, 10 أمثلة

  • resize2fs

    Grow or shrink an ext2/ext3/ext4 file system.

    امتحان RHCSA نعم10 خيارات, 10 أمثلة

  • showmount

    Show the exports of an NFS server (and which clients mounted them).

    امتحان RHCSA6 خيارات, 10 أمثلة

  • swapon

    Switch swap spaces on (swapon) or off (swapoff), and show which are active.

    امتحان RHCSA للتغييرات18 خيارات, 10 أمثلة

  • tune2fs

    Show and change the settings of an ext2/ext3/ext4 file system (label, reserved blocks, default mount options, checks, UUID).

    امتحان RHCSA نعم21 خيارات, 10 أمثلة

  • umount

    Detach a mounted file system from the folder tree.

    امتحان RHCSA للتغييرات18 خيارات, 10 أمثلة

  • wipefs

    List or remove file system, RAID, LVM and partition table signatures from a device (fast, without wiping the data).

    لينكس اليومي نعم14 خيارات, 10 أمثلة

  • xfs_admin

    Show or change the label, UUID and some features of an XFS file system (unmounted).

    امتحان RHCSA نعم12 خيارات, 10 أمثلة

  • xfs_growfs

    Grow a mounted XFS file system to fill its (bigger) device.

    امتحان RHCSA نعم11 خيارات, 10 أمثلة

  • xfs_info

    Show the geometry and features of an XFS file system (block size, allocation groups, log, features).

    لينكس اليومي للتغييرات3 خيارات, 10 أمثلة

  • xfs_repair

    Check and repair a damaged XFS file system (it must be unmounted).

    امتحان RHCSA نعم14 خيارات, 10 أمثلة

LVM

  • lvcreate

    Create a logical volume from the free space of a volume group (lvcreate), or delete one (lvremove).

    امتحان RHCSA نعم46 خيارات, 10 أمثلة

  • lvextend

    Make a logical volume bigger — with -r also its file system, while it stays mounted.

    امتحان RHCSA نعم28 خيارات, 10 أمثلة

  • lvreduce

    Make a logical volume smaller — with -r the file system is shrunk first (ext4 only; XFS cannot shrink).

    امتحان RHCSA نعم21 خيارات, 10 أمثلة

  • lvs

    Show logical volumes: short table (lvs), full details (lvdisplay), or list all (lvscan).

    امتحان RHCSA نعم28 خيارات, 10 أمثلة

  • pvcreate

    Turn a disk or partition into an LVM physical volume (pvcreate), or remove the LVM label again (pvremove).

    امتحان RHCSA نعم27 خيارات, 10 أمثلة

  • pvmove

    Move the data of a physical volume to other PVs in the same VG — while the LVs stay in use.

    لينكس اليومي نعم20 خيارات, 10 أمثلة

  • pvs

    Show physical volumes: short table (pvs), full details (pvdisplay), or scan for PVs (pvscan).

    امتحان RHCSA نعم34 خيارات, 10 أمثلة

  • vgcreate

    Create a volume group from one or more physical volumes (vgcreate), or delete a volume group (vgremove).

    امتحان RHCSA نعم28 خيارات, 10 أمثلة

  • vgextend

    Add physical volumes to a volume group (vgextend), or remove them (vgreduce).

    امتحان RHCSA نعم20 خيارات, 10 أمثلة

  • vgs

    Show volume groups: short table (vgs), full details (vgdisplay), or scan for VGs (vgscan).

    امتحان RHCSA نعم28 خيارات, 10 أمثلة

الشبكة

  • dig

    Ask DNS servers for records (A, AAAA, MX, TXT, NS …) and show the full answer — the main DNS test tool.

    لينكس اليومي42 خيارات, 12 أمثلة

  • host

    Simple DNS lookups with short, readable output.

    لينكس اليومي20 خيارات, 10 أمثلة

  • hostname

    Show the host name (and its FQDN, domain or IP addresses), or set it until the next reboot.

    امتحان RHCSA للتغييرات12 خيارات, 10 أمثلة

  • ip

    عرض وتغيير بطاقات الشبكة والعناوين والمسارات والجيران (الإعدادات الحية في النظام).

    امتحان RHCSA للتغييرات34 خيارات, 15 أمثلة

  • nmcli

    إعداد اتصالات الشبكة وتغييرها والتحقق منها باستخدام NetworkManager.

    امتحان RHCSA للتغييرات45 خيارات, 16 أمثلة

  • nmtui

    A menu in the terminal to edit NetworkManager connections, activate them and set the host name.

    امتحان RHCSA نعم2 خيارات, 10 أمثلة

  • nslookup

    اسأل خادم DNS عن عنوان اسم معيّن، أو عن سجلات DNS أخرى (البريد، النصوص، خوادم الأسماء).

    لينكس اليومي20 خيارات, 14 أمثلة

  • ping

    Send ICMP echo requests to a host to test if it is reachable and how fast it answers.

    امتحان RHCSA38 خيارات, 11 أمثلة

  • ss

    Show network sockets: which ports are listening, which connections are open, and which process owns them.

    امتحان RHCSA للتغييرات39 خيارات, 11 أمثلة

  • tracepath

    Show the routers (hops) on the way to a host and the MTU of the path. Needs no root.

    لينكس اليومي8 خيارات, 10 أمثلة

SSH والعمل عن بُعد

  • rsync

    Copy and synchronize files and folders (locally or over SSH), sending only what changed.

    امتحان RHCSA102 خيارات, 14 أمثلة

  • scp

    Copy files between systems over SSH (secure copy).

    امتحان RHCSA22 خيارات, 12 أمثلة

  • sftp

    Transfer files interactively over SSH, like a secure FTP client.

    امتحان RHCSA24 خيارات, 11 أمثلة

  • ssh

    Log in to another system over an encrypted connection, run remote commands, and make secure tunnels.

    امتحان RHCSA43 خيارات, 14 أمثلة

  • ssh-agent, ssh-add

    Keep unlocked SSH keys in memory (ssh-agent) and load or remove keys there (ssh-add), so you type a passphrase only once.

    امتحان RHCSA30 خيارات, 12 أمثلة

  • ssh-copy-id

    Install your public SSH key on a server, so you can log in with the key instead of a password.

    امتحان RHCSA9 خيارات, 11 أمثلة

  • ssh-keygen

    Create SSH key pairs, change their passphrase, show fingerprints and clean the known_hosts file.

    امتحان RHCSA42 خيارات, 12 أمثلة

  • sshd

    The OpenSSH server. Mostly used through systemctl; the command itself tests the configuration (-t, -T) and helps debugging.

    امتحان RHCSA نعم19 خيارات, 10 أمثلة

SELinux والأمان

  • audit2allow

    Explain SELinux denials (audit2why) or build a policy module that allows them (audit2allow) — the last resort.

    إضافي نعم17 خيارات, 10 أمثلة

  • ausearch

    Search the audit log (/var/log/audit/audit.log): SELinux denials, logins, commands and other kernel audit events.

    امتحان RHCSA نعم38 خيارات, 10 أمثلة

  • chcon

    Change the SELinux context of files directly — only for a quick test, because restorecon or a relabel undoes it.

    امتحان RHCSA نعم13 خيارات, 10 أمثلة

  • getenforce

    Show the SELinux mode (getenforce), or switch between enforcing and permissive until the next reboot (setenforce).

    امتحان RHCSA للتغييرات2 خيارات, 10 أمثلة

  • getsebool

    Show SELinux booleans (getsebool) or switch them on and off (setsebool; with -P permanently).

    امتحان RHCSA للتغييرات4 خيارات, 10 أمثلة

  • restorecon

    Set the SELinux labels of files back to what the policy (and your semanage fcontext rules) say.

    امتحان RHCSA نعم17 خيارات, 10 أمثلة

  • sealert

    Explain SELinux denials in plain text, with the likely cause and the commands that fix it.

    لينكس اليومي نعم9 خيارات, 10 أمثلة

  • semanage

    Change the SELinux policy settings that admins need: file context rules, port types, booleans, permissive domains, user mappings.

    امتحان RHCSA نعم18 خيارات, 11 أمثلة

  • sestatus

    Show the full SELinux status: on or off, current and config mode, policy name and version.

    امتحان RHCSA2 خيارات, 10 أمثلة

الجدار الناري

  • firewall-cmd

    Configure firewalld: zones, services, ports, sources, rich rules, forwarding — at run time or permanently.

    امتحان RHCSA للتغييرات43 خيارات, 12 أمثلة

  • nft

    Show and manage nftables rules: tables, chains, rules and sets — the kernel firewall below firewalld.

    إضافي نعم18 خيارات, 10 أمثلة

النواة والعتاد

  • dmesg

    Show the kernel messages (the kernel ring buffer): hardware found, drivers loaded, disk and memory errors.

    امتحان RHCSA للتغييرات30 خيارات, 11 أمثلة

  • dracut

    Create (or rebuild) the initramfs: the small root file system in RAM that finds and mounts the real root at boot.

    امتحان RHCSA نعم38 خيارات, 10 أمثلة

  • grub2-install

    Install the GRUB 2 boot loader to a disk (BIOS systems) — used to repair a system that does not find its boot loader.

    لينكس اليومي نعم20 خيارات, 10 أمثلة

  • grub2-mkconfig

    Generate the GRUB 2 configuration file from /etc/default/grub and the scripts in /etc/grub.d/.

    امتحان RHCSA نعم4 خيارات, 10 أمثلة

  • grubby

    Show and change the boot entries of GRUB 2: kernel arguments, the default kernel, and entry details.

    امتحان RHCSA نعم25 خيارات, 10 أمثلة

  • insmod

    Load one module file into the kernel (insmod) or remove a loaded module (rmmod) — without dependency handling.

    لينكس اليومي نعم7 خيارات, 10 أمثلة

  • lsinitrd

    Show the content of an initramfs image: dracut modules, files, kernel modules, and the content of single files.

    لينكس اليومي للتغييرات8 خيارات, 10 أمثلة

  • lsmod

    List the kernel modules that are loaded now.

    امتحان RHCSA0 خيارات, 10 أمثلة

  • lspci

    List the PCI devices (network cards, disk controllers, GPUs …) and the drivers that handle them.

    لينكس اليومي للتغييرات22 خيارات, 10 أمثلة

  • lsusb

    List USB buses and the USB devices connected to them.

    لينكس اليومي للتغييرات7 خيارات, 10 أمثلة

  • modinfo

    Show information about a kernel module: file, description, license, dependencies, aliases and parameters.

    امتحان RHCSA11 خيارات, 10 أمثلة

  • modprobe

    Load or unload kernel modules, with their dependencies and the settings from /etc/modprobe.d/.

    امتحان RHCSA نعم20 خيارات, 10 أمثلة

  • sysctl

    Read and change kernel parameters at run time (the files under /proc/sys), and load them from config files.

    امتحان RHCSA للتغييرات14 خيارات, 10 أمثلة

  • udevadm

    Control and query udev, the service that creates device files and runs rules when hardware appears.

    لينكس اليومي للتغييرات38 خيارات, 10 أمثلة

الوقت

  • chronyc

    Talk to the chrony NTP daemon: show time sources, sync state and statistics, or make the clock step.

    امتحان RHCSA للتغييرات13 خيارات, 10 أمثلة

  • date

    Show the date and time in any format, calculate other dates, or set the system clock.

    امتحان RHCSA للتغييرات12 خيارات, 11 أمثلة

  • hwclock

    Read or set the hardware clock (RTC), and copy the time between the hardware clock and the system clock.

    امتحان RHCSA نعم22 خيارات, 10 أمثلة

  • timedatectl

    Show and change the system time, the time zone, the RTC mode and whether NTP sync is on.

    امتحان RHCSA للتغييرات11 خيارات, 10 أمثلة

  • tzselect

    Find the name of a time zone by answering questions (it does not change the system).

    لينكس اليومي4 خيارات, 10 أمثلة

الويب

  • apachectl

    Control and test the Apache web server: check the config syntax, list virtual hosts and modules. (Start and stop with systemctl.)

    امتحان RHCSA نعم16 خيارات, 10 أمثلة

  • curl

    Send requests to URLs (HTTP, HTTPS, FTP …): test web servers, call APIs, download files, check TLS.

    لينكس اليومي57 خيارات, 12 أمثلة

معلومات النظام

  • chroot

    Run a command (default: a shell) with another folder as the root / — the key step to repair an installed system from a rescue shell.

    امتحان RHCSA نعم6 خيارات, 10 أمثلة

  • hostnamectl

    Show and change the hostname of the system, and see the OS, kernel and hardware facts.

    امتحان RHCSA للتغييرات10 خيارات, 11 أمثلة

  • lscpu

    Show the CPU: architecture, model, sockets, cores, threads, caches, flags, virtualization and CPU security bugs.

    لينكس اليومي15 خيارات, 10 أمثلة

  • nproc

    Print the number of CPUs (cores/threads) that the current process can use.

    لينكس اليومي4 خيارات, 10 أمثلة

  • uname

    Show the name and version of the kernel, the machine type and the hostname.

    لينكس اليومي11 خيارات, 11 أمثلة