LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Equivalent to Dos "Type" command? (https://www.linuxquestions.org/questions/linux-newbie-8/equivalent-to-dos-type-command-78812/)

greendemon 08-04-2003 04:42 AM

Equivalent to Dos "Type" command?
 
Is there an equivalent to the Dos "Type" command to display the contents of a text file?

I used to often use something like "type readme.txt | more"

I suppose I can just display it with an editor, but a straight forward "type" kind of command can't do any damage accidentally, so it would be nice.

arunshivanandan 08-04-2003 04:47 AM

cat <file_name>
Actually,cat is to concatenate.for more,'man cat'

acid_kewpie 08-04-2003 04:48 AM

cat, less or more... less is the best option, but then acutally more is often less anyway.

and of course unix uses the PROPER implementation of more, not just the crippled joke that your used to in dos


All times are GMT -5. The time now is 03:43 AM.