VEOS User Guide [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:veos:user_manual [2023/08/29 08:00] elena.krasnobryzhen:veos:user_manual [2026/05/28 15:48] (current) elena.krasnobryzh
Line 1: Line 1:
-====== User'Guide ====== +{{indexmenu_n>7}} 
-{{indexmenu_n>6}}+====== VEOS User Guide ======
  
-===== System boot ===== +**VEOS** is a Linux-based operating system designed for managing telecom equipment and services.\\   
-VEOS is started automatically after the computer is started and the system BIOS is initializedThe GRUB loader menu appears on the screen, which lists the possible options for loading the operating system.+This guide contains basic instructions for working with the system, information about common commands, and usage techniques.
  
-Use the Up and Down arrow keys to select the desired option. In addition to the main OS startup options from this menu, VEOS may be loaded in safe mode or memory check may be run. The default boot of the operating system (the first in the liststarts automatically after a short waiting time (usually a few seconds). By pressing the Enter key, you can start downloading immediately. By pressing the E key, you can open the parameters editor of the current download point. If the system is configured correctly, then there is no need to edit them. During the VEOS boot processthe user can monitor the boot process information, which displays the startup stages of various services and software servers in the form of separate strings on the monitor screen.+**Key user features:** 
 +  * Multi-user operation with permission separation 
 +  * Execution of standard Linux commands and utilities 
 +  * Access to the built-in help system (''%%man%%'', ''%%info%%'') 
 +  * File and process management from the command line 
 +  * Installation of additional software using the package manager (''%%dnf%%'')
  
-Each string begins with the word [Message] (FAILED or OK), which is a sign of normal or abnormal boot stage completion. The word Message=FAILED indicates the unsuccessful completion of the system component loading, which requires the intervention and special actions of the system administrator. Loading the operating system may take some time, depending on the performance of the computer. The main stages of VEOS loading —core boot, attaching (mounting) file systems, starting system services — can be periodically supplemented by checking file systems for errors. In this case, the waiting time may take longer than usual. Detailed information about the boot steps can be obtained by pressing Esc.+----
  
-===== Log in to the system ===== +===== 1. System boot and login =====
-The standard VEOS installation includes a basic system running in a console mode. When booting in a console mode, the VEOS boot ends with a request to enter the account login and password. If necessary, you can switch to another console by pressing Ctrl+Alt+F2. In case of successful authentication and identification procedure completion, a login will be performed. VEOS OS will switch to normal operation mode and provide access to the console for the user.+
  
-====== Documentation ====== +=== 1.1. Booting VEOS ===
-VEOS, like all UNIX family systems, has on-screen documentation. Its texts contain documentation on system commands, resources, configuration files, etc., and can also be displayed on the screen during operation.+
  
-==== MAN Utility ==== +VEOS starts automatically after the computer is powered on. The **GRUB** bootloader menu appears on the screen, listing the available boot options.
-To access the on-screen documentation, use the man command (short for manual)Each page of the manual is dedicated to one system object. In order to read the program manual page, you need to type man program_name. For example, if you want to find out what options the ls command has, you can enter the command: +
-  > man ls +
-Most of the on-screen documentation is written for users who have some idea of what this command does. Therefore, most of the on-screen documentation texts contain only technical details of the command without much explanation. Nevertheless, the on-screen documentation turns out to be very valuable if you remember the name of the command, but its syntax just fell out of your memory.+
  
-The search for man descriptions is carried out by the apropos command. If you do not know exactly what the name of the program you need is, then the search is carried out by keyword, for example, apropos ls, or by entering a word denoting the desired action after the man -k command (for example, man -k list). The word describing the action desired for you can be entered in Russian. If there is a Russian translation of the man manual pages, the search results will be displayed in the requested language. +^ Action ^ Key ^ 
-The "manual page" usually takes up more than one screen page. In order to make it easier to read, man launches a page-by-page text viewing program. The pages are scrolled with a space bar, to exit the man command description reading mode, you need to press q on the keyboard. The man man command issues a certificate on the use of the man command itself.+| Select boot option | ''%%Up%%'' / ''%%Down%%'' arrow keys | 
 +| Immediately boot the selected option | ''%%Enter%%'' | 
 +| Edit boot parameters | ''%%E%%''
 +| Switch to graphical boot display mode | ''%%Esc%%'' |
  
-==== INFO Utility ==== +During the boot processmessages about starting various services are displayed on the screenEach line begins with the status **[Message]** and either ''%%OK%%'' or ''%%FAILED%%''.
-Another source of information about VEOS and its component programs is the info reference subsystem. The manual pagedespite the abundance of links of various types, remains a "linear" text, structured only logically. The info document is a real hypertext in which many small pages are combined into a treeIn each section of the info document, there is always a directory from which you can go to the desired subsection and then return back (links to navigate through text sections are marked with *). To get auxiliary information about moving through the text, use the h key. The complete info manual is called by the info info command. The info command, entered without parameters, offers the user a list of all info documents installed in the system.+
  
-===== Installing additional software ===== +<note warning> 
-To install additional software in VEOSdnf (or yum) utilities are used to download rpm packets from VEOS repositories and rpm for installation from rpm files.+If any boot stage finishes with the ''%%FAILED%%'' statusadministrator intervention may be required. 
 +</note>
  
-<note important>To install the software, the user shall have system administrator rights (root) or permission to run the sudo utility</note> +Main boot stages
-==== Installing a packet from the repository ==== +  * Kernel loading 
-To install or update a packet from the repository, run the following command+  * Mounting file systems 
-  > dnf install <packet name> +  * Starting system services 
-To delete an installed packet: +  * (If required) checking file systems for errors
-  > dnf remove <packet name>+
  
-==== Installing a packet from a file ==== +=== 1.2. Logging into the system ===
-Sometimes locally downloaded rpm packet is to be installed: +
-  > rpm -ih <rpm-файл> +
-To update the packet: +
-  > rpm -Uh <rpm-файл>+
  
-==== Updating installed packets ==== +After boot is completed, the system switches to console mode and displays a login and password prompt.
-Periodicallyupdates of installed packets appear in the VEOS repositories, to install packet updates, you need to run: +
-  > dnf update +
-During the update process, the utility will detect the latest non-installed versions for all system packets, calculate their dependencies, download them and install them after user confirmation.+
  
-==== Installation of VAS Experts software ==== +<code> 
-By default, VEOS has access to the VAS Experts repositories configured and all the company's packets are available for installation without additional settings. For example, the installation of the DPI packet is performed as follows+Login: _  
-  dnf install fastdpi+Password_ 
 +</code>
  
-===== Overview of the main system commands ===== +Credentials are provided by the system administratorAfter successful authenticationcommand shell (usually ''%%bash%%'') is opened.
-All commands listed below can be run in a console modeFor more informationuse the man command. Example: +
-  > man ls +
-Note: Command parameters usually start with the "-" character, and usually after one "-" character, several options can be specified at once. For example, instead of the ls -l -F command, you can enter the ls -lF command.+
  
-==== User accounts ====+<note important> 
 +**Important:** Use the ''%%Ctrl+Alt+F1%%'' … ''%%Ctrl+Alt+F6%%'' key combinations to switch between virtual consoles. 
 +</note>
  
-=== The su command === +----
-The su command allows to change the "owner" of the current session without the need to terminate the session and open a new one. +
-Syntax: +
-  > su [OPTIONS...] [USER] +
-The command can be used to replace the current user with any other, but most often it is used to obtain superuser (root) rights by the user. When entering the su command, the superuser (root) password will be requested, and if the correct password is entered, the user will receive administrator rights. To return to user rights, enter the command: +
-  > exit +
-For more information about superuser mode, see the Superuser Mode chapter+
  
-=== The id command ===+===== 2. Built-in documentation =====
  
-The id command displays information about the user and the groups in which they are a member for a given user or about the current user (if nothing is specified)Syntax: +VEOS includes an extensive built-in help system.
-  > id [OPTIONS...] [USER]+
  
-=== The passwd command ===+=== 2.1. The ''man'' utility ===
  
-The passwd command changes (or sets) the password associated with the login username. An general user can only change the password associated with their own login name. The command requests the old password from general users (if there was one), and then twice requests the new one. The new password shall meet the technical requirements for passwords set by the system administrator. Basic operations with files and directories.+The ''%%man%%'' command (short for manualis used to view manual pages for commands, configuration files, and other system objects.
  
-==== Basic operations with files and directories ====+^ Action ^ Command ^ 
 +| View help for the ''%%ls%%'' command | ''%%man ls%%''
 +| Search for a command by keyword | ''%%apropos <keyword>%%''
 +| Search for a command by keyword (short form) | ''%%man -k <keyword>%%''
 +| Help for the ''%%man%%'' utility itself | ''%%man man%%'' |
  
-=== The ls command ===+**Navigation inside a manual page:**
  
-The ls (list) command types the contents of directories to standard output. Syntax: +^ Key ^ Action ^ 
-  > ls [OPTIONS...] [FILE...] +| ''%%Space%%'' | Go to the next page | 
-Basic options: +| ''%%q%%'' | Exit viewing mode |
-  * -a — view all files, including hidden ones; +
-  * -l — display more detailed information; +
-  * -R — output information about subdirectories recursively.+
  
-=== The cd command ===+=== 2.2. The ''info'' utility ===
  
-The cd command is used to change the directory. The command operates with both absolute and relative paths. If the directory is not specified, the value of the $HOME environmental variable (the user's home directory) is used. If the directory is given a full route name, it becomes the current one. In relation to the new directory, you need to have the right to execute, which in this case is interpreted as a search permission. Syntax: +Unlike linear ''%%man%%'' pages, the ''%%info%%'' system provides hypertext-style documentation.
-  > cd [-L|-P] [DIRECTORY] +
-If "-" is given as an argument, then this is equivalent to $OLDPWDIf the transition was made by the $CDPATH environment variable or "-" was set as an argument and the directory change was successful, then the absolute path of the new working directory will be output to standard output. Example. While in the home directory, go to its docs/ subdirectory (relative path): +
-  > cd docs/ +
-Make the current directory /usr/bin (absolute path): +
-  > cd /usr/bin/ +
-Make the parent directory a current one: +
-  > cd .. +
-Go back to the previous directory: +
-  > cd - +
-Make the home directory a current one: +
-  > cd+
  
-=== The pwd command ===+^ Command ^ Action ^ 
 +| ''%%info%%'' | Display the list of all ''%%info%%'' documents in the system | 
 +| ''%%info info%%'' | Open the navigation guide for ''%%info%%''
 +| ''%%h%%'' | Show navigation help (inside ''%%info%%'') |
  
-The pwd command outputs the absolute path of the current (working) directory. Syntax: +----
-  > pwd [-L|-P] +
-Options: +
-  * -P — do not output symbolic links; +
-  * -L — output symbolic links.+
  
-=== The rm command ===+===== 3. Software installation and updates =====
  
-The rm command is used to delete file entriesIf the specified name was the last link to the file, then the file is destroyed+The ''%%dnf%%'' (or ''%%yum%%'') package managers are used to manage softwareInstallation and updates require superuser privileges.
  
-Warning: If you delete a file, you will not be able to restore it! +=== 3.1. Basic package operations ===
  
-Syntax: +^ Operation ^ Command (as root) ^ 
-  rm [OPTIONS...] <FILE+| Install a package from a repository | ''%%dnf install <package_name>%%''
-Basic options: +| Remove a package | ''%%dnf remove <package_name>%%'' | 
-  -f —  never ask for confirmation; +| Update all system packages | ''%%dnf update%%'' | 
-  -i —  always request confirmation; +| Install a local ''%%rpm%%'' package | ''%%rpm -ih <path_to_file.rpm>%%'' | 
-  * -r, -R — recursively delete the contents of the specified directories.+| Update a local ''%%rpm%%'' package | ''%%rpm -Uh <path_to_file.rpm>%%'' |
  
-Example. Delete all html files in the ~/html directory+**Example of installing the ''%%fastdpi%%'' (DPI) package:** 
-  rm -i ~/html/*.html+<code bash> 
 +dnf install fastdpi 
 +</code>
  
-=== The mkdir command ===+<note important> 
 +VEOS is preconfigured with access to the official VAS Experts repositories, so company packages can be installed without additional repository configuration. 
 +</note>
  
-mkdir is a command for creating new directories. Syntax: +----
-  > mkdir [-p] [-m rights] <DIRECTORY...>+
  
-=== The rmdir command ===+===== 4. Basic commands for working with the system =====
  
-The rmdir command deletes directories from the file system. The directory shall be empty before deleting. Syntax: +All commands listed in this section are standard Linux commands and can be executed from the command line.
-  > rmdir [OPTIONS] <DIRECTORY...> +
-Basic options: +
-  * -p — delete the directory and its descendants. +
-The rmdir command is often replaced by the rm -rf command, which allows to delete directories even if they are not empty.+
  
-=== The cp command ===+<note> 
 +Most short command options start with a single hyphen (''%%-l%%''), after which multiple letters can be specified consecutively (for example: ''%%ls -lF%%'' instead of ''%%ls -l -F%%''). 
 +</note>
  
-The cp command is designed to copy files from one directory to other directoriesSyntax: +=== 4.1User management ===
-  > cp [-fip] [SRC_FILE...] [DST_FILE...] +
-  > cp [-fip] [SRC_FILE...] [DIRECTORY] +
-  > cp [-R] [[-H] | [-L] | [-P]] [-fip] [SRC_FILE...] [DIRECTORY] +
-Basic options: +
-  * -p — save, if possible, the time of modification and access to the file, the owner and group, access rights; +
-  * -i — request confirmation before copying to existing files; +
-  * -r, -R — recursively copy the contents of directories.+
  
-=== The mv command ===+^ Command ^ Action ^ Note ^ 
 +| ''%%su -%%'' | Obtain superuser (root) privileges | The root password will be requested | 
 +| ''%%exit%%'' | Exit the superuser session | Returns to the regular user | 
 +| ''%%id%%'' | Display information about the current user | Shows UID, GID, and group list | 
 +| ''%%id <login>%%'' | Display information about another user | | 
 +| ''%%passwd%%'' | Change the current user's password | The old password must be entered | 
 +| ''%%passwd <login>%%'' | Change another user's password | Only root can execute this |
  
-The mv command is designed to move filesSyntax: +=== 4.2Navigation and file operations ===
-  > mv [-fi] [SRC_FILE...] [DST_FILE...] +
-  > mv [-fi] [SRC_FILE...] [DIRECTORY] +
-In the first syntactic form, characterized by the fact that the last operand is neither a directory nor a symbolic link to a directory, mv moves the src_file to the dst_file (the file is renamed). In the second syntactic form, mv moves the source files to the specified directory under names that match the short names of the source files. Basic options: +
-  * -f — do not ask for confirmation of overwriting existing files; +
-  * -i — request confirmation of overwriting existing files.+
  
-=== The cat command ===+^ Command ^ Description ^ Examples / Notes ^ 
 +| ''%%ls%%'' | View directory contents | ''%%ls -la%%'' — show all files with detailed information | 
 +| ''%%cd%%'' | Change the current directory | ''%%cd /usr/bin%%'' — switch to an absolute path, ''%%cd ..%%'' — move one level up, ''%%cd -%%'' — return to the previous directory | 
 +| ''%%pwd%%'' | Show the absolute path to the current directory | | 
 +| ''%%mkdir <directory>%%'' | Create a new directory | ''%%mkdir -p path/to/dir%%'' — create a directory with parent directories | 
 +| ''%%rmdir <directory>%%'' | Remove an empty directory | ''%%rm -rf%%'' is often used for non-empty directories | 
 +| ''%%rm <file>%%'' | Remove a file | ''%%rm -i%%'' — request confirmation, ''%%rm -rf%%'' — recursive deletion **use with caution!** | 
 +| ''%%cp <source> <target>%%'' | Copy a file or directory | ''%%cp -rp dir1 dir2%%'' — recursive copy preserving permissions | 
 +| ''%%mv <source> <target>%%'' | Move or rename | ''%%mv file.txt dir/%%'' — move a file into a directory | 
 +| ''%%cat <file>%%'' | Display file contents in the console | ''%%cat -n file.txt%%'' — with line numbering | 
 +| ''%%head <file>%%'' | Display the first lines of a file | ''%%head -n 20 file.txt%%'' — show the first 20 lines | 
 +| ''%%less <file>%%'' | View a file page by page | ''%%q%%'' — exit |
  
-The cat command sequentially outputs the contents of the files. Syntax: +<note warning
-  cat [OPTIONS] [FILE...] +**Warning:** The ''%%rm%%'' and ''%%rmdir%%'' commands permanently delete files during normal operationbypassing the TrashBe especially careful with recursive deletion (''%%-r%%''). 
-Basic options: +</note>
-  -n, –number — number all lines when outputting; +
-  -E–show-ends — show $ at the end of each line.+
  
-If no file is specified, standard input is readIf the name "-" is present in the file list, standard input is read instead of this file.+=== 4.3Searching for files and commands ===
  
-=== The head command ===+^ Command ^ Description ^ Example ^ 
 +| ''%%grep <pattern> <file>%%'' | Search for a string in a file | ''%%grep error /var/log/messages%%''
 +| ''%%find [path] [expression]%%'' | Search for files by condition | ''%%find . -name "*.conf"%%'' — find all ''%%.conf%%'' files in the current directory | 
 +| ''%%whereis <command>%%'' | Show the location of a program, source files, and documentation | ''%%whereis bash%%''
 +| ''%%which <command>%%'' | Show the full path to a command executable | ''%%which ls%%'' |
  
-The head command outputs the first 10 lines of each file to standard outputSyntax: +=== 4.4Access permissions ===
-  > head [OPTIONS] [FILE...] +
-Basic options: +
-  * -n, –lines=[-]K — print the first K lines of each file, not the first 10; +
-  * -q, –quiet — do not print headers with file names.+
  
-=== The less command ===+^ Command ^ Description ^ Example ^ 
 +| ''%%chmod <mode> <file>%%'' | Change file permissions | ''%%chmod +x script.sh%%'' — make the file executable for everyone | 
 +| ''%%chown <owner>:<group> <file>%%'' | Change the owner and group of a file | ''%%chown test:users file.txt%%'' |
  
-The less command allows to view the text page by page (to exit, press q)Syntax: +=== 4.5. System and process monitoring ===
-  > less FILE+
  
-=== The grep command ===+^ Command ^ Description ^ Example ^ 
 +| ''%%ps%%'' | Display the list of the current user's processes | ''%%ps aux%%'' — detailed list of all processes | 
 +| ''%%kill <PID>%%'' | Stop a process by its identifier | ''%%kill -9 <PID>%%'' — force termination | 
 +| ''%%df%%'' | Show disk space usage | ''%%df -h%%'' — human-readable format | 
 +| ''%%du%%'' | Estimate disk space used by files and directories | ''%%du -sh ~/%%'' — total size of the home directory | 
 +| ''%%&%%'' | Run a program in the background | ''%%./long_task.sh &%%''
 +| ''%%bg%%'' | Resume a stopped job in the background | | 
 +| ''%%fg%%'' | Bring a background job to the foreground | |
  
-The grep command has many options and provides the possibility to search for a character string in a file. Syntax: +----
-  > grep [search_template] FILE+
  
-=== The chmod command ===+===== 5. File archiving and compression =====
  
-The chmod command is designed to change the access rights of files and directoriesSyntax: +The **''%%tar%%'' command** is used to create archives (without compression)Additional programs (''%%gzip%%''''%%bzip2%%'', ''%%xz%%'') are used for archive compression.
-  > chmod [OPTIONS] MODE[,MODE]... <FILE> +
-  > chmod [OPTIONS] --reference=IFILE <FILE> +
-Basic options: +
-  * -R — recursively change the mode of access to files located in the specified directories; +
-  * –reference=IFILE — use IFILE file mode.+
  
-chmod modifies the access rights of each specified file in accordance with the access rights specified in the mode parameter, which can be represented either in character form or as an octal representing the bit mask of the new access rightsThe character mode format is as follows: +^ Operation ^ Command ^ 
-  > [ugoa...][[+-=][permissions...]...] +| Archive directory | ''%%tar -cf <archive.tar> <directory>%%''
-Here permissions are zero or more letters from the lettering "rwxXst" or one of the letters from the lettering "ugo". Each argument is list of charactercoded commands for changing access rights, separated by commasEach such command starts with zero or more letters "ugoa", the combination of which indicates whose access rights to the file will be changed: the user who owns the file (u), users from the group to which the file belongs (g), other users (o) or all users (a)If no letter is set, the letter "a" will be used automatically, but the bits set in the umask will not be affected.+| Extract an archive | ''%%tar -xf <archive.tar>%%'' | 
 +| Extract a compressed archive (''%%.tar.gz%%'' or ''%%.tgz%%'') | ''%%tar -xzf <archive.tar.gz>%%'' | 
 +| Create compressed ''%%.tar.gz%%'' archive | ''%%tar -czf <archive.tar.gz> <directory>%%'' |
  
-The "+" operator adds the selected access rights to those already available for each file, "-" removes these rights"=" assigns only these rights to each specified file. The letters "rwxXst" specify access bits for users: "r" — read, "w" — write, "x" — execute (or search for directories), "X" — execute/search only if it is a directory or a file with an already installed execution bit, "s" — set user and group ID at execution, "t" — prohibition of deletion.+**Example:** 
 +<code bash> 
 +# Archive the Documents directory into my_docs.tar 
 +tar -cf my_docs.tar Documents/
  
-Examples. Allow everyone to execute the f2 file:+# Extract a gzip-compressed archive into the current directory 
 +tar -xzf archive.tar.gz 
 +</code>
  
-  > chmod +x f2 +----
-Prevent f3 file deletion: +
-  > chmod +t f3+
  
-=== The chown command ===+===== 6. Frequently asked questions (FAQ) =====
  
-The chown command changes the owner and/or group for each specified file. Syntax+**Question:** How do I obtain superuser (root) privileges?\\   
-  > chown [KEY]...[OWNER][:[GROUP]] <FILE> +**Answer:** Run the ''%%su -%%'' commandYou will be prompted for the ''%%root%%'' user passwordUse the ''%%exit%%'' command to return to the regular user.
-Only the file owner or superuser can change the ownerThe owner does not change if it is not specified in the argumentThe group also does not change if it is not specified, but if there is a ":" symbol after the symbolic OWNER, it means changing the group to the main group of the current user. The OWNER and GROUP fields can be either numeric or symbolic. Examples. Change the owner of the /u directory to the test user: +
-  > chown test /u +
-Change the owner and group of the /u directory: +
-  > chown test:staff /u +
-Change the owner of the /u directory and attached files to test: +
-  > chown -hR test /u+
  
-==== File Search ====+**Question:** How do I officially install a VAS Experts package?\\   
 +**Answer:** ''%%dnf install <package_name>%%''Search for packages using: ''%%dnf search <keyword>%%''.
  
-=== The find command ===+**Question:** Where can I find help for the ''%%ls%%'' command?\\   
 +**Answer:** Use the built-in documentation: ''%%man ls%%'' or ''%%info ls%%''.
  
-The find command is designed to search for all files starting from the root directory. The search can be performed by the name, type, or owner of the file. Syntax: +**Question:** How do I run a program in the background?\\   
-  > find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [PATH...] [EXPRESSION] +**Answer:** Add the ''%%&%%'' symbol at the end of the command, for example''%%./backup_script.sh &%%''.
-Search keys: +
-  * -name — search by file name; +
-  * -type — search by type f=file, d=directory, l=link(lnk); +
-  * -user — search by owner (name or UID).+
  
-When the find command is executed, you can perform various actions on the found files. Basic actions: +**Question:** Can I search within file contents?\\   
-  -exec command \; — execute the command. The command entry shall end with an escaped semicolon. The "{}" string is replaced with the current route file name; +**Answer:** Yesuse the ''%%grep%%'' command. Example''%%grep -r "error" /var/log/%%''.
-  execdir command \; is the same as -exec, but the command is called from the subdirectory containing the current file; +
-  -ok command is equivalent to -exec except that before executing the commandconfirmation is requested (in the form of a generated command string with a question mark at the end) and it is executed only when the answer isy; +
-  * -print — displays the file name on the screen.+
  
-The default path is the current subdirectory. The default expression is print. Examples. Find regular files (not directories) in the current directory which name starts with the "~" character:+----
  
-  find . -type f -name "~*" -print +<details
-Find files modified later than file.bak in the current directory: +<summary>📌 Technical document information</summary>
-  find . -newer file.bak -type f -print +
-Delete all files named a.out or *.o that have not been accessed for a week: +
-  > find \( -name a.out -o -name '*.o' \) \ -atime +7 -exec rm {} \; +
-Delete all files named a.out or *.o that have not been accessed for a week: +
-  find . -size 0c -ok rm {} \;+
  
-=== The whereis command ===+**Document last reviewed:** 2026-05-12\\   
 +**Applicable VEOS version:** 8.6 and later\\   
 +**Author:** VAS Experts
  
-whereis reports the path to the executable program file, its source files (if any) and the corresponding pages of the reference manual. Syntax: +</details>
-  > whereis [OPTIONS] <NAME> +
-Options: +
-  * -b — information output only about executable files; +
-  * -m — information output only about the pages of the reference manual; +
-  * -s — information output only about the source files. +
- +
-==== Process monitoring and control ==== +
- +
-=== The ps command === +
- +
-The ps command displays a list of current processes. Syntax: +
-  > ps [OPTIONS] +
-By default, information about processes with the same valid UID and control terminal is displayed as those of the user's who submits the command. Basic options: +
-  * -a — output information about processes associated with terminals; +
-  * -f — output the "full" list; +
-  * -l — output the "long" list; +
-  * -p list — display information about processes with the PIDs specified in the list; +
-  * -u list — display information about processes with listed identifiers or user names. +
- +
-=== The kill command === +
- +
-The kill command allows to terminate the execution of a process or send it a signal. Syntax: +
-  > kill [-s] [signal] [identifier] [...]  +
-  > kill [-l] [completion_status] +
-  > kill [-signal_number] [identifier] [...] +
- +
-The identifier is the PID of the leading task process or the task number, preceded by a "%" sign. Basic options: +
-  * -l — display a list of supported signals; +
-  * -s signal, -signal — send a signal with the specified name. +
- +
-If the usual kill command does not give the desired effect, the kill command with the -9 parameter (kill -9 PID_number) shall be used. +
- +
-=== The df command === +
- +
-The df command shows the amount of available disk space in the file system that contains the file transferred as an argument. If no file is specified, the available space on all mounted file systems is shown. The default sizes are specified in 1KB blocks. Syntax: +
-  > df [OPTIONS] [FILE...] +
-Basic options: +
-  * –total — calculate the total volume at the end; +
-  * -h, –human-readable — print dimensions in a readable format (e.g. 1K, 234M, 2G). +
- +
-=== The du command === +
- +
-The du command counts the disk usage by each file, for directories, counting occurs recursively. Syntax: +
-  > du [OPTIONS] [FILE...] +
-Basic options: +
-  * -a, –all — output the total amount for each given file, not just for directories; +
-  * -c, –total — calculate the total volume at the end. It can be used to find out the total disk space usage for the entire list of given files; +
-  * -d, –max-depth=N — output the volume for the directory (or files, if –all is specified) only if it is N or less levels below the command string arguments; +
-  * -S, –separate-dirs — output the size of each directory separately, not including the sizes of subdirectories; +
-  * -s, –summarize — display only the sum for each argument. +
- +
-=== The which command === +
- +
-The which command displays the full path to the specified commands or scripts. Syntax: +
-  > which [OPTIONS] <FILE...> +
-Basic options: +
-  * -a, –all — outputs all matched executable flies by content in the $PATH environment variable, not just the first one; +
-  * -c, –total — calculate the total volume at the end. It can be used to find out the total disk space usage for the entire list of given files; +
-  * -d, –max-depth=N — output the volume for the directory (or files, if –all is specified) only if it is N or less levels below the command string arguments; +
-  * -S, –separate-dirs — output the size of each directory separately, not including the sizes of subdirectories; +
-  * –skip-dot — skips all directories from the $PATH environment variable that start with a dot. +
- +
-==== Using multitasking ==== +
- +
-VEOS is a multitasking system. In order to run the program in the background, you need to type "&" after the program name. After that, the shell will allow to run other applications. Since some programs are interactive, running them in the background is pointless. Such programs will simply stop if they are run in the background. Also, multiple independent sessions may be run. To do this, you need to type Alt and one of the keys in the range from F1 to F6 in the console. A new system prompt will appear on the screen and you can open a new session. This method also allows you to work on another console if the console you used before is unresponsive or you need to stop a hung program. +
- +
-=== The bg command === +
- +
-The bg command allows to move the task to the background. Syntax: +
-  > bg [IDENTIFIER ...] +
-The identifier is the PID of the leading task process or the task number, preceded by a "%" sign. +
- +
-=== The fg command === +
- +
-The fg command allows to bring the task to the foreground. Syntax: +
-  > fg [IDENTIFIER ...] +
-The identifier is the PID of the leading task process or the task number, preceded by a "%" sign. +
- +
-==== File compression and packaging ==== +
- +
-=== The tar command === +
- +
-File compression and packaging is performed using the tar command, which converts a file or group of files into an archive without compression (tarfile). File packaging into an archive is most often performed with the following command: +
-  > tar -cf [name of the archive file to be created] [packaged files and/or directories] +
-Example of using the archive packing command: +
-  > tar -cf moi_dokumenti.tar Docs project.tex +
-Unpacking the archive contents to the current directory is performed by the command: +
-  tar -xf [archive file name] +
-Special compression programs are used to compress files: gzip, bzip2 and 7z.+