Most voted questions in Linux Administration

+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,331 views
+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
254,434 views
+2 votes
1 answer

Not able to install npm on Ubuntu

Try installing npm using aptitude: sudo apt install aptitude sudo ...READ MORE

Nov 28, 2018 in Linux Administration by Omkar
• 69,210 points
7,724 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 955 views
+1 vote
1 answer

How to configure NFS server in Linux?

Hi@akhtar, To configure NFS server in your system, ...READ MORE

May 27, 2020 in Linux Administration by MD
• 95,440 points
754 views
+1 vote
1 answer

Failed to start Crash recovery kernel arming.

Hi@akhtar, To avoid this error you can follow ...READ MORE

May 11, 2020 in Linux Administration by MD
• 95,440 points
16,672 views
+1 vote
1 answer

Termux Android code for phishing the page

Hey, @Vaibhav, After complete all the process and once ...READ MORE

Apr 27, 2020 in Linux Administration by Gitika
• 65,910 points

edited Apr 30, 2020 by Gitika 10,007 views
+1 vote
0 answers

Could not start the machine edureka_host_vm because the following physical network interfaces were not found:

Could not start the machine edureka_host_vm because ...READ MORE

Jan 28, 2020 in Linux Administration by Harish
• 130 points
820 views
+1 vote
0 answers

I am getting error as undefined reference how to resolve it?

this is the error i got main.c:(.text+0x6c): undefined ...READ MORE

Dec 5, 2019 in Linux Administration by pooja
• 130 points
1,469 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,695 views
+1 vote
0 answers
+1 vote
1 answer

Error :Ethernet Cable unplugged in Ubuntu

Try this: $ sudo ifconfig eth0 down $ sudo ...READ MORE

Feb 9, 2019 in Linux Administration by Omkar
• 69,210 points
13,113 views
+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
252,372 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,870 views
0 votes
0 answers

Get yesterday's date in bash on Linux, DST-safe

I have a shell script that runs ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
821 views
0 votes
0 answers

How to implement getch() function of C in Linux?

In TurboC++, I can use the getch() ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
459 views
0 votes
0 answers

What does the $ mean in Linux?

I have to explain what the code ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
392 views
0 votes
0 answers

How to search any word in linux 'screen'

I am going screen logs of devstack ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
342 views
0 votes
0 answers

xxd usage (change magic byte to JPEG)

I create a simple test file like ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
496 views
0 votes
0 answers

How do I get my bash script to assign unique usernames automatically to new users?

I'm a beginner writing a bash script ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
536 views
0 votes
0 answers

Can bash show a function's definition?

Is there a way to view a ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
368 views
0 votes
0 answers

if, elif, else statement issues in Bash

I can't seem to work out what ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
355 views
0 votes
0 answers

How to execute mongodb commands from bash shell?

I searched and found that one can ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
2,050 views
0 votes
0 answers

Bash script command result inside other variable to define prompt

I would like to define a prompt ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
240 views
0 votes
0 answers

Sqlplus login error when using bash variables: SP2-0306: Invalid option

I have a bash script that connects ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
2,596 views
0 votes
0 answers

zodiac sign calculator using bash script

#!/usr/bin/bash echo "This is a zodiac sign calculator" echo ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
377 views
0 votes
0 answers

How to list all background pids in bash

Either I am not able to phrase ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
257 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
325 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
369 views
0 votes
0 answers

git bash commands with python or Gitpyhon

So I have follwoing bash command which ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
1,388 views
0 votes
0 answers

Bash - cat command and errors

I was trying bash shell redirection. I ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
656 views
0 votes
0 answers

Convert PDF to DOC (Python/Bash)

I've saw some pages that allow user ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
249 views
0 votes
0 answers

How can I get the directory where a Bash script is located from within the script itself?

How do I get the path of ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
255 views
0 votes
0 answers

Renaming multiples files with a bash loop

I need to rename 45 files, and ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
221 views
0 votes
0 answers

How do I run a program with commandline arguments using GDB within a Bash script?

When running a program on GDB, usually, ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
537 views
0 votes
0 answers

What is the preferred Bash shebang?

Is there any Bash shebang objectively better than the ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
315 views
0 votes
0 answers

How can I invoke both BASH and CSH shells in a same script

In the same script, I want to ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
299 views
0 votes
0 answers

Escaping Quotes in Chef Bash

This I need quotes in a cronjob ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
334 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,517 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,544 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,680 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
703 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
701 views
0 votes
0 answers

Install Heroku CLI on Mac with Bash Termimal

I'm trying to follow this guide and ...READ MORE

Jun 16, 2022 in Linux Administration by Rahul
• 3,380 points
715 views
0 votes
0 answers

How to send control+c from a bash script?

I'm starting a number of screens in ...READ MORE

Jun 16, 2022 in Linux Administration by Rahul
• 3,380 points
599 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
296 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
408 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
332 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
358 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
723 views