To redirect stdout in bash, overwriting file
cmd > file.txt
To redirect stdout in bash, appending to file
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
To redirect stdout in bash, overwriting file
cmd > file.txt
To redirect stdout in bash, appending to file
I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to.