If you have multiple folder on live/development server for demo purpose and you want to hide .env and package file then use below code. Create .htaccess file in root folder and past below code: # Disable index viewOptions -Indexes # Hide a specific file<Files “.*”> Order allow,deny Deny from all</Files> <Files…
Month: September 2020
Make a bootable pendrive in Linux
Using DD command: Step 1:- “sudo fdisk -l” to find usb name in the system. like /dev/sdc (you can identify by Drive size)Step 2:- “sudo dd bs=4M if=Downloads/boss-8.0-amd64-DVD-301019.iso of=/dev/sdc1 status=progress && sync”(Make Sure you have selected Correct Drive Name and iso File path) Restore back for Bootable Drive Step 1:- “sudo wipefs –all /dev/sdd”Step 2:-…