Assuming i have a line that i want to add to a file without opening an editor.
How could i append this line
alias list='ls -cl --group-directories-first'
to this file
You can append a line of text to a file by using the
or in your case
Please take note of the different types of quotes.