Text type convert
Tagged with: command, dos, dos2unix, eol, line, Linux, text, unix
Saturday, June 21st, 2008 11:00 PM
Convert a text file format from MSDOS to UNIX
dos2unix input_file output_file
Convert a text file format from MSDOS to UNIX
dos2unix input_file output_file
This command fetches a web page, converts it to text and shows it.
lynx -dump http://www.example.com/
If you have a debian system and the XMMS in that has a bug that hides the fonts in dailog, try this command…
dpgk-reconfigure locales
Convert from lower case to upper case
echo 'hello world' | tr '[:lower:]' '[:upper:]'
This commands reverses a file in linux - the last line will be the first…
tac file.txt
tac = reverse of cat
You can create a wav file of a written text using this command
echo "It's such a beautiful day! Why are you in front of the computer?" | festival --tts
echo "It's such a beautiful day! Why are you in front of the computer?" | text2wave -scale 50 -o beautiful_day.wav
Recursively check a folder to find the given text using grep
grep -R "text" *
Ever wonder how you can get a man page in into a format you can read and print?
man command | col -x -b > command.txt
Search for a specific text in a folder using grep
grep "fetchFeedPacksCustomize()" *.js
[tags]grep,search,text,folder[/tags]