Community Questions

Join the discussion, find answers, and help others.

Ask Question
10 votes
1
answers
271 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?

D
db_admin asked 4 weeks, 1 day ago
17 votes
1
answers
269 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?

O
omar_linux asked 4 weeks, 1 day ago
50 votes
1
answers
159 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?

S
security_pro asked 4 weeks, 1 day ago
50 votes
1
answers
457 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?

H
hassan_ops asked 4 weeks, 1 day ago
11 votes
1
answers
1380 views

How to backup and restore PostgreSQL database

What is the command to backup and restore a PostgreSQL database?

L
linux_expert asked 4 weeks, 1 day ago
2 votes
1
answers
1555 views

How to create PostgreSQL database and user

I need to set up a new PostgreSQL database for my Django project.

A
ahmed_tech asked 4 weeks, 1 day ago
45 votes
1
answers
1497 views

How to configure Celery with Django

I need to run background tasks in Django. How do I set up Celery?

L
linux_expert asked 4 weeks, 1 day ago
31 votes
1
answers
1650 views

How to use Django signals

How can I run code automatically when a model is saved or deleted?

W
web_developer asked 4 weeks, 1 day ago
43 votes
1
answers
107 views

How to create Django forms

What is the difference between Form and ModelForm in Django?

N
noor_code asked 4 weeks, 1 day ago
27 votes
1
answers
1608 views

How to create Django model relationships

How do I create ForeignKey, OneToOne, and ManyToMany relationships?

P
python_dev asked 4 weeks, 1 day ago
13 votes
1
answers
1860 views

How to create a class in Python

What is the proper way to define a class with methods and properties?

N
noor_code asked 4 weeks, 1 day ago
11 votes
1
answers
739 views

How to read CSV files in Python

What is the best way to read and process CSV files?

H
hassan_ops asked 4 weeks, 1 day ago
28 votes
1
answers
1429 views

How to format strings in Python

What are the different ways to format strings in Python?

D
devops_guru asked 4 weeks, 1 day ago
3 votes
1
answers
506 views

How to remove duplicates from a list in Python

I have a list with duplicate values. How do I remove them?

S
sysadmin asked 4 weeks, 1 day ago
33 votes
1
answers
518 views

How to check if file exists in Python

I need to check if a file or directory exists before processing it.

Y
youssef_net asked 4 weeks, 1 day ago
7 votes
1
answers
555 views

How to merge two dictionaries in Python

What is the cleanest way to combine two dictionaries?

W
web_developer asked 4 weeks, 1 day ago
30 votes
1
answers
1181 views

How to sort a list of dictionaries in Python

I have a list of dictionaries and want to sort by a specific key.

H
hassan_ops asked 4 weeks, 1 day ago
36 votes
1
answers
1698 views

How to iterate over dictionary in Python

What is the best way to loop through a dictionary keys and values?

S
security_pro asked 4 weeks, 1 day ago
50 votes
1
answers
1360 views

How to redirect output to file in bash

How do I save command output to a file? Also how to redirect errors?

H
hassan_ops asked 4 weeks, 1 day ago
39 votes
1
answers
400 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?

S
security_pro asked 4 weeks, 1 day ago
Previous Page 2 of 5 Next