![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cronjob - Redirect mail output to file, LINES & COLUMNS | jharvey | Shell Programming and Scripting | 0 | 04-14-2008 03:19 PM |
| Redirect grep output into file !!!!! | hanu_oracle | Shell Programming and Scripting | 2 | 04-10-2008 09:02 AM |
| redirect output to log file | kalyanraj | Shell Programming and Scripting | 2 | 06-07-2007 12:40 AM |
| redirect output to file | xadamz23 | Shell Programming and Scripting | 4 | 06-29-2006 11:20 AM |
| redirect output to file? | slackware | Shell Programming and Scripting | 1 | 09-12-2003 02:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Redirect output to a file
Ahhhrrrggg I’m having a brain fart…
I want to take the output of a command and redirect it to a file… This works…. $ man cp | cat >> copy_help but this doesn’t keytool -help |cat >> keytool_help It just produces… these lines… more keytool_help [-providerClass <provider_class_name> [-providerArg <arg>]] ... [-providerClass <provider_class_name> [-providerArg <arg>]] ... |
|
||||
|
That does appear to be some sort of help (command line options). Are you passing the right question to keytool? Maybe it needs "keytool --help" for example. Most of the linux tools are dash single character and double-dash word.
Code:
$ keytool -h Code:
$ keybool --help http://java.sun.com/j2se/1.3/docs/to...2/keytool.html http://developer.apple.com/documenta...keytool.1.html Both refer to the same tool (and it uses -help, a single dash). It might be better to just reference one of these pages for more help if this is the tool you're looking for What output do you get if you just type keytool -help without redirecting? Carl |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|