08-10-2001
In Search of a Command
Hello,
There is a command out there that gives back info on your system; e.g. PentiumIII, etc.
I came across it a while back, but cannot find it now.
Does anyone know what that command is?
Thanks,
Radimus
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to run the 'locate' command and then remove what the command finds.
My guess was, locate blahblah |rm -f
but this does not work.
Thanks! (3 Replies)
Discussion started by: jasonr
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Here is an example, I would wan to search for all string consists of IMP but not IMP-00015. Values other than 00015 is fine, is there anyone knows how to do that?
Thanks. (2 Replies)
Discussion started by: *Jess*
2 Replies
3. Solaris
Hi.
When i execute
which passwdit is showing /usr/bin/passwd, eventhough i set my path as
PATH=/etc:$PATH
i just checked the permission for the passwd under /usr/bin
-r-sr-sr-x
what exactly happening? and what is that s signifies
Thanks. (5 Replies)
Discussion started by: shahnazurs
5 Replies
4. Shell Programming and Scripting
Hi,
I am new to unix.Can you please tell me whether there is any command to search for a file in all the directories... and also i want to search for an expression in all the directories.
Thanks in advance.
Regards,
Harika Mamidala (3 Replies)
Discussion started by: harikamamidala
3 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
This one is, seemingly, a very simple question.
I am on HPUX1572. The shell used is ksh.
I used to locate a command using esc-K '/' followed by a few letters of the command.
I tried to search my command history using ESC-K, it works fine. But the old trick of esp+K '/' doesnt... (0 Replies)
Discussion started by: n_rajitr
0 Replies
6. UNIX for Dummies Questions & Answers
Hi
I want to search in file such that
suppose file A which has keyword # Query_time: 12.080983
Query_time: 5.233292
Query_time: 5.298892
Any command to search top 10 Query_time (5 Replies)
Discussion started by: kaushik02018
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I wanted to replace the character '~' with \n (carraige retrurn or new line character)
I am tried the commands like
s/~/\n/g
s/~//\n/g
but the commands says that no "No match exists for the substitute pattern". (7 Replies)
Discussion started by: atlantis_yy
7 Replies
8. Shell Programming and Scripting
how can i search each line for ROCT and ROCT1.ROCT1 will be always 1 line after ROCT.
Both the patterns will be found at the end of the line (in alternate lines)
<pattern file>
(rising edge-triggered flip-flop clocked by ROCT)
Endpoint:... (2 Replies)
Discussion started by: dll_fpga
2 Replies
9. Shell Programming and Scripting
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies
10. Shell Programming and Scripting
I have a multiple csv files which have different network time. The files are in sequance,
The Files Look like..
csv 1
network time
1348177401922972
1348177401949917
1348177401959150
1348177401964104
1348177401964258
1348177401964289
1348177401969053
1348177401970286
1348177401971174... (1 Reply)
Discussion started by: rakesh_arxmind
1 Replies
LEARN ABOUT DEBIAN
app::rad::help
App::Rad::Help(3pm) User Contributed Perl Documentation App::Rad::Help(3pm)
NAME
App::Rad::Help - 'help' command extension for App::Rad
VERSION
Version 0.02
SYNOPSIS
you can add inline help for your App::Rad commands via "$c->register()" or "$c->register_commands()":
use App::Rad;
App::Rad->run();
sub setup {
my $c = shift;
$c->register_commands( {
foo => 'expand your foo!',
bar => 'have a drink! arguments: --drink=DRINK',
});
$c->register('baz', &baz, 'do your thing');
}
you can also do it with the attribute 'Help' in your subs
sub my_command :Help(this is my command) {
...
}
sub another_cmd
:Help(yet another command)
{
...
}
DESCRIPTION
This is an internal module for App::Rad and should not be used separately (unless, perhaps, you want to use one of its methods to customize
your own 'help' command). Please refer to App::Rad for further documentation.
INTERNAL METHODS
load
Loads the module into App::Rad
help
Show help text
register_help
Associates help text with command
usage
Prints usage string. Default is "Usage: $0 command [arguments]", where $0 is your program's name.
helpstr
Prints a help string with all available commands and their help description.
DEPENDENCIES
o Attribute::Handlers, which is core as of Perl 5.8.
AUTHOR
Breno G. de Oliveira, "<garu at cpan.org>"
ACKNOWLEDGEMENTS
The attribute handling was *much* easened because of the nice "Attribute::Handlers" module. So many thanks to Damian Conway, Rafael Garcia-
Suarez and Steffen Mueller.
LICENSE AND COPYRIGHT
Copyright 2008 Breno G. de Oliveira "<garu at cpan.org>". All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
perl v5.10.1 2009-04-12 App::Rad::Help(3pm)