Recommended guidelines for declaring bash/sh variables
I have been programming in BASH for a while now and the scripts that I write are starting to get more complicated.
What’s the difference between the two ways of iterating over a bash array?
Can you explain the difference between the following two methods of iterating over an array in bash?
They seem identical to me.
What’s the difference between the two ways of iterating over a bash array?
Can you explain the difference between the following two methods of iterating over an array in bash?
They seem identical to me.
Pkg.File corruption
Trying to write a bash script that takes a pkg.file and creates a temporary folder and places it inside… The goal is to then be able to open it and launch the installer of a antivirus software. The problem is the file integrity is destroyed and I believe it has to do with SHA1 encryption. Any Ideas on how to maybe go about decrypting a pkg.file from SHA1..?
How can I add a column with the number of letters in the first column using bash
I have a text file with three columns, and i want to add another one with the number of letters in the first column
Save command output to a file and to a variable at the same time
Ubuntu 22.04
in bash how do I separate the escape sequence with the actual number?
for example echo -e "0133[5m33[7m02${var}0133[0m02"
If the var is starting with non number character it works.
However, if the var starting with number it fails
for example var = 5
then the string is “0133[5m33[7m0250133[0m02″` for some reason it won’t blink the 5 the screen has a blank line
Most efficient way to determine active number of calls in bash
I have lists i can export of detailed call records for customers and it shows up in 3 columns, col1 end time, col2 call-id, col3 start time.
Most efficient way to determine active number of calls in bash
I have lists i can export of detailed call records for customers and it shows up in 3 columns, col1 end time, col2 call-id, col3 start time.
Most efficient way to determine active number of calls in bash
I have lists i can export of detailed call records for customers and it shows up in 3 columns, col1 end time, col2 call-id, col3 start time.