How do you restart the network service in Ubuntu after making configuration changes?
Anonymous Quiz
90%
Use 'sudo systemctl restart networking' or 'sudo netplan apply'
6%
Run 'network-restart'
2%
Type 'apply-net-changes'
2%
Use 'net-service reset'
👌5❤1👍1
Linux commands.pdf
648 KB
#Linux
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4👍4👌4
Which operator can be used to throw a process into background?
Anonymous Quiz
51%
&
29%
&&
11%
|
9%
||
👍2👌2
How does OpenShift prioritize pod scheduling in a cluster with resource constraints?
Anonymous Quiz
46%
It uses a first-come, first-served basis
25%
Pods with higher resource requests are prioritized
26%
Pods with priority classes are scheduled first
3%
It randomly selects pods
❤4
How do you install multiple packages in Ubuntu using apt?
Anonymous Quiz
92%
Use 'sudo apt install package1 package2 package3'
2%
Run 'install-multiple package1 package2'
4%
Type 'apt-get multiple install'
2%
Use 'multi-install apt'
❤5👌2
DevOps_Cheat_Sheet_1740729753.pdf
2.1 MB
Devops cheatsheet
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
😍6👍3👏3👌2❤1
How do you view the listening ports on an Ubuntu system?
Anonymous Quiz
84%
Use 'sudo netstat -tuln'
8%
Run 'list-ports active'
5%
Type 'port-status'
4%
Use 'net-info listen'
❤3👌3
How do you copy an entire directory along with its contents in Ubuntu?
Anonymous Quiz
94%
Use 'cp -r /source/directory /destination/directory'
2%
Run 'copy-dir'
1%
Type 'dir-copy'
2%
Use 'copy-folder -all'
🙏3❤1
Which command is used to extract a .tar.gz file in Ubuntu?
Anonymous Quiz
82%
Use 'tar -xzvf archive.tar.gz'
10%
Run 'unzip archive.tar.gz'
3%
Type 'extract archive.tar.gz'
5%
Use 'untar archive.tar.gz'
👌3❤2👍2😍2
How do you remove a broken package in Ubuntu?
Anonymous Quiz
83%
Use 'sudo apt --fix-broken install' and then 'sudo apt remove package_name'
8%
Run 'pkgfix remove package_name'
7%
Type 'apt-repair package_name'
3%
Use 'fixremove package_name'
👍5👌3👏1
Which command is used to display detailed CPU usage statistics in Ubuntu?
Anonymous Quiz
85%
Use 'top' or 'htop'
6%
Run 'cpu-monitor'
5%
Type 'show-cpu-stats'
3%
Use 'sys-resource'
❤3
Which of the following are core Kubernetes objects?
Anonymous Quiz
74%
Pods, Services, Volumes
11%
Pods, Docker, Volumes
6%
Pods, Services, Droplets
9%
None of the mentioned
👍4❤2
How to define a service without a selector?
Anonymous Quiz
35%
Specify the external name
18%
Specify an endpoint with IP
24%
Address and port Just by specifying the IP address
23%
Specifying the label and api-version
❤4
How to list all the docker images pulled on the system with image details such as TAG/IMAGE ID/SIZE etc.
Anonymous Quiz
13%
$ docker img
26%
$ docker --images
60%
$ docker images
❤4👌1
Which command is used to audit file system changes in Ubuntu?
Anonymous Quiz
76%
Use 'auditctl -w /path/to/directory -p warx'
14%
Run 'audit-fs'
6%
Type 'watch-file-changes'
4%
Use 'set-audit directory'
❤4
Which command allows you to clear the swap memory in Ubuntu?
Anonymous Quiz
79%
Use 'sudo swapoff -a && sudo swapon -a'
15%
Run 'clearswap'
3%
Type 'reset-swap'
4%
Use 'swap-clear'
❤3👍2👏1
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍1🙏1
How do you remove a user from a group in Ubuntu?
Anonymous Quiz
68%
Use 'sudo gpasswd -d username group_name'
15%
Run 'group-remove-user username'
11%
Type 'del-user-from-group'
7%
Use 'remove-user-group'
❤2👍1
How do you display a list of all open files and their associated processes in Ubuntu?
Anonymous Quiz
84%
Use 'lsof'
5%
Run 'openfiles'
5%
Type 'filelist'
6%
Use 'listopen'
❤4👍1🙏1