Trending questions in Linux Administration

0 votes
1 answer

How to configure Haproxy load balancer?

Hi@akhtar, Yes you can implement load balancing concept ...READ MORE

Apr 22, 2020 in Linux Administration by MD
• 95,360 points
342 views
0 votes
1 answer

How to install nginx web server in CentOS/RHEL?

Hi@akhtar, To install nginx in your system, you ...READ MORE

Apr 24, 2020 in Linux Administration by MD
• 95,360 points
219 views
0 votes
1 answer

How to install httpd web server in Linux?

Hi@akhtar, To install httpd web server in CentOS/RHEL ...READ MORE

Apr 21, 2020 in Linux Administration by MD
• 95,360 points
218 views
0 votes
1 answer

not able to run netstat-tnlp in Linux.

Hi@akhtar, In Linux system netstat-tnlp command comes from ...READ MORE

Apr 16, 2020 in Linux Administration by MD
• 95,360 points
365 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,360 points
521 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

Apr 7, 2020 in Linux Administration by MD
• 95,360 points
330 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
11,163 views
0 votes
1 answer

How to configure SSH server in RHEL/CentOS?

Hi@MD, To configure SSH server to your system, ...READ MORE

Mar 30, 2020 in Linux Administration by akhtar
• 38,230 points
356 views
0 votes
1 answer

How to set key based authentication in remote machine?

Hi@akhtar, You can set key based authentication in ...READ MORE

Apr 1, 2020 in Linux Administration by MD
• 95,360 points
260 views
0 votes
0 answers

Trying to configure rsyslog server but I am facing challanges

Here are the steps which i have ...READ MORE

Mar 5, 2020 in Linux Administration by anonymous
• 120 points
207 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
9,635 views
0 votes
1 answer

How to install python-poster in RedHat?

Hi@akhtar, To install python-poster in RedHat/CentOs, you can ...READ MORE

Feb 11, 2020 in Linux Administration by MD
• 95,360 points
257 views
+1 vote
0 answers

Could not start the machine edureka_host_vm because the following physical network interfaces were not found:

Could not start the machine edureka_host_vm because ...READ MORE

Jan 28, 2020 in Linux Administration by Harish
• 130 points
320 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
15,168 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
1,676 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
931 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,170 points
1,939 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,170 points
5,489 views
+1 vote
0 answers

I am getting error as undefined reference how to resolve it?

this is the error i got main.c:(.text+0x6c): undefined ...READ MORE

Dec 5, 2019 in Linux Administration by pooja
• 130 points
920 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
481 views
0 votes
1 answer

Enable https on a Linux system

Hi @hannah, you can execute the following ...READ MORE

Dec 13, 2019 in Linux Administration by Priyaj
273 views
0 votes
0 answers

Two SSL cert. How to tell Nginx which one to use?

I have two SSL certs (I have ...READ MORE

Dec 13, 2019 in Linux Administration by Hannah
• 18,570 points
249 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
8,386 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
8,609 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
6,812 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,170 points
4,091 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,996 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
9,974 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
7,474 views
0 votes
0 answers

Error while opening Edureka VM on virtual box

Hi Team, I am using windows 10 machine ...READ MORE

Sep 24, 2019 in Linux Administration by Kiran
• 120 points
264 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
4,642 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
5,047 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
2,404 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
4,167 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
1,798 views
0 votes
2 answers
+1 vote
0 answers
+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
8,100 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,223 views
0 votes
1 answer

How to execute a linux command repeatedly after a set time?

To watch the step every say 30 ...READ MORE

Jul 26, 2019 in Linux Administration by ajs3033
• 7,280 points
397 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
1,551 views
0 votes
1 answer

HTTP POST and GET using cURL

You can just add | grep }| ...READ MORE

Jul 22, 2019 in Linux Administration by Upasana
• 8,620 points
436 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
1,337 views
0 votes
1 answer

How to have the cp command create only if necessary folders while copying a file to a destination

mkdir -p /foo/bar && cp myfile "$_" ...READ MORE

Jul 19, 2019 in Linux Administration by Shubham
• 13,490 points
502 views
0 votes
0 answers

How to display content part in seeddms full-text index info?

          I have installed the seeddms in ...READ MORE

Jul 15, 2019 in Linux Administration by nmentityvibes
• 420 points
652 views
0 votes
1 answer

Command to tar directory excluding certain files/folders

$ tar --exclude='./folder' --exclude='./upload/folder2' -zcvf /backup/filename.tgz . Try ...READ MORE

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

Running scripts as a different user without password

You'll have to edit you sudoers file ...READ MORE

Jul 3, 2019 in Linux Administration by DareDev
• 6,890 points
861 views
0 votes
1 answer

copy and create destination directory using bash

mkdir -p "$d" && cp file "$d" try ...READ MORE

Jul 16, 2019 in Linux Administration by Upasana
• 8,620 points
312 views
0 votes
2 answers

How do I find all files containing specific text and rename in unix/linux

Hi, @Kal You can use this command below to ...READ MORE

Jul 2, 2019 in Linux Administration by Gitika
• 65,850 points

edited Jul 2, 2019 by Gitika 798 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,490 points
1,310 views