escape sequence 033 is used with echo to change foreground and background colour and many effects........
i wanna know what is the significance of' 033 ...... and why we use here 033 ONLY..
escape sequence 033 is used with echo to change foreground and background colour and many effects........
i wanna know what is the significance of' 033 ...... and why we use here 033 ONLY..
033 is octal representation for escape character (esc).
For Bash (and other shells), the foreground/background changes require the command to send escape characters before/after other codes, hence the use of 033.
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board