Unix Power Tools
Replace Carriage Return(\n) to Line Feed (\r): $ tr '\015' '\012' < file1 > file2
Which shell am I running? $ grep username /etc/passwd
cd is Internal and ls is External Commands
Unix search path: $ echo $PATH
Replace Carriage Return(\n) to Line Feed (\r): $ tr '\015' '\012' < file1 > file2
Which shell am I running? $ grep username /etc/passwd
cd is Internal and ls is External Commands
Unix search path: $ echo $PATH