@shaden to remove a file in linux
unlink laravel.log
// or
rm laravel.log
NB: make sure you cd to the right directory eg
cd /home/forge/mysite.com/storage/logs
and then execute any of the above commands
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi I like the new Commands feature in Forge, made life easier. I want to make rm *, command in the storage/logs directory. I don't want to test it, worried I might rm something else in root or other dir.
anyone can tell me the command to do that.
BTW, this should be one of the default commands listed.
Thanks
the command in Forge Commands Utility is
cd storage/logs ; unlink laravel.log
Please or to participate in this conversation.