Most viewed questions in Linux Administration

0 votes
3 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
• 46,080 points
18,587 views
0 votes
1 answer

What does file permission 755 mean?

A 777 permission on the directory means that everyone has access ...READ MORE

Dec 21, 2018 in Linux Administration by Omkar
• 68,880 points
12,891 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
7,435 views
+1 vote
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
• 68,880 points
2,312 views
0 votes
1 answer

How to increase Swap Memory in CentOS 7?

Follow the below steps and procedures: Prerequisites Must have ...READ MORE

Oct 5, 2018 in Linux Administration by Frankie
• 9,810 points
1,955 views
0 votes
1 answer

How to uninstall Apache2 on Ubuntu?

Hey @Laksha, execute the following commands: $ sudo ...READ MORE

May 13, 2019 in Linux Administration by Hemant
1,887 views
0 votes
1 answer

Can I analyze a program's core dump file with GDB when it has command-line parameters?

You can simply use of GDB, to debug ...READ MORE

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

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

May 13, 2019 in Linux Administration by Kiara
1,506 views
0 votes
2 answers
0 votes
1 answer

Linux tar: gzip: stdin: unexpected end of file

The error you're getting may be because ...READ MORE

Aug 9, 2019 in Linux Administration by Kunal
1,268 views
0 votes
1 answer

Linux : Undefined reference to pthread_create

Try this; gcc -pthread -o term term.c READ MORE

May 29, 2019 in Linux Administration by Shubham
• 13,370 points
1,268 views
0 votes
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
• 68,880 points
1,262 views
0 votes
1 answer

Difference between root (/) and home directory (~) in terminal?

Root directory which is referred to as ...READ MORE

Jun 20, 2019 in Linux Administration by Vicky
1,228 views
0 votes
1 answer

"connect: Network is unreachable?" error on ping

You need to set your default gateway. ...READ MORE

Jan 23, 2019 in Linux Administration by Tina
1,141 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,850 points
1,004 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
• 51,160 points
962 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,850 points
908 views
0 votes
1 answer

Cannot understand this "No X11 DISPLAY variable" error thrown at me

If you're on the main display, then export ...READ MORE

Jun 4, 2019 in Linux Administration by Upasana
• 8,570 points
849 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
810 views
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
790 views
0 votes
1 answer

Setting JAVA_HOME in linux

find /usr/lib/jvm/java-1.x.x-openjdk vim /etc/profile Prepend sudo if logged in ...READ MORE

May 24, 2019 in Linux Administration by DareDev
• 6,850 points
741 views
0 votes
1 answer

How to Unblock SSH and FTP Access to Specific IP in Linux?

Firewalls(most of them) can either Reject or ...READ MORE

Jul 16, 2019 in Linux Administration by Archana
• 5,600 points
704 views
0 votes
1 answer

Error saying " Invalid operation uninstall" on sudo apt uninstall apache2

Try this: sudo apt-get cpufrequtils is missing a mandatory ...READ MORE

May 13, 2019 in Linux Administration by Yesha
675 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
• 68,880 points
619 views
0 votes
1 answer

apt-get update takes no argument

The command  sudo apt-get update is used to update ...READ MORE

Jul 30, 2019 in Linux Administration by Vinci
566 views
0 votes
1 answer

How do i enable universe repository in Ubuntu 18.04?

If you want in one command and ...READ MORE

Aug 27, 2019 in Linux Administration by Sirajul
• 46,080 points
548 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
521 views
0 votes
1 answer

How do I verify the kernel parameters to check for the pre-requisities of Oracle 11 + versions?

Please check the below-mentioned syntax and commands: To ...READ MORE

Oct 5, 2018 in Linux Administration by Frankie
• 9,810 points
415 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
401 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
• 51,160 points
399 views
0 votes
1 answer

Name or service not known error

Seems like there is no nameserver set. Run ...READ MORE

Apr 1, 2019 in Linux Administration by Rohit
392 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,570 points
383 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
322 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
283 views
0 votes
1 answer

How to find path of software installed in Linux?

There are multiple ways to find the ...READ MORE

May 19, 2019 in Linux Administration by Rishi
274 views
0 votes
1 answer

How to extract file base name without path and extension in bash?

You don't actually have to call the ...READ MORE

May 31, 2019 in Linux Administration by Shubham
• 13,370 points
261 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,370 points
259 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,370 points
234 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
214 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,370 points
209 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,810 points
184 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 18, 2019 in Linux Administration by Joe
163 views
0 votes
1 answer

dpkg error: dpkg status database is locked by another process

First run: lsof /var/lib/dpkg/lock Then make sure that process ...READ MORE

Aug 27, 2019 in Linux Administration by Sirajul
• 46,080 points
161 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
• 68,880 points
157 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,370 points
151 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
139 views
0 votes
1 answer

Ubuntu 10.10: Connecting to a terminal to a serial-to-USB device on Maverick Meerkat

Check with dmesg | grep tty if system recognize ...READ MORE

Jun 10, 2019 in Linux Administration by Upasana
• 8,570 points
138 views
0 votes
1 answer

how to loop through the content of a file using bash

One of the ways to do it ...READ MORE

Feb 15, 2019 in Linux Administration by ajs3033
• 7,280 points
134 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,850 points
115 views
0 votes
1 answer

How to check version of package installed by npm?

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

Feb 4, 2019 in Linux Administration by Omkar
• 68,880 points
113 views