Most viewed questions in Linux Administration

+1 vote
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
271,788 views
+2 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,460 points
267,925 views
+4 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
264,257 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,460 points
140,134 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
78,684 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
55,180 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,460 points
47,029 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,460 points
45,703 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
45,387 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
40,264 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
37,758 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,460 points
31,359 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,867 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
27,415 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,460 points
26,959 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,460 points
26,109 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
22,657 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
22,102 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,460 points
19,481 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,460 points
18,859 views
0 votes
2 answers
+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,460 points
17,459 views
0 votes
2 answers

activation of network connection failed in Linux.

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

Aug 18, 2020 in Linux Administration by anonymous
• 140 points
17,246 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
17,203 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,830 points
15,864 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
15,237 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
14,568 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
14,332 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,460 points
14,089 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,230 points
13,898 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
12,811 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,313 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,683 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,890 points

edited Apr 30, 2020 by Gitika 10,611 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
10,074 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,460 points
9,612 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,253 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
8,831 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
8,238 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,230 points
8,185 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
8,147 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
8,002 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,680 points
7,997 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,309 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,460 points
6,513 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,460 points
6,001 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,997 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,460 points
5,978 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,868 views