Trending questions in Linux Administration

+1 vote
3 answers

How to uninstall Apache2 on Ubuntu?

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

May 14, 2019 in Linux Administration by Hemant
275,099 views
+4 votes
7 answers

Error: dpkg frontend is locked by another process

First, find out the id of the process that ...READ MORE

Aug 7, 2019 in Linux Administration by Sirajul
• 59,230 points
266,200 views
+2 votes
2 answers

What does file permission 755 mean?

Hi, File permission 755 means that the directory ...READ MORE

Dec 9, 2020 in Linux Administration by MD
• 95,460 points
271,545 views
0 votes
1 answer

chmod: changing permissions of '/root/': Operation not permitted

Hi@akhtar, You got this error because your user ...READ MORE

Aug 14, 2020 in Linux Administration by MD
• 95,460 points
140,654 views
0 votes
3 answers

Setting JAVA_HOME in linux

Hello fellow techies, Assuming you use bash shell ...READ MORE

Dec 10, 2020 in Linux Administration by Rajiv
• 8,870 points
78,901 views
0 votes
1 answer

-bash: cd: /root/: Permission denied

Hi@akhtar, You got this error because your user ...READ MORE

Aug 13, 2020 in Linux Administration by MD
• 95,460 points
46,127 views
0 votes
2 answers

Job for httpd.service failed because the control process exited with error code.

Hi guys I was facing same problem as ...READ MORE

Nov 21, 2020 in Linux Administration by anonymous
• 140 points
45,601 views
0 votes
1 answer

What is the difference between ctrl z and ctrl c in command line?

Hi@akhtar, Generally, these two commands are used to ...READ MORE

Feb 24, 2020 in Linux Administration by MD
• 95,460 points
47,476 views
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
55,382 views
0 votes
0 answers

Get yesterday's date in bash on Linux, DST-safe

I have a shell script that runs ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
1,283 views
0 votes
0 answers

What does the $ mean in Linux?

I have to explain what the code ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
745 views
0 votes
0 answers

xxd usage (change magic byte to JPEG)

I create a simple test file like ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
722 views
0 votes
0 answers

How to implement getch() function of C in Linux?

In TurboC++, I can use the getch() ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
692 views
0 votes
0 answers

How to search any word in linux 'screen'

I am going screen logs of devstack ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
564 views
0 votes
1 answer

How to display captured packets in HEX and ASCII in Linux?

Hi@akhtar, To display the packet value you can ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,460 points
32,392 views
0 votes
1 answer

How to compile executable for Windows with GCC with Linux Subsystem?

Linux Subsystem fills in as a Linux-PC. ...READ MORE

Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
5,324 views
0 votes
0 answers

Sqlplus login error when using bash variables: SP2-0306: Invalid option

I have a bash script that connects ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
3,442 views
0 votes
0 answers

How to setup CRON job to run every 10 seconds in Linux?

I need to run a CRON job every 10 ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
5,363 views
0 votes
1 answer

bash: /home/XXX/.rvm/scripts/rvm: No such file or directory

Install RVM  gpg --keyserver hkp:// keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 ​Now ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
3,570 views
0 votes
0 answers

How to execute mongodb commands from bash shell?

I searched and found that one can ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
2,447 views
0 votes
1 answer

Chmod 777 to a folder and all contents

To help you with your doubt, if ...READ MORE

Feb 9, 2022 in Linux Administration by Rahul
• 9,680 points
8,109 views
0 votes
1 answer

bash : Bad Substitution

The default shell (/bin/sh) under Ubuntu focuses ...READ MORE

Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
1,982 views
0 votes
1 answer

How do you copy and paste into Git Bash

Press Insert. Likewise, to duplicate from the window, ...READ MORE

Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
1,823 views
0 votes
0 answers

git bash commands with python or Gitpyhon

So I have follwoing bash command which ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
1,732 views
0 votes
1 answer

How can I download git branch files to local system?

Clone the master branch. As you  said ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
2,495 views
0 votes
1 answer

How do I check if a directory exists in a Bash shell script?

To check if a directory exists in ...READ MORE

Jun 7, 2022 in Linux Administration by Korak
• 5,820 points
1,808 views
0 votes
0 answers

How to add man and zip to "git bash" installation on Windows

I am using git bash on Windows - that ...READ MORE

Jun 9, 2022 in Linux Administration by Rahul
• 3,380 points
1,716 views
0 votes
1 answer

Why do you need to put #!/bin/bash at the beginning of a script file?

It's a show so the *nix shell ...READ MORE

Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
1,148 views
0 votes
1 answer

What does '-gt' operator mean in Bash programming?

It's a math test. assist with testing ...READ MORE

Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
1,023 views
0 votes
0 answers

Bash - cat command and errors

I was trying bash shell redirection. I ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
852 views
0 votes
0 answers

How do I get my bash script to assign unique usernames automatically to new users?

I'm a beginner writing a bash script ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
754 views
0 votes
0 answers

How do I run a program with commandline arguments using GDB within a Bash script?

When running a program on GDB, usually, ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
717 views
0 votes
1 answer

bashrc not found on MacOS Monterey version 12.0

Assuming that you believe your content should ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
1,715 views
0 votes
1 answer

How to keep quotes in Bash arguments?

utilizing "$@" will substitute the contentions as ...READ MORE

Jun 13, 2022 in Linux Administration by Korak
• 5,820 points
966 views
0 votes
0 answers

Install Heroku CLI on Mac with Bash Termimal

I'm trying to follow this guide and ...READ MORE

Jun 16, 2022 in Linux Administration by Rahul
• 3,380 points
881 views
0 votes
0 answers

how to grep a specific process from ps in linux?

When I ps -af | grep RV ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,680 points
3,569 views
0 votes
1 answer

bash: telnet: command not found

Indeed you would have to introduce telnet ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
1,658 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
578 views
0 votes
0 answers

Bash script to automate a VPN from vpnbook.com

I wrote a bash script that reads ...READ MORE

May 27, 2022 in Linux Administration by Rahul
• 3,380 points
1,655 views
0 votes
0 answers

zodiac sign calculator using bash script

#!/usr/bin/bash echo "This is a zodiac sign calculator" echo ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
514 views
0 votes
0 answers

if, elif, else statement issues in Bash

I can't seem to work out what ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
507 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
547 views
0 votes
0 answers

Can bash show a function's definition?

Is there a way to view a ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
502 views
0 votes
1 answer

Windows system, after heroku login from git bash, there is no command line show

You can login via Windows command prompt ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
1,575 views
0 votes
0 answers

How to send control+c from a bash script?

I'm starting a number of screens in ...READ MORE

Jun 16, 2022 in Linux Administration by Rahul
• 3,380 points
757 views
0 votes
0 answers

How can I invoke both BASH and CSH shells in a same script

In the same script, I want to ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
521 views
0 votes
0 answers

How to list all background pids in bash

Either I am not able to phrase ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
414 views
0 votes
0 answers

How can I get the directory where a Bash script is located from within the script itself?

How do I get the path of ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
452 views
0 votes
0 answers

Convert PDF to DOC (Python/Bash)

I've saw some pages that allow user ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
451 views
0 votes
0 answers

Bash script command result inside other variable to define prompt

I would like to define a prompt ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
400 views