When under ubuntu 22.04 console in php/laravel app I run command.
php artisan route:list >> route_list.txt
new file is generated, if such file does not exists.
But is there is such route_list.txt file with content, if therte is a way to rewrite all content of this file?
Regarding
the
>>
appends to the file. If you want it to start from scratch useThat will empty the file if it exists and then start adding lines from the action before the
>
.