Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Don't accidentally open huge text files from the Command Line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't accidentally open huge text files from the Command Line
Authored by: jaguarcy on May 17, '11 08:18:05AM
you could very easily put that in a file called 'open', make it executable, and put it somewhere like ~/bin/, and put ~/bin/ first in your $PATH. then it'll work irrespective of shell :)

#!/bin/csh
...the above code here, minus the alias open '...' part...


[ Reply to This | # ]