Latest questions in Linux Administration

+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

12 hours ago in Linux Administration by Harish
• 130 points
6 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
• 17,890 points
73 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

Enable https on a Linux system

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

Dec 13, 2019 in Linux Administration by Priyaj
63 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
54 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
63 views
0 votes
1 answer

How to change IP address of an Ubuntu VM?

Go to your Linux terminal and execute ...READ MORE

Nov 20, 2019 in Linux Administration by Kalgi
• 51,160 points
90 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
• 46,080 points
77 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
51 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
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

Install aptitude on Ubuntu

You just have to run one single ...READ MORE

Aug 26, 2019 in Linux Administration by Barca
790 views
+1 vote
0 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

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 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
85 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

HTTP POST and GET using cURL

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

Jul 22, 2019 in Linux Administration by Upasana
• 8,570 points
67 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,370 points
92 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,370 points
65 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

copy and create destination directory using bash

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

Jul 15, 2019 in Linux Administration by Upasana
• 8,570 points
54 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
• 380 points
101 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 12, 2019 in Linux Administration by Shubham
• 13,370 points
49 views
0 votes
1 answer

Change the output colour of echo

Try using ANSI escape codes as the following; Black ...READ MORE

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

Centos 7 network setup

Power off the VM and then go ...READ MORE

Jul 5, 2019 in Linux Administration by Vasini
78 views
0 votes
1 answer

Error: tkinter for Python Installation

It isn't easy to install Tkinter locally ...READ MORE

Jul 3, 2019 in Linux Administration by Upasana
• 8,570 points
65 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,850 points
52 views
0 votes
1 answer

Display shared libraries used by executables in linux

In order to do this, you need ...READ MORE

Jul 3, 2019 in Linux Administration by ajs3033
• 7,280 points
49 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
• 25,460 points

edited Jul 2, 2019 by Gitika 101 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

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,636 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

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

Your first problem can be solved like ...READ MORE

Jun 27, 2019 in Linux Administration by ajs3033
• 7,280 points
98 views
0 votes
1 answer

How to find the group associated with a user in linux?

To list all the groups groups or to list ...READ MORE

Jun 20, 2019 in Linux Administration by DareDev
• 6,850 points
73 views
0 votes
1 answer

Running a cron job at fixed intervals of time

Just use this instead: 0,30 * * * ...READ MORE

Jun 20, 2019 in Linux Administration by ajs3033
• 7,280 points
51 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,230 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

Script file name in a Bash script

$0 will give you the complete basename. ...READ MORE

Jun 20, 2019 in Linux Administration by Shubham
• 13,370 points
42 views
0 votes
1 answer

Killing a Zombie Process

You can clean up a zombie process ...READ MORE

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

pipe to clipboard using Bash

Try xclip; xclip - command line interface to ...READ MORE

Jun 17, 2019 in Linux Administration by Shubham
• 13,370 points
53 views
0 votes
1 answer

Overall CPU usage (%)

top -bn2 | grep "Cpu(s)" | \ ...READ MORE

Jun 17, 2019 in Linux Administration by Shubham
• 13,370 points
53 views
0 votes
1 answer

How can I find out which files differ in two directory trees?

Use this; diff -qr dir1/ dir2/ READ MORE

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

Linux: Efficiently test if a port is Open

$ nc -z <host> <port>; echo $? Use ...READ MORE

Jun 12, 2019 in Linux Administration by Shubham
• 13,370 points
46 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
210 views
0 votes
1 answer

How to send mail using linux shell script?

If you've already configured the server, with ...READ MORE

Jun 11, 2019 in Linux Administration by ajs3033
• 7,280 points
57 views
0 votes
1 answer

Replacing string characters using CLI

To replace each of xy and z ...READ MORE

Jun 11, 2019 in Linux Administration by DareDev
• 6,850 points
42 views
0 votes
1 answer

Linux: Finding all storage devices attached to a machine

Use /proc/partitions first. This will list all ...READ MORE

Jun 10, 2019 in Linux Administration by Upasana
• 8,570 points
37 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

Argument receiving error for rm command

Bash actually expands the asterisk to every ...READ MORE

Jun 7, 2019 in Linux Administration by Shubham
• 13,370 points
47 views