Top Tweets for #NETPlan
@netplane shut yo ass up
Tired of your EC2 DNS settings resetting after every reboot? 🤯
🛑 Problem:
By default, EC2 instances get DNS via DHCP. Any manual changes to /etc/resolv.conf are lost on reboot.
⚙️ Solution:
✅ Amazon Linux → use systemd-resolved or drop-in files
✅ Amazon Linux/2 → set PEERDNS=no in ifcfg or supersede in dhclient.conf
✅ Ubuntu → create a netplan custom DNS YAML and netplan apply
✅ RHEL → similar to Amazon Linux steps
Backup first, apply the changes, and your custom DNS will persist.
How do you manage persistent DNS for multiple EC2 instances in your environment?
@kalizvp @netplane @Shamrokh00 Nexus troons allowed this btw but often bans the skimpier ones , goes to show what weird priorities they have
** 88. Linux interview questions with answers: Extensive list **
1. What is the chmod command in Linux, and how do you use it?
Answer: The chmod command changes file or directory permissions. It uses symbolic (e.g., chmod u+wx file adds write and execute for the user) or numeric modes (e.g., chmod 644 file sets read/write for owner, read-only for group/others).
2. How do you create a new directory in Linux?
Answer: Use the mkdir command, e.g., mkdir /path/to/new_directory.
3. What is the difference between a soft link and a hard link in Linux?
Answer: A soft (symbolic) link points to a file’s path, uses a different inode, can link directories, and breaks if the original is moved. A hard link points directly to the file’s data, shares the same inode, cannot link directories, and persists if the original is renamed/moved.
4. How do you create a symbolic link in Linux?
Answer: Use the ln -s command, e.g., ln -s /path/to/source /path/to/link.
5. What are standard streams in Linux?
Answer: Standard streams are stdin (input), stdout (output), and stderr (error), used for communication between programs and their environment.
6. How do you list all files in a directory in Linux?
Answer: Use the ls command with options like ls -a (show hidden files) or ls -l (detailed list), e.g., ls -la /path/to/directory.
7. How do you check memory usage in Linux?
Answer: Use free to show total, used, and free memory (e.g., free -h for human-readable format) or cat /proc/meminfo for detailed memory stats.
8. What is a swap partition in Linux?
Answer: A swap partition is disk space used as virtual memory when RAM is full, temporarily storing inactive data. It’s typically twice the RAM size or equal to it as a minimum.
9. How do you mount a filesystem in Linux?
Answer: Use the mount command, e.g., sudo mount /dev/sda1 /mnt, after identifying the partition (e.g., with lsblk) and creating a mount point (e.g., mkdir /mnt).
10. How do you unmount a filesystem in Linux?
Answer: Use the umount command, e.g., sudo umount /mnt, ensuring the filesystem isn’t in use.
11. How do you check disk space usage in Linux?
Answer: Use df -h for a human-readable overview of used and available space, or du -sh /path to estimate usage of a specific directory.
12. What is a Linux daemon?
Answer: A daemon is a background process that runs continuously, performing tasks like managing network services (e.g., httpd for Apache) without user interaction.
13. How do you start and stop a daemon in Linux?
Answer: Use systemctl, e.g., sudo systemctl start httpd to start, sudo systemctl stop httpd to stop, or sudo systemctl restart httpd to restart.
14. What is a cron job in Linux?
Answer: A cron job is a scheduled task that runs at specific times or intervals, managed via the crontab file for automating system maintenance or scripts.
15. How do you schedule a cron job in Linux?
Answer: Edit the crontab with crontab -e, then add a line like 0 2 * * * /path/to/script to run daily at 2 AM (format: minute, hour, day, month, weekday).
16. What is SSH in Linux?
Answer: SSH (Secure Shell) is a protocol for secure remote access, providing encrypted communication and authentication (often via public-key cryptography) for terminal access or file transfers.
17. How do you connect to a remote server using SSH in Linux?
Answer: Use ssh username@remote_ip, e.g., ssh [email protected], and enter the password when prompted.
18. What is SELinux?
Answer: SELinux (Security-Enhanced Linux) is a security framework that enforces mandatory access control policies to enhance system security and prevent unauthorized access.
19. How do you troubleshoot SELinux issues in Linux?
Answer: Check logs with sealert -a /var/log/audit/audit.log, temporarily disable enforcement with setenforce 0, or generate custom policies with audit2allow.
20. How do you add a new user in Linux?
Answer: Use adduser username (interactive) or useradd username (basic), then set a password with passwd username.
21. What is the difference between su and sudo in Linux?
Answer: su switches to another user (typically root) with their password, while sudo runs a command with elevated privileges using the user’s own password, offering finer control and auditing.
22. What is the difference between /etc/passwd and /etc/shadow files in Linux?
Answer: /etc/passwd stores user info (username, UID, home directory, shell) and is world-readable; /etc/shadow stores encrypted passwords and security details, readable only by root.
23. How do you configure a network interface in Linux?
Answer: Use ip commands, e.g., sudo ip addr add 192.168.1.100/24 dev eth0, or edit config files like /etc/network/interfaces, /etc/netplan.
24. What is the netstat command in Linux?
Answer: netstat displays network connections, routing tables, and statistics, e.g., netstat -tuln shows listening TCP/UDP ports.
25. How do you check network connectivity in Linux?
Answer: Use ping to test connectivity, tracepath for path details, or nslookup for DNS resolution.
Last Seen Hashtags on Sotwe
adultcpr
Seen from United States
pussy
Seen from United States
stepmom
Seen from Sweden
คลิปหลุดนักเรียน
Seen from Pakistan
freeagencywatch
Seen from Indonesia
owenalex
Seen from Korea
edwinrodríguez
Seen from United States
LiveStream
Seen from Italy
pinaymilf
Seen from Singapore
マスタベ
Seen from Japan
Most Popular Users

Elon Musk 
@elonmusk
239.6M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers





