Most viewed questions in Linux Administration

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,077 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,058 views
0 votes
1 answer

How can i change the value of /proc/sys/kernel/shmmax in a container?

Please follow the below command and set ...READ MORE

Oct 5, 2018 in Linux Administration by Frankie
• 9,830 points
2,037 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,036 views
0 votes
1 answer

CentOS Error: 64 bit bad ELF interpreter

In my experience, a single yum command will ...READ MORE

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

Running scripts as a different user without password

You'll have to edit you sudoers file ...READ MORE

Jul 3, 2019 in Linux Administration by DareDev
• 6,890 points
1,927 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, 2020 in Linux Administration by anonymous
• 19,610 points
1,906 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,878 views
0 votes
1 answer

Not able to access /etc/sudoers.d/python file

I think your system is not allowing ...READ MORE

Feb 6, 2019 in Linux Administration by Lohit
1,867 views
0 votes
1 answer

How to configure yum in RedHat system?

Hi@akhtar, By default, RedHat has one ISO file. ...READ MORE

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

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

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

127.0.0.1: Could not Determine the server's fully qualified domain name

If you don't have httpd.conf in folder /etc/apache2, you should ...READ MORE

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

How to Configuring NTP server using chrony?

Hi@akhtar, To use NTP server in your system, ...READ MORE

May 11, 2020 in Linux Administration by MD
• 95,440 points
1,668 views
0 votes
0 answers

Using v4l2loopback virtual cam with google-chrome or chromium on linux while having real webcam in use

(I hope posting an answer to own ...READ MORE

Apr 21, 2022 in Linux Administration by Edureka
• 13,670 points
1,642 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, 2020 in Linux Administration by akhtar
• 38,230 points
1,639 views
0 votes
1 answer

fdisk: Unable to write /dev/sdg: Bad file descriptor

Hi@akhtar, You may get this error if your ...READ MORE

May 11, 2020 in Linux Administration by MD
• 95,440 points
1,623 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, 2020 in Linux Administration by MD
• 95,440 points
1,616 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,553 views
0 votes
1 answer

“cd” doesn't work in my shell script

One way to get around this is ...READ MORE

May 24, 2019 in Linux Administration by Shubham
• 13,490 points
1,537 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,526 views
0 votes
1 answer

How to check permissions of a file in the Linux system?

Hi@akhtar, If you prefer using the command line, ...READ MORE

Aug 13, 2020 in Linux Administration by MD
• 95,440 points
1,478 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,472 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,471 views
0 votes
1 answer

How to break root password in CentOS/RHEL 8?

Hi@akhtar, Reboot the system and interrupt the boot ...READ MORE

May 11, 2020 in Linux Administration by MD
• 95,440 points
1,471 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,459 views
0 votes
0 answers

Bash script to automate a VPN from vpnbook.com

I wrote a bash script that reads ...READ MORE

May 27, 2022 in Linux Administration by Rahul
• 3,380 points
1,431 views
0 votes
1 answer

ERROR Request entity too large. Request exceeds the capacity limit

Hi@akhtar, The file download size limit is controlled ...READ MORE

May 11, 2020 in Linux Administration by MD
• 95,440 points
1,427 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,397 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, 2020 in Linux Administration by MD
• 95,440 points
1,391 views
0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

Mar 15, 2019 in Linux Administration by Jobin
1,377 views
0 votes
0 answers

Get Selenium to work with Brave browser on Linux

I am trying to get Selenium to ...READ MORE

Apr 14, 2022 in Linux Administration by Soham
• 9,700 points
1,369 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, 2020 in Linux Administration by MD
• 95,440 points
1,343 views
0 votes
1 answer

How to recover deleted LVM in linux?

Hi@akhtar, Using the command vgcfgrestore we can recover deleted ...READ MORE

Jul 9, 2020 in Linux Administration by MD
• 95,440 points
1,334 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,328 views
0 votes
1 answer

Comparing two string variables in an 'if' statement in Bash

1. For string comparison, use: if [ "$s1" ...READ MORE

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

Writing a heredoc to a file in a script

try to use tee: tee newfile <<EOF line 1 line 2 line ...READ MORE

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

Error lscpu: command not found.

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

Oct 12, 2020 in Linux Administration by MD
• 95,440 points
1,296 views
0 votes
0 answers

How to display content part in seeddms full-text index info?

          I have installed the seeddms in ...READ MORE

Jul 15, 2019 in Linux Administration by nmentityvibes
• 420 points
1,239 views
0 votes
0 answers

Getting file in hex format - my output vs xxd command output

I'm trying to write a simple program ...READ MORE

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

Linux: Killing a process occupying a particular port

Use the port command to find the ...READ MORE

Apr 3, 2019 in Linux Administration by DareDev
• 6,890 points
1,215 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 9, 2022 in Linux Administration by Rahul
• 3,380 points
1,204 views
0 votes
1 answer

What is absolute path in Ubuntu?

An absolute path is a path to ...READ MORE

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

How does the wc -c in linux work?

Why the number of characters is 4? echo ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,670 points
1,157 views
0 votes
0 answers

Default username and password of kali linux -2021.1-vbox amd 64?

I had tried this USERNAME: Root PASSWORD: Root user: ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,670 points
1,156 views
0 votes
1 answer

generating a list of files with their absolute path in Linux

If you find an absolute path to start with, ...READ MORE

May 16, 2019 in Linux Administration by Upasana
• 8,620 points
1,142 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,134 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, 2020 in Linux Administration by MD
• 95,440 points
1,128 views
0 votes
0 answers

Can't connect cloudflare warp vpn in linux

I installed and set up Cloudflare warp ...READ MORE

Apr 13, 2022 in Linux Administration by Aditya
• 7,680 points
1,126 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 21, 2020 in Linux Administration by MD
• 95,440 points
1,124 views