Computer Hope

Software => BSD, Linux, and Unix => Topic started by: COKEDUDE on February 10, 2010, 09:57:45 AM

Title: cat foo –
Post by: COKEDUDE on February 10, 2010, 09:57:45 AM
Could anyone tell me what "cat foo –" does in unix please? Also where is there documentation about this so I know where to look in the future.
Title: Re: cat foo –
Post by: TheUnixGuy on February 10, 2010, 11:17:36 AM
Hello,

Welcome to the ComputerHope Forums.

Generally, foo, foobar, baz, etc are used as placeholders to some arbitrary unknowns. Thus
Code: [Select]
cat foo -might be used as an example usage of cat. The user has to replace it by something valid, according to the condition, a valid filename in this case.


NOTE: Please avoid double posting. (http://www.computerhope.com/forum/index.php/topic,99907.0.html)