Most viewed questions in Linux Administration

0 votes
1 answer

How to create Logical Volume from Volume Group in Linux?

Hi@akhtar, You can use lvcreate command to create ...READ MORE

Jul 9, 2020 in Linux Administration by MD
• 95,440 points
1,122 views
0 votes
1 answer

How to have the cp command create only if necessary folders while copying a file to a destination

mkdir -p /foo/bar && cp myfile "$_" ...READ MORE

Jul 19, 2019 in Linux Administration by Shubham
• 13,490 points
1,115 views
0 votes
1 answer

Setting environment variables in linux

You need to add more information about ...READ MORE

May 13, 2019 in Linux Administration by ajs3033
• 7,300 points
1,094 views
0 votes
1 answer

Command to tar directory excluding certain files/folders

$ tar --exclude='./folder' --exclude='./upload/folder2' -zcvf /backup/filename.tgz . Try ...READ MORE

Jul 13, 2019 in Linux Administration by Shubham
• 13,490 points
1,092 views
0 votes
1 answer

How to create Volume Group in Linux?

Hi@akhtar, To create a Volume Group, you need ...READ MORE

Jul 9, 2020 in Linux Administration by MD
• 95,440 points
1,090 views
0 votes
1 answer

Display shared libraries used by executables in linux

In order to do this, you need ...READ MORE

Jul 3, 2019 in Linux Administration by ajs3033
• 7,300 points
1,079 views
0 votes
1 answer

How to activate a SUSPENDED LVM physical volume?

Hi@akhtar, To reactivate the PV or resume the ...READ MORE

May 12, 2020 in Linux Administration by MD
• 95,440 points
1,070 views
0 votes
1 answer

Docker: Can't connect to docker daemon

Documentation Link: Post-installation steps for Linux  This documentation reveals ...READ MORE

Jun 8, 2019 in Linux Administration by Shubham
• 13,490 points
1,034 views
0 votes
1 answer

Making a program sleep for milliseconds?

There are no standard C API's that ...READ MORE

Mar 1, 2019 in Linux Administration by DareDev
• 6,890 points
1,033 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 14, 2020 in Linux Administration by MD
• 95,440 points
1,019 views
0 votes
1 answer

How to increase Logical Volume Size in Linux?

Hi@akhtar, To increase the Logical Volume Size, the ...READ MORE

Jul 9, 2020 in Linux Administration by MD
• 95,440 points
1,012 views
0 votes
0 answers

How to change default integreated terminal in VS Code to kitty, on Linux?

I'm using kitty (it's a terminal) on ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,670 points
1,011 views
0 votes
1 answer

How to send mail using linux shell script?

If you've already configured the server, with ...READ MORE

Jun 11, 2019 in Linux Administration by ajs3033
• 7,300 points
1,008 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,440 points
992 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

Apr 7, 2020 in Linux Administration by MD
• 95,440 points
989 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, 2020 in Linux Administration by MD
• 95,440 points
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 965 views
0 votes
0 answers

Opening a binary file in VI and XXD

I am attempting to modify the binary ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,670 points
956 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
955 views
0 votes
0 answers

Send private message to Discord user using bash and linux AT command

I'm running a Discord bot written in ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,670 points
942 views
0 votes
0 answers

How to fix 'sudo: no tty present and no askpass program specified' error?

I  wanted to compile sources using a ...READ MORE

May 9, 2022 in Linux Administration by Kichu
• 19,050 points
919 views
0 votes
1 answer

Centos 7 network setup

Power off the VM and then go ...READ MORE

Jul 5, 2019 in Linux Administration by Vasini
882 views
0 votes
1 answer

Auto renewal of SSL certificates

You can something called cron job. Basically ...READ MORE

Dec 13, 2019 in Linux Administration by Aron
867 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
864 views
0 votes
1 answer

How to take input from user in bash script?

You can use if-else branch to check ...READ MORE

Jan 31, 2019 in Linux Administration by Omkar
• 69,210 points
864 views
0 votes
0 answers

Launch the Brave web browser on Linux using selenium & JavaScript

I am trying to setup a hello ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
854 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,440 points
842 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

Feb 1, 2019 in Linux Administration by Omkar
• 69,210 points
838 views
0 votes
0 answers

How to add man and zip to "git bash" installation on Windows

I am using git bash on Windows - that ...READ MORE

Jun 7, 2022 in Linux Administration by Rahul
• 3,380 points
836 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 20, 2020 in Linux Administration by MD
• 95,440 points
835 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
834 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
832 views
0 votes
1 answer

Overall CPU usage (%)

top -bn2 | grep "Cpu(s)" | \ ...READ MORE

Jun 17, 2019 in Linux Administration by Shubham
• 13,490 points
819 views
0 votes
1 answer

How to configure SSH server in RHEL/CentOS?

Hi@MD, To configure SSH server to your system, ...READ MORE

Mar 30, 2020 in Linux Administration by akhtar
• 38,230 points
813 views
0 votes
1 answer

How to change the default shell in Linux?

1. Change the password file directly for ...READ MORE

May 24, 2019 in Linux Administration by Upasana
• 8,620 points
801 views
0 votes
1 answer

Redirecting output to a file and stdout

The command you want is named tee; foo ...READ MORE

May 31, 2019 in Linux Administration by Shubham
• 13,490 points
799 views
0 votes
1 answer

Not able to install sublime text editor

Delete the following file: /etc/apt/sources.lits.d/sublime-text.list and then try to ...READ MORE

Feb 19, 2019 in Linux Administration by Joe
794 views
0 votes
1 answer

not able to run netstat-tnlp in Linux.

Hi@akhtar, In Linux system netstat-tnlp command comes from ...READ MORE

Apr 16, 2020 in Linux Administration by MD
• 95,440 points
786 views
0 votes
1 answer

HTTP POST and GET using cURL

You can just add | grep }| ...READ MORE

Jul 22, 2019 in Linux Administration by Upasana
• 8,620 points
786 views
0 votes
1 answer

How to collect all output in one file?

You can use 2> to redirect it: foo ...READ MORE

Mar 1, 2019 in Linux Administration by ajs3033
• 7,300 points
785 views
0 votes
1 answer

How to execute a linux command repeatedly after a set time?

To watch the step every say 30 ...READ MORE

Jul 26, 2019 in Linux Administration by ajs3033
• 7,300 points
769 views
0 votes
1 answer

How to find the group associated with a user in linux?

To list all the groups groups or to list ...READ MORE

Jun 21, 2019 in Linux Administration by DareDev
• 6,890 points
764 views
0 votes
1 answer

Error installing npm

Npm depends on NodeJS to run/get installed. ...READ MORE

Feb 9, 2019 in Linux Administration by Omkar
• 69,210 points
763 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
759 views
0 votes
1 answer

How to convert DOS line endings to Linux line endings in vim?

try this; :%s/\r/\r/g READ MORE

May 24, 2019 in Linux Administration by Upasana
• 8,620 points
756 views
0 votes
1 answer

Error: tkinter for Python Installation

It isn't easy to install Tkinter locally ...READ MORE

Jul 4, 2019 in Linux Administration by Upasana
• 8,620 points
753 views
0 votes
1 answer

Killing a Zombie Process

You can clean up a zombie process ...READ MORE

Jun 20, 2019 in Linux Administration by Upasana
• 8,620 points
746 views
0 votes
1 answer

Argument receiving error for rm command

Bash actually expands the asterisk to every ...READ MORE

Jun 8, 2019 in Linux Administration by Shubham
• 13,490 points
744 views
0 votes
1 answer

How to format Logical Volume in Linux?

Hi@akhtar, In Linux, you can find lots of ...READ MORE

Jul 9, 2020 in Linux Administration by MD
• 95,440 points
739 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
738 views