Linux Tips and Tricks : Convert from Dos (windows) format to linux (unix)



Linux Tips and Tricks : I will show you how you can convert file from dos format to linux format and the opposite.

Comments

  1. Thanks, this is great and easy to understand ;)
  2. #!bin/bash
    $ cat daysdiff.sh
    D1=`date +%s -d "1996-10-26"`
    D2=`date +%s -d "2016-01-02"`
    ((diff_sec=D2-D1))
    echo - | awk -v SECS=$diff_sec '{printf "Number of days : %d",SECS/(60*60*24)}'

    how can i do this works on dos?
  3. Thanks for the video.


Additional Information:

Visibility: 2551

Duration: 5m 45s

Rating: 7