gibney.org
:
Technology
:
Programming
:
BASH
search:
See as:
raw
|
code
terms of service
|
imprint
gibney.org
is powered by
m1d1
BASH
(Entry Nr. 126, by user 1 |
edit
)
Tell the bash to split by newline character
And not by space
[QUESTION] How to use standard in twice
reading from standard in clears it. Is there a way to prevent this?
solving "command not foundne" errors
When you use shellscripts written under Windows in Linux, you will see strange "command not foundne" errors.
Get the current diretory
pwd
Start bc with preset scale
bc <(echo scale=5)
Error handling
Make shell scripts halt on any error.
Write to Screen
How to write to the screen/terminal instead of standard out
Create a new entry at this position