Explore
Expect called from bash; Unexpected EOF !
I have few legacy machines which are about to be decommissioned. There is no scope of...
How to convert initial timetsamp of each line
Trying to convert initial timetsamp of each line of a log file as follows $ cat...
How to print echo command's output and a function's output side by side in same line?
I am trying to output a diamond shape with the following bash script. #!/bin/bash read -p...
Dealing with fatal: Invalid revision range when new branch is not created in between builds
I encounter a minor issue during package building. Typically, I construct packages by iterating from the...
why variable substitution is so different?
there are two files in current dir [root@workspace tmp]# ll total 8 -rw-------. 1 root root...
bash script to work on server
Hi all, I am trying to interact with the Terminal server via bash. I wrote a...
sed not working in bash script
This line works from bash shell cli. GNU bash, version 5.0.0(1) But not if I place...
Not understanding bash script
With the following bash script I get error message "./GetGridVoltage.sh: line 3: [: 0.0: integer expression...
How to show the content of an external drive in bash with ROOT permissions ?
early every linux system has a data manager. In my case, I have Nautilus because, I...
How to run vanilla JavaScript in a Bash terminal?
I want to echo the textContent property of a webpage element by its CSS class, in...
Hello from the hills of Ireland
Hi there! I'm *John*, alias *teraspora*. I'm a coder / software engineer, been coding since the...
[Bash] why isnt this script working ? Pop!_OS
i have a startup script that used to work with my Arch install but for some...
Can not send email from cron
I have such bash script in Debian: Code: --------- #!/bin/bash # [ ! -d ~/tmp ]...
Shell Script: Split file with multiple lines on delimiter
I tryed a lot to to split a big file on a delimiter with more than...
LXer: Bash Scripting: How to Zip All Files in a Directory
Published at LXer: In the world of Linux and Unix-like systems, bash scripting is a powerful...
Writing a bash command, path in variable, how to use expansion?
Hello, people. I am trying to write a command line in Bash using a shell variable...
Show HN: I made a GPT4 VSCode extension for detecting and fixing insecure code
GPT4 AI for software developers for autodetecting bad code GPT4 AI for fixing insecure code What...
LXer: Bash Scripting: Mastering Arithmetic Operations
Published at LXer: Arithmetic operations are a fundamental aspect of bash scripting, enabling scripts to perform...
How to get the time from which the system is up in bash
How do I get the time since the system is up in mac, uptime states the...
LXer: String Concatenation in Bash Loops
Published at LXer: String concatenation in bash scripting is a fundamental concept that is essential for...
LXer: Mastering String Concatenation in Bash Scripting
Published at LXer: String concatenation is a fundamental aspect of Bash scripting, allowing the combination of...
btrfs bash completion
Slackware btrfs-progs package does not have bash-completion installed although the source tarball does have bash-completion for...