A_Comprehensive_Guide_to_Essential_Linux_Commands_1740079779.pdf
1.2 MB
#Linux
Linux Commands: Explanation and Practical Examples
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Linux Commands: Explanation and Practical Examples
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4👍3
Which command allows you to enable packet capture on a specific network interface in Ubuntu?
Anonymous Quiz
80%
Use 'sudo tcpdump -i interface_name'
11%
Run 'netcapture interface'
5%
Type 'pkttrace -int'
3%
Use 'capture -network'
👍3👌2
SSH Under the Hood
Secure Shell (SSH) creates an encrypted channel between client and server.
The process begins with a TCP connection, followed by version negotiation.
Both parties then agree on encryption algorithms, key exchange methods, and message authentication codes.
The client and server perform a key exchange (typically using Diffie-Hellman) to securely generate a shared session key for encrypting the connection.
For authentication, SSH commonly uses public key authentication.
The server verifies the client's identity through a challenge-response mechanism using the client's public key, without the private key ever being transmitted.
Once authenticated, the session key encrypts all further communication, providing a secure channel.
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4❤3👌3
Terraform_with_Aws_1740244544.pdf
911.5 KB
#Terraform
#AWS
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
#AWS
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4👌3🔥2
Is it better to directly remove the container using the rm command or stop the container followed by remove container?
Anonymous Quiz
31%
No. Its not always better to stop the container and then remove it using the remove command.
69%
Its always better to stop the container and then remove it using the remove command.
👍4❤2
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3❤2
How do you update the package list in Ubuntu before upgrading installed packages?
Anonymous Quiz
91%
Use 'sudo apt update'
4%
Run 'update-packages'
2%
Type 'fetch-updates'
3%
Use 'refresh-package-list'
❤3🐳1
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