Most viewed questions in Linux Administration

0 votes
1 answer

Install aptitude on Ubuntu

You just have to run one single ...READ MORE

Aug 26, 2019 in Linux Administration by Barca
5,116 views
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
5,051 views
0 votes
1 answer

Job for nginx.service failed. See "systemctl status nginx.service" and "journalctl -xe" for details.

Hi@akhtar, I think you didn't install php-fpm rpm ...READ MORE

Apr 24, 2020 in Linux Administration by MD
• 95,440 points
4,973 views
0 votes
0 answers

How to setup CRON job to run every 10 seconds in Linux?

I need to run a CRON job every 10 ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
4,767 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,699 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,689 views
0 votes
1 answer

How to create Physical Volume in Linux?

Hi@akhtar, To create Physical volume in the Linux ...READ MORE

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

Volume group "mylv" not found Cannot process volume group mylv

Hi@akhtar, You got this error because your command ...READ MORE

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

How to run GUI program in SSH server from remote desktop?

Hi@akhtar, First you have to configure SSH server ...READ MORE

Mar 31, 2020 in Linux Administration by MD
• 95,440 points
4,189 views
0 votes
1 answer

Adding yes/no/cancel prompts in shell script

You can use the read command. Here's ...READ MORE

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

How to remove brackets using sed?

Try this: sed 's/[()]//g' <<< Hi(hello).How are you? READ MORE

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

to pass the user's password to scp

Try using the 'expect' script on the ...READ MORE

May 29, 2019 in Linux Administration by Shubham
• 13,490 points
3,766 views
0 votes
1 answer

Proxy Error the proxy server received an invalid response from an upstream server.

Hi@akhtar, I think you did not configure your ...READ MORE

Apr 22, 2020 in Linux Administration by MD
• 95,440 points
3,664 views
0 votes
1 answer

How to perform proxy http request using curl?

One of the ways is: export http_proxy=http://your.proxy.server:port/ Then you ...READ MORE

Mar 26, 2019 in Linux Administration by DareDev
• 6,890 points
3,657 views
0 votes
1 answer

How to limit upload size in Apache Webserver?

Hi@akhtar, You can make use of the LimitRequestBody directive to ...READ MORE

Jun 8, 2020 in Linux Administration by MD
• 95,440 points
3,587 views
0 votes
1 answer

group apache does not exist - using root.

Hi@akhtar, When we install apache wevserver in our ...READ MORE

Apr 14, 2020 in Linux Administration by MD
• 95,440 points
3,469 views
0 votes
1 answer

ld unable to find existing library

your problem here is that your linker ...READ MORE

Mar 19, 2019 in Linux Administration by DareDev
• 6,890 points
3,418 views
0 votes
1 answer

Access Denied to user root@localhost while using mysql

For MySQL versions < 5.7: the default root ...READ MORE

May 13, 2019 in Linux Administration by DareDev
• 6,890 points
3,400 views
0 votes
0 answers

how to grep a specific process from ps in linux?

When I ps -af | grep RV ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,670 points
3,294 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,115 views
–1 vote
1 answer

How to use help command for ls?

The help command is limited and it ...READ MORE

Jan 3, 2019 in Linux Administration by Omkar
• 69,210 points
2,993 views
0 votes
1 answer

How to remove write permission from a folder in Linux system?

Hi@akhtar, You can use chmod command to remove ...READ MORE

Aug 13, 2020 in Linux Administration by MD
• 95,440 points
2,991 views
0 votes
1 answer

What does “sudo echo nameserver 8.8.8.8 > /etc/resolv.conf” do?

If executing this command resolved your issue ...READ MORE

Jan 23, 2019 in Linux Administration by joey
2,900 views
0 votes
1 answer

Input file name in the mapper in a Hadoop program

Try this inside your mapper : FileSplit fileSplit ...READ MORE

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

Create new user on Ubuntu

Hey @Eric,  Follow these steps: Go to your terminal  Execute ...READ MORE

Jan 10, 2019 in Linux Administration by Noah
2,804 views
0 votes
1 answer

Error:mvn clean install" in my linux machine to build a maven Project

Hello @Niroj , You need to double check the PATH environment ...READ MORE

Aug 6, 2020 in Linux Administration by anonymous
• 82,880 points
2,779 views
0 votes
1 answer

Getting error while installing deb file: dpkg frontend is locked by another process

You can try to remove the lock. ...READ MORE

Apr 1, 2019 in Linux Administration by Tina
2,762 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,607 views
0 votes
1 answer

To attach a file using mail command on Linux

$ echo | mutt -a syslogs.tar.gz admin@domain.org READ MORE

Jun 28, 2019 in Linux Administration by Upasana
• 8,620 points
2,603 views
0 votes
1 answer

How to run one command inside another command in Linux?

Hi@akhtar, You can run multiple commands in your ...READ MORE

Oct 15, 2020 in Linux Administration by MD
• 95,440 points
2,586 views
0 votes
1 answer

How to check version of package installed by npm?

These commands are used to check the ...READ MORE

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

How many partitions can be created from hard disk?

Hi@akhtar, You can make four primary partitions in ...READ MORE

Apr 8, 2020 in Linux Administration by MD
• 95,440 points
2,565 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,499 views
0 votes
1 answer

How to delete an exported environment variable?

Hi@akhtar, To set an environment we used export ...READ MORE

Sep 22, 2020 in Linux Administration by MD
• 95,440 points
2,486 views
0 votes
1 answer

ssh :: Permission denied

Hey @Vinod,  Check if you're providing the correct ...READ MORE

Apr 2, 2019 in Linux Administration by Kalgi
• 52,360 points
2,462 views
0 votes
1 answer

Using shell variables in an awk script

Using -v is, imo, The best way because ...READ MORE

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

Unable to login with GUI on CentOS/RHEL

Hi@akhtar, For new installation of CentOS/RHEL, GUI doesn't ...READ MORE

May 11, 2020 in Linux Administration by MD
• 95,440 points
2,366 views
0 votes
1 answer

How t find httpd.conf file in apache?

First f all, get apache's path: $ ps ...READ MORE

Feb 27, 2019 in Linux Administration by ajs3033
• 7,300 points
2,354 views
0 votes
1 answer

Not able to find IP address in VM.

Hi@akhtar, You need to change your network adapter ...READ MORE

Jul 8, 2020 in Linux Administration by MD
• 95,440 points
2,309 views
0 votes
1 answer

Deploy a static website on a webserver

Hi @hannah. You are right, you need ...READ MORE

Dec 13, 2019 in Linux Administration by Travis
2,228 views
0 votes
1 answer

How to stop automatic time update in Linux?

Hi@akhtar, You can find one command in the ...READ MORE

Sep 24, 2020 in Linux Administration by MD
• 95,440 points
2,201 views
0 votes
1 answer

How to capture Packet from specific port?

Hi@akhtar, Let’s say you want to capture packets ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,440 points
2,194 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

Feb 15, 2019 in Linux Administration by DareDev
• 6,890 points
2,187 views
0 votes
1 answer

What is the linux command to find Memory and CPU usage in percent for last 30 days?

Try the following: Cat proc/meminfo top top -i less /proc/memin ...READ MORE

Oct 14, 2020 in Linux Administration by Kim
2,113 views
0 votes
1 answer

How to change port no 80 of httpd webserver?

Hi@akhtar, You can change port no of httpd ...READ MORE

Apr 21, 2020 in Linux Administration by MD
• 95,440 points
2,102 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

Jan 3, 2019 in Linux Administration by Omkar
• 69,210 points
2,092 views
0 votes
1 answer

Deleting an exported environment variable

Just use unset command: unset GNUPLOT_DRIVER_DIR READ MORE

Mar 13, 2019 in Linux Administration by DareDev
• 6,890 points
2,086 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,083 views