tar -xvf app.tar.xz
public function validate_address(Request $request)
{
$this->validate($request, [
'address' => 'required',
]);
try {
To tar and gzip a folder, the syntax is:
tar czf name_of_archive_file.tar.gz name_of_directory_to_tar
The -
with czf
is optional.
If you want to tar
the current directory, use .
to designate that.
To construct filenames dynamically, use the date
utility (look at its man page for the available format options). For example:
doskey pa=php artisan
we can get the composer path from composer help command
php -d memory_limit=-1 /usr/sbin/composer install --no-interaction --prefer-dist --optimize-autoloader
NewerOlder