Most answered questions in Linux Administration

+2 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
• 58,210 points
71,239 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
• 51,970 points
1,839 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
908 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

2 days ago in Linux Administration by anonymous
• 140 points
2,410 views
0 votes
2 answers

activation of network connection failed in Linux.

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

Aug 18 in Linux Administration by anonymous
• 140 points
4,531 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 in Linux Administration by Pistle
• 300 points
1,169 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
• 58,210 points
485 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
• 48,360 points

edited Jul 2, 2019 by Gitika 254 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 in Linux Administration by Prakash K. Aithal
901 views
0 votes
2 answers
+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,030 points

edited Oct 15, 2018 by Kalgi 138 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
14,341 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

5 days ago in Linux Administration by MD
• 77,740 points
20 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 in Linux Administration by akhtar
• 32,960 points
65 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 in Linux Administration by MD
• 77,740 points
35 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 in Linux Administration by MD
• 77,740 points
30 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 in Linux Administration by MD
• 77,740 points
36 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 in Linux Administration by MD
• 77,740 points
28 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 in Linux Administration by MD
• 77,740 points
47 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 in Linux Administration by anonymous
• 19,570 points
26 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 in Linux Administration by MD
• 77,740 points
43 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 in Linux Administration by Kim
45 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 in Linux Administration by MD
• 77,740 points
48 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 in Linux Administration by MD
• 77,740 points
79 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 in Linux Administration by MD
• 77,740 points
29 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 in Linux Administration by MD
• 77,740 points
36 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 in Linux Administration by MD
• 77,740 points
35 views
0 votes
1 answer

Error lscpu: command not found.

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

Oct 11 in Linux Administration by MD
• 77,740 points
38 views
0 votes
1 answer

Kali linux installation

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

Oct 11 in Linux Administration by MD
• 77,740 points
26 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 in Linux Administration by MD
• 77,740 points
46 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 in Linux Administration by MD
• 77,740 points
27 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 in Linux Administration by MD
• 77,740 points
31 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 in Linux Administration by MD
• 77,740 points
28 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 in Linux Administration by MD
• 77,740 points
34 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 in Linux Administration by MD
• 77,740 points
40 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 in Linux Administration by MD
• 77,740 points
24 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 in Linux Administration by MD
• 77,740 points
31 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 in Linux Administration by MD
• 77,740 points
28 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 in Linux Administration by MD
• 77,740 points
37 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 in Linux Administration by MD
• 77,740 points
33 views
0 votes
1 answer

How to find all files containing specific text on Linux?

Hi@akhtar, Linux systems have one interesting command name grep. ...READ MORE

Sep 22 in Linux Administration by MD
• 77,740 points
39 views
0 votes
1 answer

How to delete an exported environment variable?

Hi@akhtar, To set an environment we used export ...READ MORE

Sep 22 in Linux Administration by MD
• 77,740 points
38 views
0 votes
1 answer

Error while installing Let's Encrypt SSL on My Website

Hi@Hitesh, There may be a firewall issue. Check ...READ MORE

Aug 24 in Linux Administration by MD
• 77,740 points
92 views
0 votes
1 answer

How to change the group of a folder in Linux system?

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

Aug 14 in Linux Administration by MD
• 77,740 points
75 views
0 votes
1 answer

How to add user to a group in Linux system?

Hi@akhtar, In Linux, different users have different roles ...READ MORE

Aug 13 in Linux Administration by MD
• 77,740 points
74 views
0 votes
1 answer

How to create a group in Linux system?

Hi@MD, On Linux, group information is held in the /etc/group file. ...READ MORE

Aug 13 in Linux Administration by akhtar
• 32,960 points
71 views
0 votes
1 answer

How to change the owner of any folder in Linux system?

Hi@akhtar, Linux system has one command named chown. This ...READ MORE

Aug 13 in Linux Administration by MD
• 77,740 points
97 views
0 votes
1 answer

chmod: changing permissions of '/root/': Operation not permitted

Hi@akhtar, You got this error because your user ...READ MORE

Aug 13 in Linux Administration by MD
• 77,740 points
1,502 views
0 votes
1 answer

How to remove write permission from a folder in Linux system?

Hi@akhtar, You can use chmod command to remove ...READ MORE

Aug 13 in Linux Administration by MD
• 77,740 points
88 views