Skip to content

Instantly share code, notes, and snippets.

@smrchy
Created July 5, 2013 11:32
Show Gist options
  • Select an option

  • Save smrchy/5933932 to your computer and use it in GitHub Desktop.

Select an option

Save smrchy/5933932 to your computer and use it in GitHub Desktop.
Linux Cheatsheet
# Truncate a logfile while some process is logging into the file
cat /dev/null > some_log_file.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment