Just some useful bash scripts.
- cph (Character Position Highligher) Wraps the character at the given position in
[-> <-]
and shows within line for context.
- cph
- The line spacing must be the same; therefore files in single-line format work best.
- I am using WSL2 on my Windows 10 machine to run my bash files.
- As far as I have seen so far, it doesn't matter if bash files written in python have
.sh
,.py
or even no file extension. - After chreating a file with
vi filename.extention
usechmod 700 filename.extention
to make it an executable file. To run the file simply./filename anyparams
orpython3 filename anyparams