assume I have an empty text file,    touch empty_fileHow can I insert a specific value into the first line of this empty_file?
how to append a value into the empy text file
text processing;text formatting
That's easy. Just use the redirection operator > with echo:echo 'some value' >empty_fileTo add a new line after this:echo 'some other value' >>empty_file