I want to write a function to my .bashrc file thats like:
function appendToFile {
vi .file $1
}
and $1 is the contents. I know about the:
program > path/to/file
Format, but it’s not a program, I want to just write a specific thing to a file.
Also, important, is that i dont want to overwrite the file, i want to append to the file
could be your way.
>>appends.