![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What command do you use to clear the print que? | nov_user | UNIX for Dummies Questions & Answers | 1 | 10-01-2007 10:09 AM |
| Migrate HPUX print qeues to red hat linux | dillzz | Linux | 0 | 05-18-2007 08:42 PM |
| Problem with print command | rkumar28 | Shell Programming and Scripting | 2 | 05-19-2006 12:04 PM |
| perl print command | vasikaran | UNIX for Dummies Questions & Answers | 2 | 08-07-2005 01:47 AM |
| how to print screen in linux | vancouver_joe | UNIX for Dummies Questions & Answers | 2 | 01-16-2002 12:51 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Print command in linux
What is the equivalent of print for linux scripts? I've scripted in unix, but went to try and do a script in linux, red hat 6.2, and it said print command not found.
i.e.: print 'Enter answer' read answer . . . etc. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
echo works, i told it the sh shell, switched to ksh and it works fine.
|
|
#3
|
||||
|
||||
|
Just use echo instead of print:
echo "Enter answer"; read answer; echo $answer ----- i see you figured it out as i was posting |
||||
| Google The UNIX and Linux Forums |