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,230 points
255,211 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
76,945 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
255,678 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,360 points
4,391 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,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

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

activation of network connection failed in Linux.

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

Aug 18, 2020 in Linux Administration by anonymous
• 140 points
16,754 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
13,478 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,230 points
4,721 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,910 points

edited Jul 2, 2019 by Gitika 2,097 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
16,746 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
9,003 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
2,509 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,440 points
253,334 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 968 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
39,496 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, 2022 in Linux Administration by Rahul
• 3,380 points
1,551 views
0 votes
1 answer

bash : Bad Substitution

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

Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
1,570 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, 2022 in Linux Administration by Rahul
• 3,380 points
4,717 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, 2022 in Linux Administration by Rahul
• 3,380 points
719 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, 2022 in Linux Administration by Rahul
• 3,380 points
715 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, 2022 in Linux Administration by Korak
• 5,820 points
306 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, 2022 in Linux Administration by Korak
• 5,820 points
417 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, 2022 in Linux Administration by Korak
• 5,820 points
343 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, 2022 in Linux Administration by Korak
• 5,820 points
373 views
0 votes
1 answer

How to keep quotes in Bash arguments?

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

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

Compare $1 with another string in bash

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

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

What does -f mean in bash

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

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

Difference between single and double quotes in Bash

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

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

Difference between single and double quotes in Bash

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

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

"sed" command in bash

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

Jun 7, 2022 in Linux Administration by Korak
• 5,820 points
421 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, 2022 in Linux Administration by Korak
• 5,820 points
1,478 views
0 votes
1 answer

bash terminal on kubuntu

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

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

bash: telnet: command not found

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

May 27, 2022 in Linux Administration by Korak
• 5,820 points
1,153 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, 2022 in Linux Administration by Korak
• 5,820 points
1,469 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, 2022 in Linux Administration by Korak
• 5,820 points
418 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, 2022 in Linux Administration by Korak
• 5,820 points
384 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, 2022 in Linux Administration by Korak
• 5,820 points
1,334 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, 2022 in Linux Administration by Korak
• 5,820 points
866 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, 2022 in Linux Administration by Korak
• 5,820 points
2,048 views
0 votes
1 answer

Adding Git-Bash to the new Windows Terminal

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

May 27, 2022 in Linux Administration by Korak
• 5,820 points
722 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, 2022 in Linux Administration by Korak
• 5,820 points
3,131 views
0 votes
1 answer

Amazon Linux: apt-get: command not found

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

Feb 11, 2022 in Linux Administration by Soham
• 9,700 points
2,107 views
0 votes
1 answer

Chmod 777 to a folder and all contents

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

Feb 9, 2022 in Linux Administration by Rahul
• 9,670 points
7,229 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,440 points
445 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,440 points
957 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,440 points
1,194 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,440 points
595 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,440 points
17,899 views