linux empty log file

Shell
# > access.log

Source

Also in Shell: