Unanswered questions in Linux Administration

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
799 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
436 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
385 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
335 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
487 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
524 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
351 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
341 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,012 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
231 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
2,534 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
367 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
246 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 22, 2022 in Linux Administration by Korak
• 5,820 points
314 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
349 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,359 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
635 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
232 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
248 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
211 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
524 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
307 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
281 views
0 votes
0 answers

Escaping Quotes in Chef Bash

This I need quotes in a cronjob ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
327 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
702 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
589 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
187 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,150 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
385 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
821 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
309 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
555 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
402 views
0 votes
0 answers
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,408 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,050 points
906 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,670 points
599 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,670 points
316 views
0 votes
0 answers

Is there a way to determine the amount of free video RAM in Linux?

We believe that we are running out ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,670 points
220 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,670 points
603 views
0 votes
0 answers

Linux "free -m": Total, used and free memory values don't add up [closed]

On a linux system, while using "free", ...READ MORE

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

UNIX export command

I am trying to understand the use ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,670 points
235 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,670 points
504 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,670 points
973 views
0 votes
0 answers

How can I delete a user in linux when the system says its currently used in a process

I am trying to delete a user ...READ MORE

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

Which C version is used in the Linux kernel?

Does the Linux kernel use only the ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,670 points
196 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,670 points
919 views
0 votes
0 answers

How to get overall CPU usage (e.g. 57%) on Linux

I am wondering how you can get ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,670 points
223 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,670 points
504 views
0 votes
0 answers

Location of ini/config files in linux/unix?

Two questions, really: Is there a standard/convention regarding ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,670 points
195 views