Most voted questions in Linux Administration

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,810 points
46 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,280 points
46 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,810 points
40 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,280 points
57 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 33 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 18, 2019 in Linux Administration by Joe
153 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
• 68,840 points
51 views
0 votes
1 answer

how to loop through the content of a file using bash

One of the ways to do it ...READ MORE

Feb 15, 2019 in Linux Administration by ajs3033
• 7,280 points
126 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,810 points
102 views
0 votes
1 answer

How to remove brackets using sed?

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

Feb 12, 2019 in Linux Administration by Omkar
• 68,840 points
75 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
• 68,840 points
30 views
0 votes
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
• 68,840 points
1,217 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
• 68,840 points
61 views
0 votes
1 answer

Error installing npm

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

Feb 8, 2019 in Linux Administration by Omkar
• 68,840 points
94 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
303 views
0 votes
1 answer

How to check version of package installed by npm?

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

Feb 4, 2019 in Linux Administration by Omkar
• 68,840 points
108 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

Jan 31, 2019 in Linux Administration by Omkar
• 68,840 points
47 views
0 votes
1 answer

How to create a symlink in Linux?

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

Jan 31, 2019 in Linux Administration by Omkar
• 68,840 points
83 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
• 68,840 points
58 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
1,076 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
499 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
274 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
• 68,840 points
46 views
0 votes
1 answer

What does file permission 755 mean?

A 777 permission on the directory means that everyone has access ...READ MORE

Dec 21, 2018 in Linux Administration by Omkar
• 68,840 points
11,784 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,060 points
70 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,810 points
172 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,810 points
387 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,810 points
1,831 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
7,286 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
135 views
–1 vote
1 answer

How to use help command

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

Jan 10, 2019 in Linux Administration by Omkar
• 68,840 points
53 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
• 68,840 points
154 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
• 68,840 points
589 views