Created
November 16, 2012 00:02
-
-
Save sixman9/4082576 to your computer and use it in GitHub Desktop.
Small script to instate the missing unix2dos and dos2unix command on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Install unix2dos and dos2unix on Ubuntu Linux | |
#unix2dos and dos2unix are replace with todos and fromdos | |
#We'll install those and then alias them | |
sudo apt-get install tofrodos | |
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix | |
sudo ln -s /usr/bin/todos /usr/bin/unix2dos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great! Thanks