أوامر لينكس
كل أمر مع كل خياراته وعلى الأقل 10 أمثلة حقيقية من عمل DevSecOps اليومي. ابحث بالاسم أو الخيار أو المهمة أو المثال.
- 212 الأوامر
- 4,061 الخيارات
- 2,303 أمثلة
الطرفية والمساعدة
alias, unaliasMake a short name for a longer command (alias), or remove it (unalias).
امتحان RHCSA2 خيارات, 11 أمثلة
apropos, whatisSearch the short descriptions of the man pages (apropos), or show the description of one page (whatis).
امتحان RHCSA15 خيارات, 11 أمثلة
bashThe Bourne Again Shell: the default command shell of RHEL, and the program that runs shell scripts.
امتحان RHCSA20 خيارات, 10 أمثلة
chvtSwitch the screen of the machine to another virtual terminal (tty1 … tty12).
لينكس اليومي# نعم3 خيارات, 10 أمثلة
clearClean the terminal screen (and, by default, the scrollback buffer).
لينكس اليومي3 خيارات, 11 أمثلة
echoPrint text or the value of variables to the screen (or to a file with redirection).
امتحان RHCSA13 خيارات, 12 أمثلة
envShow the environment variables, or run a program with a changed environment.
امتحان RHCSA13 خيارات, 11 أمثلة
exitEnd the shell or script with an exit status (0 = success, 1–255 = error); return does the same for a function.
لينكس اليومي1 خيارات, 10 أمثلة
export, unsetMake a shell variable available to the programs you start (export), or remove a variable (unset).
امتحان RHCSA6 خيارات, 11 أمثلة
historyShow, search, repeat and clear the commands you typed before.
امتحان RHCSA22 خيارات, 12 أمثلة
infoRead the longer GNU documentation (Texinfo manuals) with chapters and links.
امتحان RHCSA13 خيارات, 11 أمثلة
manRead the manual page of a command, a configuration file or a system call.
امتحان RHCSA39 خيارات, 12 أمثلة
mandbBuild or update the search database of the man pages (used by man -k, apropos and whatis).
امتحان RHCSA# نعم12 خيارات, 11 أمثلة
printenvPrint the value of environment variables (all, or the ones you name).
لينكس اليومي4 خيارات, 11 أمثلة
printfPrint formatted text: columns, numbers, padding — more exact than echo.
لينكس اليومي2 خيارات, 10 أمثلة
readRead one line of input (from the keyboard, a file or a pipe) into variables.
امتحان RHCSA11 خيارات, 10 أمثلة
seqPrint a list of numbers — for loops and test data.
لينكس اليومي5 خيارات, 10 أمثلة
setTurn shell options on or off (like -x trace, -e stop on error), set the positional parameters, or list all variables.
لينكس اليومي23 خيارات, 10 أمثلة
sleepWait for a given time.
لينكس اليومي3 خيارات, 10 أمثلة
sourceRun the commands of a file in the current shell, so its variables, aliases and functions stay.
امتحان RHCSA2 خيارات, 10 أمثلة
testCheck a condition (file exists, strings equal, number greater …) and return 0 (true) or 1 (false). Also written as [ … ].
امتحان RHCSA0 خيارات, 11 أمثلة
ttyPrint the name of the terminal device you are using (like /dev/tty3 or /dev/pts/0).
لينكس اليومي3 خيارات, 11 أمثلة
typeShow what a command name really is: an alias, a shell keyword, a function, a built-in or a program file.
امتحان RHCSA5 خيارات, 11 أمثلة
whichShow the full path of the program that runs for a command name.
لينكس اليومي12 خيارات, 11 أمثلة
الملفات والمجلدات
cdChange the current folder of your shell.
امتحان RHCSA6 خيارات, 11 أمثلة
cpCopy files and folders.
امتحان RHCSA35 خيارات, 12 أمثلة
fileFind out what kind of data a file contains (text, script, program, image, archive …), whatever its name.
لينكس اليومي30 خيارات, 11 أمثلة
findSearch a folder tree for files that match tests (name, owner, size, time, permissions …) and act on them.
امتحان RHCSA68 خيارات, 17 أمثلة
lnMake links: hard links (a second name for the same data) or symbolic links (a pointer to a path).
امتحان RHCSA16 خيارات, 11 أمثلة
lsList the files in a folder, with details like permissions, owner, size and time.
امتحان RHCSA60 خيارات, 13 أمثلة
mkdirCreate new folders (directories), also with all missing parent folders.
امتحان RHCSA7 خيارات, 11 أمثلة
mvMove files and folders, or rename them.
امتحان RHCSA17 خيارات, 11 أمثلة
pwdPrint the full path of the folder you are in (print working directory).
لينكس اليومي4 خيارات, 11 أمثلة
rmDelete files, and with -r folders with all their content.
امتحان RHCSA12 خيارات, 11 أمثلة
rmdirRemove empty folders (and refuse to remove folders that still have files).
امتحان RHCSA5 خيارات, 11 أمثلة
statShow all details of a file: size, blocks, inode, links, permissions, owner, SELinux context and all its times.
لينكس اليومي26 خيارات, 11 أمثلة
touchCreate an empty file, or change the access and modification times of a file.
امتحان RHCSA11 خيارات, 11 أمثلة
النصوص والبحث
awkProcess text line by line as fields: print columns, filter by conditions, count and sum.
امتحان RHCSA28 خيارات, 13 أمثلة
cat, tacPrint files to the screen, join files together (cat), or print them last line first (tac).
امتحان RHCSA15 خيارات, 12 أمثلة
cutTake parts of each line: fields split by a separator, or character positions.
امتحان RHCSA15 خيارات, 11 أمثلة
grepSearch files or command output for lines that match a pattern (text or regular expression).
امتحان RHCSA48 خيارات, 14 أمثلة
headShow the first lines (or bytes) of files or command output.
امتحان RHCSA8 خيارات, 11 أمثلة
lessRead a file or command output one screen at a time, with scrolling and searching.
امتحان RHCSA40 خيارات, 12 أمثلة
moreShow text one screen at a time (the simple, older pager).
لينكس اليومي14 خيارات, 11 أمثلة
nanoEdit text files with a simple terminal editor that shows its keys on the screen.
امتحان RHCSA56 خيارات, 11 أمثلة
sedChange text as it flows through: replace words, delete or print lines — and edit files in place with -i.
امتحان RHCSA35 خيارات, 13 أمثلة
sortPut lines in order: alphabetical, by numbers, by sizes, by versions, by a chosen column.
امتحان RHCSA31 خيارات, 12 أمثلة
tailShow the last lines of files, and follow a log file live while it grows.
امتحان RHCSA13 خيارات, 11 أمثلة
teeCopy the input to the screen (or the next command) and to one or more files at the same time.
لينكس اليومي6 خيارات, 11 أمثلة
trReplace, delete or squeeze single characters in a text stream.
لينكس اليومي12 خيارات, 11 أمثلة
uniqRemove or count repeated lines that are next to each other (use it after sort).
لينكس اليومي13 خيارات, 11 أمثلة
vimEdit text files in the terminal with the vi/vim editor (keys and commands, no mouse needed).
امتحان RHCSA28 خيارات, 12 أمثلة
wcCount lines, words, characters and bytes.
امتحان RHCSA9 خيارات, 11 أمثلة
الأرشفة والضغط
bzip2, bunzip2, bzcatCompress files to .bz2 (bzip2), unpack them (bunzip2), or read them without unpacking (bzcat).
امتحان RHCSA14 خيارات, 12 أمثلة
gzip, gunzip, zcatCompress files to .gz (gzip), unpack them (gunzip), or read them without unpacking (zcat).
امتحان RHCSA19 خيارات, 12 أمثلة
tarPack files and folders into one archive file (and unpack it), with optional compression.
امتحان RHCSA128 خيارات, 13 أمثلة
xz, unxz, xzcatCompress files to .xz with very good compression (xz), unpack them (unxz), or read them (xzcat).
لينكس اليومي21 خيارات, 11 أمثلة
zip, unzipPack files into a .zip archive (zip) and unpack it (unzip) — the format that Windows and macOS open directly.
لينكس اليومي50 خيارات, 12 أمثلة
المستخدمون والمجموعات
chageShow and change the password aging and the expire date of an account.
امتحان RHCSA# للتغييرات11 خيارات, 12 أمثلة
getentLook up entries in the system databases (users, groups, hosts, services …) the same way programs do.
امتحان RHCSA6 خيارات, 12 أمثلة
gpasswdAdd or remove members of a group, set group admins, or set a group password.
امتحان RHCSA# للتغييرات8 خيارات, 10 أمثلة
groupaddCreate a group (groupadd), change it (groupmod) or delete it (groupdel).
امتحان RHCSA# نعم17 خيارات, 11 أمثلة
groupsShow the names of the groups a user is in.
لينكس اليومي3 خيارات, 10 أمثلة
idShow the UID, primary group and all groups of a user (or of yourself).
امتحان RHCSA10 خيارات, 11 أمثلة
lognamePrint the name of the user who logged in to this session (also after su or sudo).
إضافي2 خيارات, 10 أمثلة
newgrpStart a new shell with another primary group — useful right after you were added to a group.
لينكس اليومي2 خيارات, 10 أمثلة
passwdSet or change a password, and lock, unlock, expire or show the password of an account.
امتحان RHCSA# للتغييرات17 خيارات, 12 أمثلة
pkexecRun a program as another user (by default root) when polkit allows it.
إضافي# للتغييرات5 خيارات, 10 أمثلة
suStart a shell (or one command) as another user. You type the password of that user.
امتحان RHCSA# للتغييرات12 خيارات, 11 أمثلة
sudoRun a command as root (or another user) with your own password, if the sudo rules allow it.
امتحان RHCSA# للتغييرات31 خيارات, 12 أمثلة
useraddCreate a new user account (and by default its private group and home folder).
امتحان RHCSA# نعم26 خيارات, 11 أمثلة
userdelDelete a user account, and with -r also its home folder and mail.
امتحان RHCSA# نعم6 خيارات, 11 أمثلة
usermodChange an existing user: groups, shell, home folder, name, UID, expire date, lock.
امتحان RHCSA# نعم25 خيارات, 12 أمثلة
vipwEdit /etc/passwd (vipw) or /etc/group (vigr) safely by hand, with a lock.
لينكس اليومي# نعم6 خيارات, 11 أمثلة
visudoEdit the sudo rules safely: visudo locks the file and checks the syntax before it saves.
امتحان RHCSA# نعم9 خيارات, 11 أمثلة
wShow who is logged in and what each user is doing now, plus the uptime and load of the system.
لينكس اليومي10 خيارات, 11 أمثلة
whoShow who is logged in now, on which terminal, since when and from where.
لينكس اليومي16 خيارات, 11 أمثلة
whoamiPrint the user name you are working as right now (the effective user).
لينكس اليومي2 خيارات, 11 أمثلة
الصلاحيات
chattrSet or remove file attributes, like immutable (no change at all) and append only.
لينكس اليومي# نعم5 خيارات, 10 أمثلة
chgrpChange the group of files and directories.
امتحان RHCSA# للتغييرات14 خيارات, 10 أمثلة
chmodChange the permissions (mode) of files and directories, with numbers or letters.
امتحان RHCSA# للتغييرات9 خيارات, 12 أمثلة
chownChange the owner and/or the group of files and directories.
امتحان RHCSA# نعم15 خيارات, 11 أمثلة
getfaclShow the access control lists (ACLs) of files and directories.
لينكس اليومي14 خيارات, 10 أمثلة
lsattrList the file attributes (like i = immutable, a = append only).
لينكس اليومي# للتغييرات7 خيارات, 10 أمثلة
nameiFollow a path step by step and show every directory and link on the way, with owner and permissions.
لينكس اليومي9 خيارات, 10 أمثلة
setfaclAdd, change or remove ACL entries: rights for extra users and groups on files and directories.
لينكس اليومي# للتغييرات18 خيارات, 11 أمثلة
umaskShow or set the mask that decides the permissions of new files and directories.
امتحان RHCSA3 خيارات, 11 أمثلة
العمليات والمهام
freeShow the use of memory (RAM) and swap.
لينكس اليومي17 خيارات, 10 أمثلة
jobsList the jobs of your shell, and move them between foreground (fg) and background (bg).
امتحان RHCSA8 خيارات, 10 أمثلة
killSend a signal to processes by PID (or job number) — by default SIGTERM, a polite request to stop.
امتحان RHCSA# للتغييرات8 خيارات, 11 أمثلة
killallSend a signal to all processes with a given name.
لينكس اليومي# للتغييرات16 خيارات, 10 أمثلة
niceStart a command with a changed CPU priority (nice value from -20 to 19).
امتحان RHCSA# للتغييرات3 خيارات, 10 أمثلة
nohupRun a command that keeps running after you log out (it ignores the hang-up signal).
لينكس اليومي2 خيارات, 10 أمثلة
pidofPrint the PIDs of a running program, by its exact name.
لينكس اليومي13 خيارات, 10 أمثلة
pkillFind processes by name or other attributes (pgrep), signal them (pkill), or wait for them to end (pidwait).
امتحان RHCSA# للتغييرات32 خيارات, 11 أمثلة
psShow a snapshot of running processes: PID, user, CPU and memory use, state and command.
امتحان RHCSA51 خيارات, 12 أمثلة
pstreeShow the running processes as a tree: who started whom.
لينكس اليومي20 خيارات, 10 أمثلة
reniceChange the nice value (CPU priority) of running processes, by PID, process group or user.
امتحان RHCSA# للتغييرات7 خيارات, 10 أمثلة
systemd-cglsShow the control groups (cgroups) as a tree with their processes (systemd-cgls), or their live resource use (systemd-cgtop).
لينكس اليومي26 خيارات, 10 أمثلة
topWatch the processes live, sorted by CPU, with load, CPU and memory totals — and kill or renice from it.
امتحان RHCSA19 خيارات, 10 أمثلة
tuned-admChoose and check the tuned performance profile (a set of kernel, CPU, disk and power settings).
امتحان RHCSA# للتغييرات7 خيارات, 10 أمثلة
uptimeShow how long the system runs, how many users are logged in and the load average.
لينكس اليومي4 خيارات, 10 أمثلة
الخدمات والإقلاع
shutdown, reboot, poweroff, haltStop, restart or switch off the system cleanly — now or at a planned time, with a warning to users.
امتحان RHCSA# نعم19 خيارات, 11 أمثلة
systemctlControl systemd: start, stop, enable and check services and other units, change targets, reboot and power off.
امتحان RHCSA# للتغييرات57 خيارات, 15 أمثلة
systemd-analyzeAnalyze systemd: boot time, slow units, unit file errors, timer expressions and the security of services.
لينكس اليومي27 خيارات, 10 أمثلة
الجدولة
atRun 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 أمثلة
crontabEdit, list or remove the cron job list (crontab) of a user.
امتحان RHCSA# للتغييرات11 خيارات, 12 أمثلة
systemd-runRun a command as a temporary (transient) systemd service or scope — now, later with a timer, or with resource limits.
لينكس اليومي# للتغييرات35 خيارات, 10 أمثلة
السجلات
journalctlRead and search the systemd journal: by service, time, priority, boot, user and any field.
امتحان RHCSA# للتغييرات53 خيارات, 15 أمثلة
loggerWrite a message to the system log (journal and rsyslog) — from the command line or a script.
امتحان RHCSA24 خيارات, 10 أمثلة
logrotateRotate, compress and delete old log files by the rules in /etc/logrotate.conf and /etc/logrotate.d/.
امتحان RHCSA# نعم11 خيارات, 10 أمثلة
حزم البرامج
createrepoCreate the index (repodata) for a folder of RPM files, so dnf can use it as a repository.
لينكس اليومي# للتغييرات21 خيارات, 10 أمثلة
dnfInstall, update, remove and search RPM packages from repositories, with all dependencies.
امتحان RHCSA# للتغييرات50 خيارات, 15 أمثلة
flatpakInstall, update and run (mostly graphical) applications in a sandbox, from Flatpak remotes like Flathub.
امتحان RHCSA# للتغييرات19 خيارات, 11 أمثلة
rpmQuery, verify, install and remove RPM packages directly — mostly used to ask what is installed and which files a package has.
امتحان RHCSA# للتغييرات62 خيارات, 13 أمثلة
subscription-managerRegister a RHEL system with Red Hat, and turn Red Hat repositories on or off.
امتحان RHCSA# نعم23 خيارات, 12 أمثلة
الأقراص وأنظمة الملفات
automountThe 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 أمثلة
blkidShow the UUID, label and type of file systems and swap spaces — the values you need for /etc/fstab.
امتحان RHCSA# للتغييرات20 خيارات, 10 أمثلة
ddCopy data block by block: make disk images, write ISO files to USB, create files of a fixed size, wipe or test disks.
لينكس اليومي# للتغييرات15 خيارات, 11 أمثلة
dfShow how much space is used and free on each mounted file system.
امتحان RHCSA18 خيارات, 11 أمثلة
duShow how much disk space files and folders use.
لينكس اليومي27 خيارات, 12 أمثلة
dumpe2fsShow the superblock and block group details of an ext2/ext3/ext4 file system.
لينكس اليومي# نعم10 خيارات, 10 أمثلة
exportfsManage the NFS export table: apply changes of /etc/exports, show the active exports, or export a folder for a moment.
امتحان RHCSA# نعم9 خيارات, 10 أمثلة
fallocateReserve disk space for a file at once (no data is written), or punch holes into a file.
لينكس اليومي12 خيارات, 10 أمثلة
fdiskCreate, delete and change partitions on MBR and GPT disks with a menu.
امتحان RHCSA# نعم17 خيارات, 10 أمثلة
findmntShow mounted file systems as a tree, find one mount, or check /etc/fstab for errors.
امتحان RHCSA43 خيارات, 11 أمثلة
fsckCheck and repair file systems — the front end fsck, and e2fsck (= fsck.ext4) for ext2/3/4.
امتحان RHCSA# نعم31 خيارات, 10 أمثلة
gdiskEdit GPT partition tables with a menu (like fdisk, made for GPT).
إضافي# نعم1 خيارات, 10 أمثلة
lsblkList disks, partitions, LVM volumes and other block devices as a tree, with size, type and mount point.
امتحان RHCSA33 خيارات, 11 أمثلة
mkfsCreate a file system on a partition or volume (front end for mkfs.xfs, mkfs.ext4, mkfs.vfat …).
امتحان RHCSA# نعم5 خيارات, 10 أمثلة
mkfs.ext4Create an ext4 (or ext3/ext2) file system.
امتحان RHCSA# نعم30 خيارات, 10 أمثلة
mkfs.vfatCreate a FAT file system (FAT12/16/32) — for USB sticks, SD cards and the EFI system partition.
لينكس اليومي# نعم27 خيارات, 10 أمثلة
mkfs.xfsCreate an XFS file system — the default file system of RHEL.
امتحان RHCSA# نعم16 خيارات, 10 أمثلة
mkswapPrepare a partition, logical volume or file to be used as swap space.
امتحان RHCSA# نعم14 خيارات, 10 أمثلة
mountAttach a file system (disk, partition, ISO, network share) to a folder, or show what is mounted.
امتحان RHCSA# للتغييرات29 خيارات, 12 أمثلة
partedCreate, delete, resize and list partitions — in a menu or with one command line (good for scripts).
امتحان RHCSA# نعم8 خيارات, 10 أمثلة
partprobeTell the kernel to read the partition table of a disk again.
امتحان RHCSA# نعم5 خيارات, 10 أمثلة
resize2fsGrow or shrink an ext2/ext3/ext4 file system.
امتحان RHCSA# نعم10 خيارات, 10 أمثلة
showmountShow the exports of an NFS server (and which clients mounted them).
امتحان RHCSA6 خيارات, 10 أمثلة
swaponSwitch swap spaces on (swapon) or off (swapoff), and show which are active.
امتحان RHCSA# للتغييرات18 خيارات, 10 أمثلة
tune2fsShow and change the settings of an ext2/ext3/ext4 file system (label, reserved blocks, default mount options, checks, UUID).
امتحان RHCSA# نعم21 خيارات, 10 أمثلة
umountDetach a mounted file system from the folder tree.
امتحان RHCSA# للتغييرات18 خيارات, 10 أمثلة
wipefsList or remove file system, RAID, LVM and partition table signatures from a device (fast, without wiping the data).
لينكس اليومي# نعم14 خيارات, 10 أمثلة
xfs_adminShow or change the label, UUID and some features of an XFS file system (unmounted).
امتحان RHCSA# نعم12 خيارات, 10 أمثلة
xfs_growfsGrow a mounted XFS file system to fill its (bigger) device.
امتحان RHCSA# نعم11 خيارات, 10 أمثلة
xfs_infoShow the geometry and features of an XFS file system (block size, allocation groups, log, features).
لينكس اليومي# للتغييرات3 خيارات, 10 أمثلة
xfs_repairCheck and repair a damaged XFS file system (it must be unmounted).
امتحان RHCSA# نعم14 خيارات, 10 أمثلة
LVM
lvcreateCreate a logical volume from the free space of a volume group (lvcreate), or delete one (lvremove).
امتحان RHCSA# نعم46 خيارات, 10 أمثلة
lvextendMake a logical volume bigger — with -r also its file system, while it stays mounted.
امتحان RHCSA# نعم28 خيارات, 10 أمثلة
lvreduceMake a logical volume smaller — with -r the file system is shrunk first (ext4 only; XFS cannot shrink).
امتحان RHCSA# نعم21 خيارات, 10 أمثلة
lvsShow logical volumes: short table (lvs), full details (lvdisplay), or list all (lvscan).
امتحان RHCSA# نعم28 خيارات, 10 أمثلة
pvcreateTurn a disk or partition into an LVM physical volume (pvcreate), or remove the LVM label again (pvremove).
امتحان RHCSA# نعم27 خيارات, 10 أمثلة
pvmoveMove the data of a physical volume to other PVs in the same VG — while the LVs stay in use.
لينكس اليومي# نعم20 خيارات, 10 أمثلة
pvsShow physical volumes: short table (pvs), full details (pvdisplay), or scan for PVs (pvscan).
امتحان RHCSA# نعم34 خيارات, 10 أمثلة
vgcreateCreate a volume group from one or more physical volumes (vgcreate), or delete a volume group (vgremove).
امتحان RHCSA# نعم28 خيارات, 10 أمثلة
vgextendAdd physical volumes to a volume group (vgextend), or remove them (vgreduce).
امتحان RHCSA# نعم20 خيارات, 10 أمثلة
vgsShow volume groups: short table (vgs), full details (vgdisplay), or scan for VGs (vgscan).
امتحان RHCSA# نعم28 خيارات, 10 أمثلة
الشبكة
digAsk DNS servers for records (A, AAAA, MX, TXT, NS …) and show the full answer — the main DNS test tool.
لينكس اليومي42 خيارات, 12 أمثلة
hostSimple DNS lookups with short, readable output.
لينكس اليومي20 خيارات, 10 أمثلة
hostnameShow 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 أمثلة
nmtuiA menu in the terminal to edit NetworkManager connections, activate them and set the host name.
امتحان RHCSA# نعم2 خيارات, 10 أمثلة
nslookupاسأل خادم DNS عن عنوان اسم معيّن، أو عن سجلات DNS أخرى (البريد، النصوص، خوادم الأسماء).
لينكس اليومي20 خيارات, 14 أمثلة
pingSend ICMP echo requests to a host to test if it is reachable and how fast it answers.
امتحان RHCSA38 خيارات, 11 أمثلة
ssShow network sockets: which ports are listening, which connections are open, and which process owns them.
امتحان RHCSA# للتغييرات39 خيارات, 11 أمثلة
tracepathShow the routers (hops) on the way to a host and the MTU of the path. Needs no root.
لينكس اليومي8 خيارات, 10 أمثلة
SSH والعمل عن بُعد
rsyncCopy and synchronize files and folders (locally or over SSH), sending only what changed.
امتحان RHCSA102 خيارات, 14 أمثلة
scpCopy files between systems over SSH (secure copy).
امتحان RHCSA22 خيارات, 12 أمثلة
sftpTransfer files interactively over SSH, like a secure FTP client.
امتحان RHCSA24 خيارات, 11 أمثلة
sshLog in to another system over an encrypted connection, run remote commands, and make secure tunnels.
امتحان RHCSA43 خيارات, 14 أمثلة
ssh-agent, ssh-addKeep 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-idInstall your public SSH key on a server, so you can log in with the key instead of a password.
امتحان RHCSA9 خيارات, 11 أمثلة
ssh-keygenCreate SSH key pairs, change their passphrase, show fingerprints and clean the known_hosts file.
امتحان RHCSA42 خيارات, 12 أمثلة
sshdThe OpenSSH server. Mostly used through systemctl; the command itself tests the configuration (-t, -T) and helps debugging.
امتحان RHCSA# نعم19 خيارات, 10 أمثلة
SELinux والأمان
audit2allowExplain SELinux denials (audit2why) or build a policy module that allows them (audit2allow) — the last resort.
إضافي# نعم17 خيارات, 10 أمثلة
ausearchSearch the audit log (/var/log/audit/audit.log): SELinux denials, logins, commands and other kernel audit events.
امتحان RHCSA# نعم38 خيارات, 10 أمثلة
chconChange the SELinux context of files directly — only for a quick test, because restorecon or a relabel undoes it.
امتحان RHCSA# نعم13 خيارات, 10 أمثلة
getenforceShow the SELinux mode (getenforce), or switch between enforcing and permissive until the next reboot (setenforce).
امتحان RHCSA# للتغييرات2 خيارات, 10 أمثلة
getseboolShow SELinux booleans (getsebool) or switch them on and off (setsebool; with -P permanently).
امتحان RHCSA# للتغييرات4 خيارات, 10 أمثلة
restoreconSet the SELinux labels of files back to what the policy (and your semanage fcontext rules) say.
امتحان RHCSA# نعم17 خيارات, 10 أمثلة
sealertExplain SELinux denials in plain text, with the likely cause and the commands that fix it.
لينكس اليومي# نعم9 خيارات, 10 أمثلة
semanageChange the SELinux policy settings that admins need: file context rules, port types, booleans, permissive domains, user mappings.
امتحان RHCSA# نعم18 خيارات, 11 أمثلة
sestatusShow the full SELinux status: on or off, current and config mode, policy name and version.
امتحان RHCSA2 خيارات, 10 أمثلة
الجدار الناري
firewall-cmdConfigure firewalld: zones, services, ports, sources, rich rules, forwarding — at run time or permanently.
امتحان RHCSA# للتغييرات43 خيارات, 12 أمثلة
nftShow and manage nftables rules: tables, chains, rules and sets — the kernel firewall below firewalld.
إضافي# نعم18 خيارات, 10 أمثلة
النواة والعتاد
dmesgShow the kernel messages (the kernel ring buffer): hardware found, drivers loaded, disk and memory errors.
امتحان RHCSA# للتغييرات30 خيارات, 11 أمثلة
dracutCreate (or rebuild) the initramfs: the small root file system in RAM that finds and mounts the real root at boot.
امتحان RHCSA# نعم38 خيارات, 10 أمثلة
grub2-installInstall 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-mkconfigGenerate the GRUB 2 configuration file from /etc/default/grub and the scripts in /etc/grub.d/.
امتحان RHCSA# نعم4 خيارات, 10 أمثلة
grubbyShow and change the boot entries of GRUB 2: kernel arguments, the default kernel, and entry details.
امتحان RHCSA# نعم25 خيارات, 10 أمثلة
insmodLoad one module file into the kernel (insmod) or remove a loaded module (rmmod) — without dependency handling.
لينكس اليومي# نعم7 خيارات, 10 أمثلة
lsinitrdShow the content of an initramfs image: dracut modules, files, kernel modules, and the content of single files.
لينكس اليومي# للتغييرات8 خيارات, 10 أمثلة
lsmodList the kernel modules that are loaded now.
امتحان RHCSA0 خيارات, 10 أمثلة
lspciList the PCI devices (network cards, disk controllers, GPUs …) and the drivers that handle them.
لينكس اليومي# للتغييرات22 خيارات, 10 أمثلة
lsusbList USB buses and the USB devices connected to them.
لينكس اليومي# للتغييرات7 خيارات, 10 أمثلة
modinfoShow information about a kernel module: file, description, license, dependencies, aliases and parameters.
امتحان RHCSA11 خيارات, 10 أمثلة
modprobeLoad or unload kernel modules, with their dependencies and the settings from /etc/modprobe.d/.
امتحان RHCSA# نعم20 خيارات, 10 أمثلة
sysctlRead and change kernel parameters at run time (the files under /proc/sys), and load them from config files.
امتحان RHCSA# للتغييرات14 خيارات, 10 أمثلة
udevadmControl and query udev, the service that creates device files and runs rules when hardware appears.
لينكس اليومي# للتغييرات38 خيارات, 10 أمثلة
الوقت
chronycTalk to the chrony NTP daemon: show time sources, sync state and statistics, or make the clock step.
امتحان RHCSA# للتغييرات13 خيارات, 10 أمثلة
dateShow the date and time in any format, calculate other dates, or set the system clock.
امتحان RHCSA# للتغييرات12 خيارات, 11 أمثلة
hwclockRead or set the hardware clock (RTC), and copy the time between the hardware clock and the system clock.
امتحان RHCSA# نعم22 خيارات, 10 أمثلة
timedatectlShow and change the system time, the time zone, the RTC mode and whether NTP sync is on.
امتحان RHCSA# للتغييرات11 خيارات, 10 أمثلة
tzselectFind the name of a time zone by answering questions (it does not change the system).
لينكس اليومي4 خيارات, 10 أمثلة
الويب
apachectlControl and test the Apache web server: check the config syntax, list virtual hosts and modules. (Start and stop with systemctl.)
امتحان RHCSA# نعم16 خيارات, 10 أمثلة
curlSend requests to URLs (HTTP, HTTPS, FTP …): test web servers, call APIs, download files, check TLS.
لينكس اليومي57 خيارات, 12 أمثلة
معلومات النظام
chrootRun 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 أمثلة
hostnamectlShow and change the hostname of the system, and see the OS, kernel and hardware facts.
امتحان RHCSA# للتغييرات10 خيارات, 11 أمثلة
lscpuShow the CPU: architecture, model, sockets, cores, threads, caches, flags, virtualization and CPU security bugs.
لينكس اليومي15 خيارات, 10 أمثلة
nprocPrint the number of CPUs (cores/threads) that the current process can use.
لينكس اليومي4 خيارات, 10 أمثلة
unameShow the name and version of the kernel, the machine type and the hostname.
لينكس اليومي11 خيارات, 11 أمثلة