Which bash commands result in a valid arithmetic expansion? (Choose three)
Answer : B, E, F
The bash commands that result in a valid arithmetic expansion are:
TOTAL=$[8/2]
TOTAL=$((5+2))
((TOTAL++))
Arithmetic expansion is a bash feature that allows you to perform integer calculations and assign or use the result in a command or expression. There are two syntaxes for arithmetic expansion: [expression]and((expression)). The expression can contain variables, operators, parentheses, etc. The ((expression)) syntax can also be used without the $ sign for assignments or conditional tests. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-bash.html#sec-bash-arithmetic
In the scripts subdirectory under your home directory there is a file named tstparse.sh. You want to set an Extended ACL so thejsmith user has all permissions to just this file. Which command will accomplish this?
You have just added a new directory to be exported via NFS. what command should you run next to make that directory available?
Answer : D
You have just added a new directory to be exported via NFS. To make that directory available, you should run systemctl restart nfsserver.service. This command will restart the NFS server service and reload the /etc/exports file that contains the export definitions. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-nfs-server.html#sec-nfs-server-export
Which file contains the list of DNS services SLES will contact?
Which system initialization system is used in SLES 15?
Answer : D
The programsystemdis the process with process ID 1. It is responsible for initializing the system in the required way.systemdis started directly by the kernel and resists signal9, which normally terminates processes. All other programs are either started directly by systemd or by one of its child processes.
Which statements about using the -U option and the -F option when running the rpm command are true? (Choose two)
Which Vim command will save the current file without exiting?
Answer : D
The command to save a file in Vim is:w.
To save the file without exiting the editor, switch back to normal mode by pressingEsc, type:wand hitEnter.
https://linuxize.com/post/how-to-save-file-in-vim-quit-editor/