For questions about scripts written for the Bash command shell.
I need something simple like date, but in seconds since 1970 instead of the current date, hours, minutes, and seconds. date …
linux bash datetimeHow is it possible to change the default shell? The env command currently says: SHELL=/bin/tcsh and I want …
linux bash shell environment tcshI have a string like AxxBCyyyDEFzzLMN and I want to replace all the occurrences of x, y, and z with _. …
string bashHow to wait in a bash script for several subprocesses spawned from that script to finish and return exit code !=0 …
bash process waitI found some ways to pass external shell variables to an awk script, but I'm confused about ' and ". First, …
bash shell awkI want to insert a new line between multiple echo statements. I have tried echo "hello\n", but it is …
linux bash newline