Most viewed questions in Linux Administration

+3 votes
6 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,030 points
98,661 views
0 votes
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,140 points
88,930 views
0 votes
3 answers

How to uninstall Apache2 on Ubuntu?

apache2 is a meta package that just selects ...READ MORE

Dec 13, 2020 in Linux Administration by Gitika
• 65,870 points
49,632 views
0 votes
3 answers

Setting JAVA_HOME in linux

Hello fellow techies, Assuming you use bash shell ...READ MORE

Dec 9, 2020 in Linux Administration by Rajiv
• 8,880 points
26,779 views
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
18,057 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
16,731 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
13,640 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
10,751 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
9,662 views
0 votes
2 answers

How do I use a shell script to SSH in to a remote machine to execute commands?

Sorry in advance for any formatting. Check out ...READ MORE

Feb 7 in Linux Administration by anonymous
8,276 views
0 votes
1 answer

-bash: cd: /root/: Permission denied

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

Aug 13, 2020 in Linux Administration by MD
• 95,140 points
7,911 views
0 votes
2 answers

activation of network connection failed in Linux.

नेटवर्क कनेक्शन चाहिए READ MORE

Aug 18, 2020 in Linux Administration by anonymous
• 140 points
7,766 views
0 votes
1 answer

Cant find library in /usr/bin/ld

Say your library "libxyz.so" is located in: /home/user/myDir then ...READ MORE

Mar 26, 2019 in Linux Administration by ajs3033
• 7,280 points
7,743 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
6,942 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,480 points
6,874 views
0 votes
1 answer

What is the difference between ctrl z and ctrl c in command line?

Hi@akhtar, Generally, these two commands are used to ...READ MORE

Feb 24, 2020 in Linux Administration by MD
• 95,140 points
6,838 views
0 votes
2 answers

Name or service not known error

use ping google.com dont add www or https READ MORE

Nov 28, 2020 in Linux Administration by CISUR101
6,189 views
0 votes
2 answers

Job for httpd.service failed because the control process exited with error code.

Hi guys I was facing same problem as ...READ MORE

Nov 21, 2020 in Linux Administration by anonymous
• 140 points
6,060 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,140 points
6,042 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,480 points
5,973 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
5,946 views
0 votes
2 answers
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,620 points
5,472 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,640 points
5,436 views
0 votes
1 answer

chmod: changing permissions of '/root/': Operation not permitted

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

Aug 13, 2020 in Linux Administration by MD
• 95,140 points
5,418 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,110 points
5,040 views
+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,110 points
4,572 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
• 59,030 points
4,024 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
4,022 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,870 points

edited Apr 30, 2020 by Gitika 3,533 views
0 votes
1 answer

Could not find a version that satisfies the requirement ipykernel (from jupyter==1.0.0) (from versions: )

Hi@akhtar, You may get this error because of ...READ MORE

Apr 23, 2020 in Linux Administration by MD
• 95,140 points
3,355 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,480 points
3,244 views
0 votes
1 answer

ls: cannot open directory '.': Permission denied

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

Aug 13, 2020 in Linux Administration by MD
• 95,140 points
3,005 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
3,000 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
2,960 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
2,889 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,480 points
2,697 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
2,630 views
0 votes
2 answers

How to change IP address of an Ubuntu VM?

The easiest method is through network manager: 1- ...READ MORE

Aug 24, 2020 in Linux Administration by Pistle
• 300 points
2,458 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
2,382 views
0 votes
1 answer

Failed to start httpd.service: Unit httpd.service is masked.

Hi@akhtar, A masked service is used to prevent ...READ MORE

Apr 23, 2020 in Linux Administration by MD
• 95,140 points
2,351 views
0 votes
1 answer

Adding yes/no/cancel prompts in shell script

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

Mar 12, 2019 in Linux Administration by ajs3033
• 7,280 points
2,136 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,310 points
2,115 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
2,113 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,140 points
2,101 views
0 votes
1 answer

Error: Failed to download metadata for repo 'epel-modular'

Hi@akhtar, Before running dnf repolist command, try to ...READ MORE

Jun 22, 2020 in Linux Administration by MD
• 95,140 points
2,094 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,620 points
2,092 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
• 59,030 points
2,070 views