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
config.fish
bashcommand lineredirectscriptstext-editor
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
config.fish
Best Answer
You can append a line of text to a file by using the
>>
operator:or in your case
Please take note of the different types of quotes.