Skip to content

Instantly share code, notes, and snippets.

@sixman9
Created November 16, 2012 00:02
Show Gist options
  • Save sixman9/4082576 to your computer and use it in GitHub Desktop.
Save sixman9/4082576 to your computer and use it in GitHub Desktop.
Small script to instate the missing unix2dos and dos2unix command on Ubuntu
#!/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
@Entersjkhdfkjdhfksjf
Copy link

Great! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment