Questions & Answers

14
votes
1
answers
96
views

How to search text in files using grep

I need to find files containing specific text. How do I use grep effectively?
sysadmin Silver asked 1 week, 2 days ago
47
votes
1
answers
1572
views

How to manage services with systemd

I need to manage services like starting, stopping, and enabling at boot. How?
layla_web Bronze asked 1 week, 2 days ago
43
votes
1
answers
797
views

How to use rsync for backups

I need to synchronize files between servers. How do I use rsync effectively?
layla_web Bronze asked 1 week, 2 days ago
16
votes
1
answers
1186
views

How to secure SSH with fail2ban

My server is getting too many failed SSH login attempts. How can I block them?
noor_code Gold asked 1 week, 2 days ago
47
votes
1
answers
1253
views

How to change timezone on Linux

My server shows wrong time. How do I change the timezone?
db_admin Silver asked 1 week, 2 days ago
10
votes
1
answers
249
views

How to monitor network traffic on Linux

I want to see what network traffic is happening on my server. What tools can I use?
db_admin Silver asked 1 week, 2 days ago
17
votes
1
answers
245
views

How to use screen or tmux for persistent sessions

My SSH session disconnects and kills my running processes. How can I keep them running?
omar_linux Platinum asked 1 week, 2 days ago
50
votes
1
answers
135
views

How to check system uptime and reboot history

How can I see how long my server has been running and when it was last rebooted?
security_pro Bronze asked 1 week, 2 days ago
50
votes
1
answers
439
views

How to install software from source on Linux

I need to install a program that is not available in the package manager. How do I compile from source?
hassan_ops Bronze asked 1 week, 2 days ago
39
votes
1
answers
378
views

How to check and free up RAM on Linux

My server is running slow. How do I check memory usage and free up RAM?
security_pro Bronze asked 1 week, 2 days ago
15
votes
1
answers
1835
views

How to mount and unmount drives on Linux

I connected a new drive. How do I mount it and access the files?
cloud_arch Platinum asked 1 week, 2 days ago
19
votes
1
answers
399
views

How to set environment variables permanently

How do I set environment variables that persist after reboot?
noor_code Gold asked 1 week, 2 days ago
49
votes
1
answers
1232
views

How to view and manage running processes

How do I see what processes are running and manage them?
omar_linux Platinum asked 1 week, 2 days ago
47
votes
1
answers
1240
views

How to find files by name on Linux

I need to search for files by name. What commands can I use?
fatima_dev Silver asked 1 week, 2 days ago
43
votes
1
answers
1300
views

How to copy files between servers using SCP

I need to transfer files from one server to another. How do I use scp?
db_admin Silver asked 1 week, 2 days ago
27
votes
1
answers
232
views

How to check open ports on Linux

How can I see which ports are open and listening on my server?
sysadmin Silver asked 1 week, 2 days ago
8
votes
1
answers
1104
views

How to create a new user on Linux

I need to add a new user with sudo privileges. What are the steps?
security_pro Bronze asked 1 week, 2 days ago
32
votes
1
answers
1415
views

How to check Linux kernel version

What command shows the Linux kernel version? I need to verify it for compatibility.
web_developer Platinum asked 1 week, 2 days ago
21
votes
1
answers
79
views

How to change hostname on Linux

I need to change my server hostname. What is the correct way to do this on modern Linux systems?
db_admin Silver asked 1 week, 2 days ago
15
votes
1
answers
1395
views

How to compress and extract tar.gz files on Linux

How do I create and extract .tar.gz archives on Linux from the command line?
omar_linux Platinum asked 1 week, 2 days ago