Explore

bash ×
  • screenshot

    Expect called from bash; Unexpected EOF !

    I have few legacy machines which are about to be decommissioned. There is no scope of...

  • screenshot

    How to convert initial timetsamp of each line

    Trying to convert initial timetsamp of each line of a log file as follows $ cat...

  • screenshot

    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...

  • screenshot

    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...

  • screenshot

    why variable substitution is so different?

    there are two files in current dir [root@workspace tmp]# ll total 8 -rw-------. 1 root root...

  • screenshot

    bash script to work on server

    Hi all, I am trying to interact with the Terminal server via bash. I wrote a...

  • screenshot

    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...

  • screenshot

    Not understanding bash script

    With the following bash script I get error message "./GetGridVoltage.sh: line 3: [: 0.0: integer expression...

  • screenshot

    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...

  • screenshot

    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...

  • screenshot

    Hello from the hills of Ireland

    Hi there! I'm *John*, alias *teraspora*. I'm a coder / software engineer, been coding since the...

  • screenshot

    [Bash] why isnt this script working ? Pop!_OS

    i have a startup script that used to work with my Arch install but for some...

  • screenshot

    Can not send email from cron

    I have such bash script in Debian: Code: --------- #!/bin/bash # [ ! -d ~/tmp ]...

  • screenshot

    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...

  • screenshot

    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...

  • screenshot

    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...

  • screenshot

    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...

  • screenshot

    LXer: Bash Scripting: Mastering Arithmetic Operations

    Published at LXer: Arithmetic operations are a fundamental aspect of bash scripting, enabling scripts to perform...

  • screenshot

    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...

  • screenshot

    LXer: String Concatenation in Bash Loops

    Published at LXer: String concatenation in bash scripting is a fundamental concept that is essential for...

  • screenshot

    LXer: Mastering String Concatenation in Bash Scripting

    Published at LXer: String concatenation is a fundamental aspect of Bash scripting, allowing the combination of...

  • screenshot

    btrfs bash completion

    Slackware btrfs-progs package does not have bash-completion installed although the source tarball does have bash-completion for...