Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bash

how to chop last n bytes of a string in bash string choping?

bash

Give the mount point of a path

linux bash shell path mount

Extract email addresses from text file using regex with bash or command line

regex linux bash

In bash, how can I print the first n elements of a list?

bash syntax

How do I sudo if in Bash?

bash shell sudo

How to get rid of the headers in a ps command in Mac OS X ?

macos bash shell ps

HOWTO: Detect bash from shell script

bash shell scripting

"Command not found" when attempting integer equality in bash

bash

using bash (sed/awk) to extract rows AND columns in CSV files?

bash csv sed awk

Split text file into multiple files

bash unix awk

Bash: Inserting one file's content into another file after the pattern

linux bash shell sh

Regular Expressions for file name matching

regex bash

I would like to store all command-line arguments to a Bash script into a single variable

Redirect only the last line of STDOUT to a file

bash shell unix

Delete everything before last / in a file path

bash filepath

how to check if mongodb is up and ready to accept connections from bash script?

bash mongodb

Validate date format in a shell script

change a line with awk

bash awk

How can I run a list of commands in parallel?

How can I find the sum of the elements of an array in Bash?

arrays bash shell unix