Most answered questions in Linux Administration

+3 votes
7 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,170 points
171,870 views
0 votes
3 answers

Setting JAVA_HOME in linux

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

Dec 10, 2020 in Linux Administration by Rajiv
• 8,910 points
43,957 views
0 votes
3 answers

How to uninstall Apache2 on Ubuntu?

Hey @Laksha, execute the following commands: $ sudo ...READ MORE

May 14, 2019 in Linux Administration by Hemant
142,296 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,350 points
2,669 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
1,167 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
21,312 views
0 votes
2 answers

activation of network connection failed in Linux.

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

Aug 18, 2020 in Linux Administration by anonymous
• 140 points
13,023 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 25, 2020 in Linux Administration by Pistle
• 300 points
6,336 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,170 points
1,939 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,850 points

edited Jul 2, 2019 by Gitika 798 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, 2021 in Linux Administration by anonymous
13,791 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
8,065 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 5, 2020 in Linux Administration by Prakash K. Aithal
1,676 views
0 votes
2 answers
+1 vote
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,360 points
163,975 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,210 points

edited Oct 15, 2018 by Kalgi 303 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
25,056 views
0 votes
1 answer

How do you copy and paste into Git Bash

Press Insert. Likewise, to duplicate from the window, ...READ MORE

Jun 20 in Linux Administration by Rahul
• 3,380 points
17 views
0 votes
1 answer

bash : Bad Substitution

The default shell (/bin/sh) under Ubuntu focuses ...READ MORE

Jun 20 in Linux Administration by Rahul
• 3,380 points
16 views
0 votes
1 answer

How to compile executable for Windows with GCC with Linux Subsystem?

Linux Subsystem fills in as a Linux-PC. ...READ MORE

Jun 20 in Linux Administration by Rahul
• 3,380 points
13 views
0 votes
1 answer

What does '-gt' operator mean in Bash programming?

It's a math test. assist with testing ...READ MORE

Jun 20 in Linux Administration by Rahul
• 3,380 points
9 views
0 votes
1 answer

Why do you need to put #!/bin/bash at the beginning of a script file?

It's a show so the *nix shell ...READ MORE

Jun 20 in Linux Administration by Rahul
• 3,380 points
13 views
0 votes
1 answer

Is there a better way to run a command N times in bash?

In the event that your reach has ...READ MORE

Jun 16 in Linux Administration by Korak
• 5,820 points
14 views
0 votes
1 answer

Is there a better way to run a command N times in bash?

In the event that your reach has ...READ MORE

Jun 13 in Linux Administration by Korak
• 5,820 points
10 views
0 votes
1 answer

Are there any man pages that summarize bash scripting?

Regardless of whether man pages are exceptionally ...READ MORE

Jun 13 in Linux Administration by Korak
• 5,820 points
7 views
0 votes
1 answer

df -h if freespace equals then | bash

Try this out: destination="$HOME/Desktop/sandbox" freespace="$(df -h / | tail ...READ MORE

Jun 13 in Linux Administration by Korak
• 5,820 points
8 views
0 votes
1 answer

How to keep quotes in Bash arguments?

utilizing "$@" will substitute the contentions as ...READ MORE

Jun 13 in Linux Administration by Korak
• 5,820 points
12 views
0 votes
1 answer

Compare $1 with another string in bash

The explanation $1 doesn't match is on ...READ MORE

Jun 13 in Linux Administration by Korak
• 5,820 points
10 views
0 votes
1 answer

What does -f mean in bash

Luckily, the Bash Reference Manual is accessible ...READ MORE

Jun 10 in Linux Administration by Korak
• 5,820 points
6 views
0 votes
1 answer

Difference between single and double quotes in Bash

Single statements will not insert anything, yet ...READ MORE

Jun 10 in Linux Administration by Korak
• 5,820 points
8 views
0 votes
1 answer

Difference between single and double quotes in Bash

Single statements will not add anything, however ...READ MORE

Jun 7 in Linux Administration by Korak
• 5,820 points
14 views
0 votes
1 answer

"sed" command in bash

sed is the Stream EDitor. It can ...READ MORE

Jun 7 in Linux Administration by Korak
• 5,820 points
17 views
0 votes
1 answer

How do I check if a directory exists in a Bash shell script?

To check if a directory exists in ...READ MORE

Jun 7 in Linux Administration by Korak
• 5,820 points
17 views
0 votes
1 answer

bash terminal on kubuntu

You are actually using a bash terminal. ...READ MORE

Jun 7 in Linux Administration by Korak
• 5,820 points
10 views
0 votes
1 answer

bash: telnet: command not found

Indeed you would have to introduce telnet ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
33 views
0 votes
1 answer

bashrc not found on MacOS Monterey version 12.0

Assuming that you believe your content should ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
75 views
0 votes
1 answer

Persistant "bash: /home/XXX/.rvm/scripts/rvm: No such file or directory" in terminal

Introduce RVM: gpg - - keyserver hkp://keys.gnupg.net - ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
33 views
0 votes
1 answer

Is there a limit on the number of words in bash command 'for file in words'?

Anyway, you need to print everything except ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
16 views
0 votes
1 answer

Windows system, after heroku login from git bash, there is no command line show

You can login via Windows command prompt ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
128 views
0 votes
1 answer

How to check if a string contains a substring in Bash?

You ought to recollect that shell prearranging ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
17 views
0 votes
1 answer

How can I download git branch files to local system?

Clone the master branch. As you  said ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
17 views
0 votes
1 answer

Adding Git-Bash to the new Windows Terminal

Open settings with Ctrl + , You'll want ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
28 views
0 votes
1 answer

bash: /home/XXX/.rvm/scripts/rvm: No such file or directory

Install RVM  gpg --keyserver hkp:// keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 ​Now ...READ MORE

May 27 in Linux Administration by Korak
• 5,820 points
71 views
0 votes
1 answer

Amazon Linux: apt-get: command not found

Amazon Linux is CentOs-based which means that ...READ MORE

Feb 11 in Linux Administration by Soham
• 8,730 points
162 views
0 votes
1 answer

Chmod 777 to a folder and all contents

To help you with your doubt, if ...READ MORE

Feb 9 in Linux Administration by Rahul
• 8,980 points
310 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,360 points
173 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,360 points
310 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,360 points
350 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,360 points
189 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,360 points
3,177 views