Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bash

How to test that a variable starts with a string in bash?

bash string

In bash, can you use a function call as a condition in an if statement?

bash

Node.js Shell Script And Arguments

bash node.js

How to check if element exists in array with jq

arrays json bash membership jq

PS1 line-wrapping with colours problem

How to get file size in bytes from shell script?

macos bash terminal

Trick to loop/autorefresh docker ps view like top/htop in bash

bash docker htop

Find all files in a directory that are not directories themselves

bash unix ksh

Copying a Bash array fails

arrays bash

tree command on osx bash

ruby bash unix tree pry

How to duplicate a folder exactly

linux bash unix ubuntu

How to match a single quote in sed

bash shell sed escaping

Using sendmail from bash script for multiple recipients

bash sendmail

How can I add a comma at the end of every line except the last line?

bash sed command-line

'&&' vs. '&' with the 'test' command in Bash

linux bash

bash shell nested for loop

bash shell nested-loops

linux shell script: split string, put them in an array then loop through them [duplicate]

bash

How to use Pigz with Tar

bash tar

Bash : extracting part of a string

bash

Bash script to run php script

php bash shell cron