Most answered questions in Linux Administration

+3 votes
6 answers

Error: dpkg frontend is locked by another process

First, find out the id of the process that ...READ MORE

Aug 7, 2019 in Linux Administration by Sirajul
• 59,030 points
98,667 views
0 votes
3 answers

Setting JAVA_HOME in linux

Hello fellow techies, Assuming you use bash shell ...READ MORE

Dec 9, 2020 in Linux Administration by Rajiv
• 8,880 points
26,780 views
0 votes
3 answers

How to uninstall Apache2 on Ubuntu?

apache2 is a meta package that just selects ...READ MORE

Dec 13, 2020 in Linux Administration by Gitika
• 65,870 points
49,637 views
+4 votes
3 answers

Glusterfs fuse client consuming high memory - memory leak

'Stale File Handle error' occurs when the ...READ MORE

Oct 22, 2018 in Linux Administration by Kalgi
• 52,310 points
2,115 views
+1 vote
3 answers

Backing up specific files and renaming them via Bash

I needed to do a similar thing ...READ MORE

Apr 26, 2019 in Linux Administration by Gagan
984 views
0 votes
2 answers

Job for httpd.service failed because the control process exited with error code.

Hi guys I was facing same problem as ...READ MORE

Nov 21, 2020 in Linux Administration by anonymous
• 140 points
6,060 views
0 votes
2 answers

activation of network connection failed in Linux.

नेटवर्क कनेक्शन चाहिए READ MORE

Aug 18, 2020 in Linux Administration by anonymous
• 140 points
7,766 views
0 votes
2 answers

How to change IP address of an Ubuntu VM?

The easiest method is through network manager: 1- ...READ MORE

Aug 24, 2020 in Linux Administration by Pistle
• 300 points
2,458 views
+1 vote
2 answers

if the File system is full how to troubleshoot ?

Check filesystem usage. df -h If /var is showing ...READ MORE

Nov 18, 2019 in Linux Administration by Sirajul
• 59,030 points
779 views
0 votes
2 answers

How do I find all files containing specific text and rename in unix/linux

Hi, @Kal You can use this command below to ...READ MORE

Jul 2, 2019 in Linux Administration by Gitika
• 65,870 points

edited Jul 2, 2019 by Gitika 390 views
0 votes
2 answers

How do I use a shell script to SSH in to a remote machine to execute commands?

Sorry in advance for any formatting. Check out ...READ MORE

Feb 7 in Linux Administration by anonymous
8,276 views
0 votes
2 answers

Name or service not known error

use ping google.com dont add www or https READ MORE

Nov 28, 2020 in Linux Administration by CISUR101
6,189 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

Sep 4, 2020 in Linux Administration by Prakash K. Aithal
1,217 views
0 votes
2 answers
0 votes
2 answers

What does file permission 755 mean?

Hi, File permission 755 means that the directory ...READ MORE

Dec 9, 2020 in Linux Administration by MD
• 95,140 points
88,932 views
+2 votes
2 answers

Ubuntu installing problem

Hey Prince! This seems to be like a ...READ MORE

Oct 15, 2018 in Linux Administration by Omkar
• 69,110 points

edited Oct 15, 2018 by Kalgi 172 views
0 votes
2 answers

How do I find all files containing specific text on Linux?

grep -rnw 'text to find recursively inside ...READ MORE

May 20, 2019 in Linux Administration by Ritesh Singh
16,731 views
0 votes
1 answer

I want to swap from AWS to linux.

Hi@Abdullah, Are you talking about swap partition in ...READ MORE

Dec 9, 2020 in Linux Administration by MD
• 95,140 points
66 views
0 votes
1 answer

How to create HTTP user using htpasswd command?

Hi@akhtar, Htpasswd command is available in the Linux ...READ MORE

Dec 2, 2020 in Linux Administration by MD
• 95,140 points
71 views
0 votes
1 answer

What is Htpasswd in Linux?

Hi@akhtar, htpasswd is used to create and update ...READ MORE

Dec 2, 2020 in Linux Administration by MD
• 95,140 points
132 views
0 votes
1 answer

How to create directory of current username in ruby on Linux server

Hi, The command whoami is used to know ...READ MORE

Nov 25, 2020 in Linux Administration by MD
• 95,140 points
75 views
0 votes
1 answer

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.17.1-1ubuntu0.4_all.deb 404 Not Found [IP: 43.255.166.254 80]

Hi@akhtar, There may be many reasons behind this error. ...READ MORE

Nov 19, 2020 in Linux Administration by MD
• 95,140 points
584 views
0 votes
1 answer

Can we patch azure linux vm using ansible?

Hi@avinash, You can connect your Azure VM from ...READ MORE

Oct 29, 2020 in Linux Administration by akhtar
• 38,180 points
226 views
0 votes
1 answer

Copy files from one Linux system to another Linux system.

Hi@akhtar, You can copy your files from one ...READ MORE

Oct 20, 2020 in Linux Administration by MD
• 95,140 points
240 views
0 votes
1 answer

Select unique lines along with their count in Linux.

Hi@akhtar, You can find the unique entries from ...READ MORE

Oct 19, 2020 in Linux Administration by MD
• 95,140 points
66 views
0 votes
1 answer

How to sort text alphabetically in Linux system?

Hi@akhtar, In the Linux system, you will find ...READ MORE

Oct 19, 2020 in Linux Administration by MD
• 95,140 points
148 views
0 votes
1 answer

How to find the first field from a file in Bash Shell?

Hi@akhtar, You can extract text from a file. ...READ MORE

Oct 19, 2020 in Linux Administration by MD
• 95,140 points
109 views
0 votes
1 answer

Select sections of text from each line of files in a Bash shell.

Hi@akhtar, There is no inbuild command available for ...READ MORE

Oct 19, 2020 in Linux Administration by MD
• 95,140 points
83 views
0 votes
1 answer

How to create nested directories with a single command in linux?

Try this command. mkdir -p /parent_dir/son_dir READ MORE

Oct 19, 2020 in Linux Administration by anonymous
• 19,590 points
261 views
0 votes
1 answer

How to run one command inside another command in Linux?

Hi@akhtar, You can run multiple commands in your ...READ MORE

Oct 14, 2020 in Linux Administration by MD
• 95,140 points
182 views
0 votes
1 answer

What is the linux command to find Memory and CPU usage in percent for last 30 days?

Try the following: Cat proc/meminfo top top -i less /proc/memin ...READ MORE

Oct 14, 2020 in Linux Administration by Kim
117 views
0 votes
1 answer

How to find Resident Set Size of a process in Linux?

Hi@akhtar, RSS is a memory currently used by ...READ MORE

Oct 12, 2020 in Linux Administration by MD
• 95,140 points
206 views
0 votes
1 answer

How to measure the time required to run a program?

Hi@akhtar, You can use the time command in ...READ MORE

Oct 12, 2020 in Linux Administration by MD
• 95,140 points
106 views
0 votes
1 answer

How to find the process ID of a program?

Hi@akhtar, You can find one program named pgrep ...READ MORE

Oct 12, 2020 in Linux Administration by MD
• 95,140 points
96 views
0 votes
1 answer

Dynamic real-time view of the running system in Linux.

Hi@akhtar, The top command is used to show the ...READ MORE

Oct 12, 2020 in Linux Administration by MD
• 95,140 points
148 views
0 votes
1 answer

How to gather CPU architecture information of a Linux system?

Hi@akhtar, You can use lscpu command to check ...READ MORE

Oct 11, 2020 in Linux Administration by MD
• 95,140 points
75 views
0 votes
1 answer

Error lscpu: command not found.

Hi@akhtar, By default, this command should present in ...READ MORE

Oct 11, 2020 in Linux Administration by MD
• 95,140 points
104 views
0 votes
1 answer

Kali linux installation

Hi@Kojokojo, You can check your partitions using the ...READ MORE

Oct 11, 2020 in Linux Administration by MD
• 95,140 points
57 views
0 votes
1 answer

How to configure Gmail in centos7 to send notifications to specific email id's ?

Hi@Shashl, You can use python script in your ...READ MORE

Oct 5, 2020 in Linux Administration by MD
• 95,140 points
92 views
0 votes
1 answer

Capture packets from destination IP in Linux.

Hi@akhtar, To capture packets from destination IP, say you ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,140 points
71 views
0 votes
1 answer

How to capture Packet from specific port?

Hi@akhtar, Let’s say you want to capture packets ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,140 points
88 views
0 votes
1 answer

How to capture only TCP packets in Linux?

Hi@akhtar, You can use tcpdump command for this ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,140 points
67 views
0 votes
1 answer

Capture and Save Packets in a File in Linux.

Hi@akhtar, You can use tcpdump command to save ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,140 points
78 views
0 votes
1 answer

How to display captured packets in HEX and ASCII in Linux?

Hi@akhtar, To display the packet value you can ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,140 points
200 views
0 votes
1 answer

How to display available interfaces in Linux system?

Hi@akhtar, You can use tcpdump command in your ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,140 points
64 views
0 votes
1 answer

How to capture Packets from Specific Interface in Linux?

Hi@akhtar, You can use tcpdump command in your ...READ MORE

Oct 3, 2020 in Linux Administration by MD
• 95,140 points
83 views
0 votes
1 answer

How to Install tcpdump in Linux?

Hi@akhtar, Many Linux distributions already shipped with tcpdump tool, if ...READ MORE

Oct 3, 2020 in Linux Administration by MD
• 95,140 points
66 views
0 votes
1 answer

How to change the current time in Linux system?

Hi@akhtar, You can use timedatectl command in your ...READ MORE

Sep 24, 2020 in Linux Administration by MD
• 95,140 points
77 views
0 votes
1 answer

How to stop automatic time update in Linux?

Hi@akhtar, You can find one command in the ...READ MORE

Sep 24, 2020 in Linux Administration by MD
• 95,140 points
69 views