Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bash

sed command with -i option failing on Mac, but works on Linux

linux macos bash sed

Running multiple commands with xargs

bash xargs

How to generate random number in Bash?

bash shell random

Tar a directory, but don't store full absolute paths in the archive

linux bash backup tar

How to remove double-quotes in jq output for parsing json files in bash?

bash awk sed jq

Echo tab characters in bash script

bash tabs echo spaces

Is there a better way to run a command N times in bash?

bash loops

How to find out line-endings in a text file?

Can I export a variable to the environment from a Bash script without sourcing it?

How to convert DOS/Windows newline (CRLF) to Unix newline (LF) in a Bash script

linux windows bash unix newline

Check folder size in Bash

bash shell directory

Remove the last line from a file in Bash

How to get the primary IP address of the local machine on Linux and OS X? [closed]

bash unix ip ifconfig

Exit Shell Script Based on Process Exit Code [duplicate]

bash shell

How to pass in password to pg_dump?

bash postgresql shell crontab

Accessing bash command line args $@ vs $*

How to test if string exists in file with Bash?

string bash file

Extract file basename without path and extension in bash [duplicate]

linux bash unix filenames

How to make "if not true condition"?

Running Bash commands in Python

python bash