Showing posts with label command line. Show all posts
Showing posts with label command line. Show all posts

Wednesday, November 30, 2016

How to print the epoch using date command

To print epoch - The seconds that has passed since 1970-01-01 00:00:00 UTC, run the following command,

date +"%s" 1480572641

Here %s tells date to print the epoch.



Tested on: CentOS 7, Debian 8, Ubuntu 16.04

Thursday, September 8, 2016

Make LinuxMint 18 - Sarah USB Bootable Drive using Ubuntu


Make LinuxMint 18 - Sarah USB Bootable Drive using Ubuntu




Step 1: Go to the terminal.


Step 2: Type '   /dev/sd*   ' to see the device identifier of your usb drive. it should be something like /dev/sdb /dev/sdc. In my case it's '   /dev/sdb   '


Step 3: Type 'dd if=Location_of_Your_ISO_image.iso of=/dev/sdb bs=4096'. I have Linux Mint iso on my Downloads folder.

    sudo dd if=./Downloads/linuxmint-18-cinnamon-64bit of=/dev/sdb bs=4096  



Step 4: Wait


Step 5: Once it's done, enjoy.




You may watch how it's done on youtube. Please subscribe my channel if you do like it. :-)
Watch on YouTube