Trending questions in Linux Administration

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
168 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
633 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
936 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,280 points
133 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
6,659 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
98 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
179 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
129 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
• 69,090 points
1,194 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
102 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 80 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
• 69,090 points
662 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
901 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
358 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
1,363 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,090 points
105 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,090 points
251 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
• 69,090 points
275 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,090 points
88 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
• 69,090 points
222 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
• 69,090 points
213 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,090 points
208 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,090 points
1,395 views
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
988 views
+1 vote
3 answers

Backing up specific files and renaming them via Bash

I needed to do a similar thing ...READ MORE

Apr 26, 2019 in Linux Administration by Gagan
960 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,090 points
577 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
• 69,090 points
94 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,090 points
94 views
+4 votes
3 answers

Glusterfs fuse client consuming high memory - memory leak

'Stale File Handle error' occurs when the ...READ MORE

Oct 22, 2018 in Linux Administration by Kalgi
• 52,310 points
2,038 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
2,588 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,150 points
155 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
855 views
+2 votes
2 answers

Ubuntu installing problem

Hey Prince! This seems to be like a ...READ MORE

Oct 15, 2018 in Linux Administration by Omkar
• 69,090 points

edited Oct 15, 2018 by Kalgi 160 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
2,157 views