Which statements about using the -U option and the -F option when running the rpm command are true? (Choose two)
Answer(s): A,F
The -U option will install a package whether or not a previous version of the package is already installed. If a previous version exists, it will be upgraded. The -F option will install a package only if a previous version of the package is already installed. It will not install a new package.
https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-sw-cl.html#sec-rpm-commands
You are working at a terminal window of a server at the office, but you want to continue this work by remotely accessing the terminal session from your home office.Which command will you need to use to accomplish this?
Answer(s): A
The screen command will allow you to create and manage multiple terminal sessions that can be detached and resumed later. You can use the screen command to start a new session, then detach it with Ctrl-a d, and reattach it from another location with screen -r.
https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-screen.html
What is the first file executed by a bash login shell?
When Bash is invoked as an interactive login shell, or as a non-interactive shell with the -- login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.The first file executed by a bash login shell is /etc/profile. This file sets global environment variables and aliases for all users. It may also source other files in /etc/profile.d/ directory.
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.htmlhttps://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-bash.html#sec-bash-startup
Which Vim command will save the current file without exiting?
Answer(s): D
Save a File in Vim / Vi #The command to save a file in Vim is :w.To save the file without exiting the editor, switch back to normal mode by pressing Esc, type :w and hit Enter.The w command will save the current file without exiting Vim. It stands for write. The other commands are either invalid or will exit Vim after saving.
https://linuxize.com/post/how-to-save-file-in-vim-quit-editor/https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-vim.html#sec-vim-save
Post your Comments and Discuss SUSE SCA_SLES15 exam with other Community members:
Hua Gong Commented on December 14, 2024 Q19: https://documentation.suse.com/smart/network/html/ntp-time-synchronization/index.html Configuring NTP by adjusting /etc/chrony.conf NEW ZEALAND
B Commented on March 05, 2024 Q11: The name of the system logging facility is "syslog". https://www.rsyslog.com/doc/configuration/modules/pmnull.html#syslogfacility HUNGARY
kagiso Commented on October 19, 2023 this might come handy Anonymous
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the SCA_SLES15 content, but please register or login to continue.