Phác Chí Huấn
New member
How do I save a script to a file in Linux?
Answer
To use bash redirection, you run a command, specify the
> or >> operator
, and then provide the path of a file you want the output redirected to. > redirects the output of a command to a file, replacing the existing contents of the file.
Answer
To use bash redirection, you run a command, specify the
> or >> operator
, and then provide the path of a file you want the output redirected to. > redirects the output of a command to a file, replacing the existing contents of the file.