Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bash

"while :" vs. "while true" [duplicate]

bash

Multiline syntax for piping a heredoc; is this portable?

bash shell pipe sh heredoc

Use Expect in a Bash script to provide a password to an SSH command

linux bash ssh expect

How can you diff two pipelines in Bash?

bash diff pipeline

How to check if a Docker image with a specific tag exist locally?

bash docker

How to force 'cp' to overwrite directory instead of creating another one inside?

linux bash shell command-line cp

Split files using tar, gz, zip, or bzip2 [closed]

linux bash file-io compression

How to run script as another user without password?

linux bash sudo su sudoers

Convert Unix timestamp to a date string

bash shell unix unix-timestamp

How to make zsh run as a login shell on Mac OS X (in iTerm)?

macos bash shell zsh

extract part of a string using bash/cut/split

string bash

Delete files older than 10 days using shell script in Unix [duplicate]

bash shell unix find

Loop through all the files with a specific extension

bash file glob

apt-get install tzdata noninteractive

bash ubuntu dockerfile apt-get

How to get the last character of a string in a shell?

string bash shell

How can I run a function from a script in command line?

linux bash scripting

How to grep for case insensitive string in a file?

bash shell awk sed grep

How to include file in a bash shell script

linux bash include

How to parse XML in Bash?

xml bash xhtml shell xpath

How do I use su to execute the rest of the bash script as that user?