• Home
  • About
    • BI, Workflow Automation, and App Development
    • Login
  • Search
dForge.net
Soguecode.ioTwitterGitHubCodepen
 
Skip to content
  • Home
  • About
    • BI, Workflow Automation, and App Development
    • Login
  • Search
Home Posts tagged "sudo"

Tag: sudo

Linux

How to Append to a File Using Sudo

By Ron S. March 7, 2014 February 11, 2017  linux, sudo, tee 0

Via the command line, in order to append to a file, you would typically use redirection (i.e. >>). However, you won’t be able to do this as a regular user against a root-owned file. Enter the tee command: echo some_text | sudo tee -a /path/file

Continue reading"How to Append to a File Using Sudo"
Back to Top
@ 2017 Soguecode.io, LLC.
Powered by Fluida & WordPress.