Trending questions in Linux Administration

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
416 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 7, 2022 in Linux Administration by Rahul
• 3,380 points
1,058 views
0 votes
0 answers

What is the preferred Bash shebang?

Is there any Bash shebang objectively better than the ...READ MORE

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

Is there a better way to run a command N times in bash?

In the event that your reach has ...READ MORE

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

How to sort text alphabetically in Linux system?

Hi@akhtar, In the Linux system, you will find ...READ MORE

Oct 20, 2020 in Linux Administration by MD
• 95,460 points
26,711 views
0 votes
0 answers

Renaming multiples files with a bash loop

I need to rename 45 files, and ...READ MORE

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

Is there a better way to run a command N times in bash?

In the event that your reach has ...READ MORE

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

Compare $1 with another string in bash

The explanation $1 doesn't match is on ...READ MORE

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

df -h if freespace equals then | bash

Try this out: destination="$HOME/Desktop/sandbox" freespace="$(df -h / | tail ...READ MORE

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

Are there any man pages that summarize bash scripting?

Regardless of whether man pages are exceptionally ...READ MORE

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

What does -f mean in bash

Luckily, the Bash Reference Manual is accessible ...READ MORE

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

Difference between single and double quotes in Bash

Single statements will not insert anything, yet ...READ MORE

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

How to check if a string contains a substring in Bash?

You ought to recollect that shell prearranging ...READ MORE

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

"sed" command in bash

sed is the Stream EDitor. It can ...READ MORE

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

bash terminal on kubuntu

You are actually using a bash terminal. ...READ MORE

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

How to split a string into an array in Bash?

In a Bash script, I would like ...READ MORE

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

How to set environment variables for bash from within powershell?

Using powershell how do I set the environment variables (here, particularly "ApiSecret") so ...READ MORE

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

Adding Git-Bash to the new Windows Terminal

Open settings with Ctrl + , You'll want ...READ MORE

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

Difference between single and double quotes in Bash

Single statements will not add anything, however ...READ MORE

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

How is CTRL-R (reverse-i-search) is implemented in bash terminal?

Example of the reverse search: (reverse-i-search)`grep': git log ...READ MORE

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

Compare $1 with another string in bash

I've spent 2 hours with an if statement, that ...READ MORE

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

Display an ASCII table of characters 32 to 112 with bash

I want to know how to display ...READ MORE

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

Using v4l2loopback virtual cam with google-chrome or chromium on linux while having real webcam in use

(I hope posting an answer to own ...READ MORE

Apr 21, 2022 in Linux Administration by Edureka
• 13,690 points
2,297 views
0 votes
1 answer

Is there a limit on the number of words in bash command 'for file in words'?

Anyway, you need to print everything except ...READ MORE

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

Persistant "bash: /home/XXX/.rvm/scripts/rvm: No such file or directory" in terminal

Introduce RVM: gpg - - keyserver hkp://keys.gnupg.net - ...READ MORE

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

How to fix 'sudo: no tty present and no askpass program specified' error?

I  wanted to compile sources using a ...READ MORE

May 9, 2022 in Linux Administration by Kichu
• 19,040 points
1,175 views
0 votes
0 answers

How to change default integreated terminal in VS Code to kitty, on Linux?

I'm using kitty (it's a terminal) on ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
1,428 views
0 votes
0 answers

Getting file in hex format - my output vs xxd command output

I'm trying to write a simple program ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
1,659 views
0 votes
0 answers

Send private message to Discord user using bash and linux AT command

I'm running a Discord bot written in ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
1,302 views
0 votes
0 answers

Get Selenium to work with Brave browser on Linux

I am trying to get Selenium to ...READ MORE

Apr 14, 2022 in Linux Administration by Soham
• 9,710 points
1,593 views
0 votes
0 answers

How to create shortcut icons for Windows, MacOS and Linux applications bundled with PyInstaller

I am building a Python application bundled ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
959 views
0 votes
0 answers

Can't connect cloudflare warp vpn in linux

I installed and set up Cloudflare warp ...READ MORE

Apr 13, 2022 in Linux Administration by Aditya
• 7,680 points
1,451 views
0 votes
0 answers

Default username and password of kali linux -2021.1-vbox amd 64?

I had tried this USERNAME: Root PASSWORD: Root user: ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,680 points
1,399 views
0 votes
0 answers

wget command not found on linux server

I have a linux server (completely new, ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
907 views
0 votes
0 answers

How to attach a file using mail command on Linux?

I'm on a server running a Linux ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
863 views
0 votes
0 answers

Launch the Brave web browser on Linux using selenium & JavaScript

I am trying to setup a hello ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
1,091 views
0 votes
0 answers

Create an empty file on the commandline in windows (like the linux touch command)

On a windows machine I get this ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
872 views
0 votes
0 answers

How does the wc -c in linux work?

Why the number of characters is 4? echo ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,680 points
1,324 views
0 votes
0 answers

what is asm stand for in linux/include/asm

read from howto_add_systemcall "In general, header files for machine ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
819 views
0 votes
0 answers

How to rename a directory in C?

I searched online to find that how ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
771 views
0 votes
1 answer

ls: cannot open directory '.': Permission denied

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

Aug 13, 2020 in Linux Administration by MD
• 95,460 points
27,508 views
0 votes
0 answers

Opening a binary file in VI and XXD

I am attempting to modify the binary ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,680 points
1,287 views
0 votes
0 answers

What's the difference between .so, .la and .a library files?

I know an .so file is a kind of ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
709 views
0 votes
0 answers

Difference between "system" and "exec" in Linux?

What is the difference between system and ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
611 views
0 votes
0 answers

How to create user in linux by providing uid and gid options?

I have 2 linux machines. On one ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
856 views
0 votes
0 answers

Hexdump reverse command

The hexdump command converts any file to ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
843 views
0 votes
0 answers

changing the owner of folder in linux

I have a folder in my subdomain ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
615 views
0 votes
0 answers

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

I want to compile an open source ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
823 views
0 votes
0 answers

Merge multiple jpg into single pdf in Linux

I used the following command to convert ...READ MORE

Apr 13, 2022 in Linux Administration by Soham
• 9,710 points
1,102 views