![]() Less files.txt How to append standard output and standard error Run data command at the terminal and append output to output.txt:Įxecute ls command and append data to files.txt: Another option is to run command and append output to a file. You can also add data to other config files. For example, append some networking command to script:Įcho 'ip link set $I up' > Įcho 'ip addr add 10.98.222.5/255.255.255.0 dev $I' > Įcho 'ip route add default via 10.98.222.1' > ![]() The > is called as appending redirected output.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |