Most viewed questions in Linux Administration

0 votes
3 answers

How to uninstall Apache2 on Ubuntu?

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

May 14, 2019 in Linux Administration by Hemant
255,823 views
+3 votes
7 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,230 points
255,328 views
+1 vote
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,440 points
253,402 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 14, 2020 in Linux Administration by MD
• 95,440 points
136,274 views
0 votes
3 answers

Setting JAVA_HOME in linux

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

Dec 10, 2020 in Linux Administration by Rajiv
• 8,910 points
76,964 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
53,617 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,440 points
45,177 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
43,818 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,440 points
43,672 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
39,500 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 14, 2019 in Linux Administration by Kiara
36,693 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
28,112 views
0 votes
1 answer

How to display captured packets in HEX and ASCII in Linux?

Hi@akhtar, To display the packet value you can ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,440 points
26,428 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
25,880 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,440 points
25,128 views
0 votes
1 answer

How to sort text alphabetically in Linux system?

Hi@akhtar, In the Linux system, you will find ...READ MORE

Oct 20, 2020 in Linux Administration by MD
• 95,440 points
23,846 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
21,114 views
0 votes
1 answer

redirecting stdout and stderr to file using bash

cmd >>file.txt 2>&1 Bash always executes and redirects ...READ MORE

Mar 19, 2019 in Linux Administration by ajs3033
• 7,300 points
20,826 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,440 points
18,190 views
0 votes
1 answer

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.17.1-1ubuntu0.4_all.deb 404 Not Found [IP: 43.255.166.254 80]

Hi@akhtar, There may be many reasons behind this error. ...READ MORE

Nov 19, 2020 in Linux Administration by MD
• 95,440 points
17,922 views
0 votes
2 answers

activation of network connection failed in Linux.

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

Aug 18, 2020 in Linux Administration by anonymous
• 140 points
16,760 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, 2021 in Linux Administration by anonymous
16,747 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,440 points
16,725 views
0 votes
2 answers
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,830 points
15,417 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
14,738 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 25, 2020 in Linux Administration by Pistle
• 300 points
13,482 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 14, 2019 in Linux Administration by Yesha
13,451 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,210 points
13,164 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,440 points
12,975 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,300 points
12,002 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,830 points
11,492 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 5, 2019 in Linux Administration by Upasana
• 8,620 points
10,360 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,910 points

edited Apr 30, 2020 by Gitika 10,065 views
0 votes
1 answer

Linux : Undefined reference to pthread_create

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

May 29, 2019 in Linux Administration by Shubham
• 13,490 points
9,739 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
9,005 views
0 votes
1 answer

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

Hi@akhtar, You can use ls command to check ...READ MORE

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

How to find path of software installed in Linux?

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

May 20, 2019 in Linux Administration by Rishi
7,783 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
7,777 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,210 points
7,754 views
0 votes
1 answer

awk: to print all columns from the nth to the last

the following will print all but the ...READ MORE

Jul 19, 2019 in Linux Administration by Shubham
• 13,490 points
7,737 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,490 points
7,736 views
0 votes
1 answer

Chmod 777 to a folder and all contents

To help you with your doubt, if ...READ MORE

Feb 9, 2022 in Linux Administration by Rahul
• 9,670 points
7,235 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,230 points
7,113 views
0 votes
1 answer

Failed to start the Apache service

Hi@akhtar, I think port no. is busy. Some ...READ MORE

Jun 22, 2020 in Linux Administration by MD
• 95,440 points
5,698 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,440 points
5,661 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,230 points
5,615 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,490 points
5,507 views
0 votes
1 answer

Capture and Save Packets in a File in Linux.

Hi@akhtar, You can use tcpdump command to save ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,440 points
5,383 views