Trending questions in Linux Administration

0 votes
1 answer

Determining whether a given Linux is 32 bit or 64 bit

try this. getconf LONG_BIT Output: 32, if OS is 32 ...READ MORE

8 hours ago in Linux Administration by Upasana
• 7,560 points
5 views
0 votes
1 answer

finding the MySQL my.cnf location

You could always run find in a ...READ MORE

8 hours ago in Linux Administration by Upasana
• 7,560 points
4 views
0 votes
1 answer

Linux Permissions: Sticky bits

You might have come across read, write ...READ MORE

8 hours ago in Linux Administration by John
3 views
0 votes
1 answer

What is the meaning of 'errno'?

you can retrieve a complete list of ...READ MORE

1 day ago in Linux Administration by Shubham
• 12,150 points
8 views
0 votes
1 answer

Writing a heredoc to a file in a script

try to use tee: tee newfile <<EOF line 1 line 2 line ...READ MORE

1 day ago in Linux Administration by Shubham
• 12,150 points
7 views
0 votes
1 answer

How to find path of software installed in Linux?

There are multiple ways to find the ...READ MORE

2 days ago in Linux Administration by Rishi
13 views
0 votes
1 answer

Merge multiple pdf files in one using terminal

Install a utility call pdfunite which is ...READ MORE

4 days ago in Linux Administration by ajs3033
• 7,000 points
6 views
0 votes
1 answer

To run a shell script on a Unix console or Mac terminal

To run a non-executable sh script, use: sh myscript To run ...READ MORE

5 days ago in Linux Administration by Upasana
• 7,560 points
6 views
0 votes
1 answer

generating a list of files with their absolute path in Linux

If you find an absolute path to start with, ...READ MORE

5 days ago in Linux Administration by Upasana
• 7,560 points
6 views
0 votes
1 answer

Removing a symlink to a directory

rm foo try this. Also, You need write ...READ MORE

6 days ago in Linux Administration by Shubham
• 12,150 points
11 views
0 votes
1 answer

Comparing two string variables in an 'if' statement in Bash

1. For string comparison, use: if [ "$s1" ...READ MORE

6 days ago in Linux Administration by Shubham
• 12,150 points
10 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 13 in Linux Administration by Yesha
11 views
0 votes
1 answer

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

May 13 in Linux Administration by Kiara
7 views
0 votes
1 answer

Access Denied to user root@localhost while using mysql

For MySQL versions < 5.7: the default root ...READ MORE

May 13 in Linux Administration by DareDev
• 6,520 points
13 views
0 votes
1 answer

How to uninstall Apache2 on Ubuntu?

Hey @Laksha, execute the following commands: $ sudo ...READ MORE

May 13 in Linux Administration by Hemant
7 views
0 votes
1 answer

Setting environment variables in linux

You need to add more information about ...READ MORE

May 13 in Linux Administration by ajs3033
• 7,000 points
8 views
0 votes
1 answer

Error: dpkg frontend is locked by another process

First run: lsof /var/lib/dpkg/lock Then make sure that process ...READ MORE

Apr 1 in Linux Administration by Shir
181 views
0 votes
1 answer

Linux: Killing a process occupying a particular port

Use the port command to find the ...READ MORE

Apr 3 in Linux Administration by DareDev
• 6,520 points
18 views
0 votes
1 answer

ssh :: Permission denied

Hey @Vinod,  Check if you're providing the correct ...READ MORE

Apr 2 in Linux Administration by Kalgi
• 35,750 points
36 views
0 votes
1 answer
0 votes
1 answer

Name or service not known error

Seems like there is no nameserver set. Run ...READ MORE

Apr 1 in Linux Administration by Rohit
13 views
0 votes
1 answer

How to install a deb file?

You can install a .deb file with ...READ MORE

Apr 1 in Linux Administration by Shaan
9 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 in Linux Administration by ajs3033
• 7,000 points
17 views
0 votes
1 answer

How to perform proxy http request using curl?

One of the ways is: export http_proxy=http://your.proxy.server:port/ Then you ...READ MORE

Mar 26 in Linux Administration by DareDev
• 6,520 points
12 views
0 votes
1 answer

ld unable to find existing library

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

Mar 19 in Linux Administration by DareDev
• 6,520 points
30 views
0 votes
1 answer

redirecting stdout and stderr to file using bash

cmd >>file.txt 2>&1 Bash always executes and redirects ...READ MORE

Mar 19 in Linux Administration by ajs3033
• 7,000 points
11 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 in Linux Administration by Jobin
36 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 in Linux Administration by DareDev
• 6,520 points
9 views
0 votes
1 answer

Adding yes/no/cancel prompts in shell script

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

Mar 12 in Linux Administration by ajs3033
• 7,000 points
10 views
0 votes
1 answer

Deleting an exported environment variable

Just use unset command: unset GNUPLOT_DRIVER_DIR READ MORE

Mar 12 in Linux Administration by DareDev
• 6,520 points
9 views
0 votes
1 answer

Counting lines in a file/doc.

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

Mar 5 in Linux Administration by DareDev
• 6,520 points
16 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 in Linux Administration by ajs3033
• 7,000 points
15 views
0 votes
1 answer

Making a program sleep for milliseconds?

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

Mar 1 in Linux Administration by DareDev
• 6,520 points
14 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 in Linux Administration by ajs3033
• 7,000 points
14 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 in Linux Administration by DareDev
• 6,520 points
15 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 in Linux Administration by ajs3033
• 7,000 points
12 views
0 votes
0 answers

Error while enabling the official puppet

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

Feb 27 in Linux Administration by mytamhuyet
• 120 points

edited Apr 10 by mytamhuyet 15 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 in Linux Administration by Joe
45 views
0 votes
1 answer

Problem printing variable on terminal

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

Feb 18 in Linux Administration by Omkar
• 65,840 points
32 views
0 votes
1 answer

setting a variable output from a bash command

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

Feb 15 in Linux Administration by DareDev
• 6,520 points
52 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 in Linux Administration by ajs3033
• 7,000 points
38 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 in Linux Administration by Omkar
• 65,840 points
20 views
0 votes
1 answer

Error :Ethernet Cable unplugged in Ubuntu

Try this: $ sudo ifconfig eth0 down $ sudo ...READ MORE

Feb 9 in Linux Administration by Omkar
• 65,840 points
35 views
0 votes
1 answer

Wired connection keep disconnecting

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

Feb 9 in Linux Administration by Omkar
• 65,840 points
13 views
0 votes
1 answer

What is absolute path in Ubuntu?

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

Feb 9 in Linux Administration by Omkar
• 65,840 points
14 views
0 votes
1 answer

Error installing npm

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

Feb 8 in Linux Administration by Omkar
• 65,840 points
20 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 in Linux Administration by Lohit
33 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 in Linux Administration by Omkar
• 65,840 points
52 views
0 votes
1 answer

How to create a symlink in Linux?

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

Jan 31 in Linux Administration by Omkar
• 65,840 points
39 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 in Linux Administration by Omkar
• 65,840 points
17 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.