Most voted questions in Linux Administration

0 votes
1 answer

ld unable to find existing library

your problem here is that your linker ...READ MORE

Mar 19, 2019 in Linux Administration by DareDev
• 6,890 points
3,413 views
0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

Mar 15, 2019 in Linux Administration by Jobin
1,372 views
0 votes
1 answer

Finding pat of afile in linux

You can use readlink command: readlink -f filename.txt for ...READ MORE

Mar 15, 2019 in Linux Administration by DareDev
• 6,890 points
724 views
0 votes
1 answer

Deleting an exported environment variable

Just use unset command: unset GNUPLOT_DRIVER_DIR READ MORE

Mar 13, 2019 in Linux Administration by DareDev
• 6,890 points
2,084 views
0 votes
1 answer

Adding yes/no/cancel prompts in shell script

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

Mar 13, 2019 in Linux Administration by ajs3033
• 7,300 points
3,979 views
0 votes
1 answer

Counting lines in a file/doc.

you can do this by using word ...READ MORE

Mar 5, 2019 in Linux Administration by DareDev
• 6,890 points
406 views
0 votes
1 answer

Downloading file using SSH from a server without web access

Run this command in  your terminal: scp your_username@remotehost.edu:foobar.txt ...READ MORE

Mar 5, 2019 in Linux Administration by ajs3033
• 7,300 points
694 views
0 votes
1 answer

Making a program sleep for milliseconds?

There are no standard C API's that ...READ MORE

Mar 1, 2019 in Linux Administration by DareDev
• 6,890 points
1,029 views
0 votes
1 answer

How to collect all output in one file?

You can use 2> to redirect it: foo ...READ MORE

Mar 1, 2019 in Linux Administration by ajs3033
• 7,300 points
779 views
0 votes
1 answer

set permanent path to Linux

Add it to your ~/.profile or ~/.bashrc file: export PATH="$PATH:/path/to/dir" You may ...READ MORE

Feb 27, 2019 in Linux Administration by DareDev
• 6,890 points
586 views
0 votes
1 answer

How t find httpd.conf file in apache?

First f all, get apache's path: $ ps ...READ MORE

Feb 27, 2019 in Linux Administration by ajs3033
• 7,300 points
2,350 views
0 votes
0 answers

Error while enabling the official puppet

I'm trying to enable the official puppet lab ...READ MORE

Feb 27, 2019 in Linux Administration by mytamhuyet
• 120 points

edited Apr 10, 2019 by mytamhuyet 415 views
0 votes
1 answer

Not able to install sublime text editor

Delete the following file: /etc/apt/sources.lits.d/sublime-text.list and then try to ...READ MORE

Feb 19, 2019 in Linux Administration by Joe
789 views
0 votes
1 answer

Problem printing variable on terminal

You are basically trying to echo the ...READ MORE

Feb 18, 2019 in Linux Administration by Omkar
• 69,210 points
396 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
2,496 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

Feb 15, 2019 in Linux Administration by DareDev
• 6,890 points
2,184 views
0 votes
1 answer

How to remove brackets using sed?

Try this: sed 's/[()]//g' <<< Hi(hello).How are you? READ MORE

Feb 13, 2019 in Linux Administration by Omkar
• 69,210 points
3,857 views
0 votes
1 answer

Wired connection keep disconnecting

The driver r8168 is not stable. Try ...READ MORE

Feb 9, 2019 in Linux Administration by Omkar
• 69,210 points
358 views
0 votes
1 answer

What is absolute path in Ubuntu?

An absolute path is a path to ...READ MORE

Feb 9, 2019 in Linux Administration by Omkar
• 69,210 points
1,189 views
0 votes
1 answer

Error installing npm

Npm depends on NodeJS to run/get installed. ...READ MORE

Feb 9, 2019 in Linux Administration by Omkar
• 69,210 points
759 views
0 votes
1 answer

Not able to access /etc/sudoers.d/python file

I think your system is not allowing ...READ MORE

Feb 6, 2019 in Linux Administration by Lohit
1,863 views
0 votes
1 answer

How to check version of package installed by npm?

These commands are used to check the ...READ MORE

Feb 5, 2019 in Linux Administration by Omkar
• 69,210 points
2,571 views
0 votes
1 answer

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

Feb 1, 2019 in Linux Administration by Omkar
• 69,210 points
1,719 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

Feb 1, 2019 in Linux Administration by Omkar
• 69,210 points
835 views
0 votes
1 answer

How to take input from user in bash script?

You can use if-else branch to check ...READ MORE

Jan 31, 2019 in Linux Administration by Omkar
• 69,210 points
853 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,058 views
0 votes
1 answer

What does “sudo echo nameserver 8.8.8.8 > /etc/resolv.conf” do?

If executing this command resolved your issue ...READ MORE

Jan 23, 2019 in Linux Administration by joey
2,898 views
0 votes
2 answers
0 votes
1 answer

Create new user on Ubuntu

Hey @Eric,  Follow these steps: Go to your terminal  Execute ...READ MORE

Jan 10, 2019 in Linux Administration by Noah
2,803 views
0 votes
1 answer

Regarding Edquota soft and hard limits

The provided value for soft and hard ...READ MORE

Jan 3, 2019 in Linux Administration by Omkar
• 69,210 points
444 views
0 votes
1 answer

Constraints for getting commands executed by cron

I think the problem could be those ...READ MORE

Nov 14, 2018 in Linux Administration by nirvana
• 3,130 points
499 views
0 votes
1 answer

How can i change the value of /proc/sys/kernel/shmmax in a container?

Please follow the below command and set ...READ MORE

Oct 5, 2018 in Linux Administration by Frankie
• 9,830 points
2,034 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,411 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,395 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,436 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
5,048 views
–1 vote
1 answer

How to use help command

The help command is limited and it ...READ MORE

Jan 11, 2019 in Linux Administration by Omkar
• 69,210 points
392 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

Jan 3, 2019 in Linux Administration by Omkar
• 69,210 points
2,088 views
–1 vote
1 answer

How to use help command for ls?

The help command is limited and it ...READ MORE

Jan 3, 2019 in Linux Administration by Omkar
• 69,210 points
2,988 views