09-13-2010
I do not want to go through all history .
I want to get display cmd one by one and on my required one i will press enter key
or search previous cmd by pattern on prompt and when it display on prompt just enter and run .
please help me
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
i want a shell script to get the date which is mentioned in the first line of a file.
file format is:
#EOD rates on 20050228 at 22:06:37
--------
--------
-------
first line length is always fixed. (4 Replies)
Discussion started by: sasi
4 Replies
2. UNIX for Dummies Questions & Answers
I've noticed most of my postings here are because of syntax errors.
So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies
3. Shell Programming and Scripting
hi ,
how do i interact with the shell prompt.
i need no. of args to be dynamic
e.g
$> type the no of args: <input from keyboard>
Enter the 1 st arg : <input from keyboard>
Enter the 2nd arg : <input from keyboard>
.........
.........
let me know how to do it ... (1 Reply)
Discussion started by: adityamahi
1 Replies
4. Shell Programming and Scripting
i want the shell script to open the terminal and in that terminal i want to run a command specified in the script...
how can it be done... (2 Replies)
Discussion started by: chandrabhushan
2 Replies
5. Windows & DOS: Issues & Discussions
Hello,
Can any one please help:
I have a lab design on Visio, with routers and switches.
What I am planning to do is: when I double click a device icon - it should open a new cmd prompt window and automatically performs the telnet session and log's me into the device.
Appreciate your... (0 Replies)
Discussion started by: sureshcisco
0 Replies
6. Shell Programming and Scripting
I am new to to unix and I want to make my own basic shell. What is the code I can use to change the unix cmd console display? For example my unix display prompt says MyCompterName~, I want it to say WhatEverMan~ (3 Replies)
Discussion started by: megaearth77
3 Replies
7. Shell Programming and Scripting
Hello,
I work on Windows and I use Putty to access a remote UNIX server.
I am trying to build a shell script that will have as main task to open the
Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
Discussion started by: rookie2785
14 Replies
8. Shell Programming and Scripting
Hi, This is what I have so far but it seems like a lot more than is necessary because....for example...user presses 2 or 3 ..... the script does the *same* thing it just depends on the directory it has to access....how can I improve this so that the code from 2 and 3 is only put once...?
... (4 Replies)
Discussion started by: holyearth
4 Replies
9. Shell Programming and Scripting
Hello,
There's a third-party application's command that shows the application's status like "tail -f verybusy.log". When use the command, the output comes every 1-sec. but when it goes in a script below the output comes every 8-sec...What is the problem and how can I fix it?
open(CMD,... (2 Replies)
Discussion started by: Shawn, Lee
2 Replies
10. UNIX for Advanced & Expert Users
Hi I want to run some cmd before the linux boot up
and I want to let it run before sshd service start, any helps? (1 Reply)
Discussion started by: yanglei_fage
1 Replies
LEARN ABOUT DEBIAN
radare2
RADARE2(1) BSD General Commands Manual RADARE2(1)
NAME
radare2 -- Advanced commandline hexadecimal editor
SYNOPSIS
radare2 [-a arch] [-b bits] [-B blocksize] [-c cmd] [-e k=v] [-i file] [-p project] [-P patch] [-s addr] [-dDwntLqv] file
DESCRIPTION
radare2 is a commandline hexadecimal editor.
"r2" is the alias program name for radare2.
This manpage is not updated yet. Feel free to contribute.
The options are:
-a arch force asm.arch (x86, ppc, arm, mips, bf, java, ...)
-b bits force asm.bits (16, 32, 64)
-B bsize Set block size
-c cmd Execute the given command before giving prompt
-d Start in debugger mode
-D dbg.backend
Enable debug mode. Set cfg.debug=true
-e k=v Set configuration eval variable key=value. For example -e scr.color=false
-f Blocksize = file size
-i file Run script file
-l plugfile
Load given plugin file
-L List supported IO plugins.
-n Do not load r_bin information and ~/.radare2rc
-q Quiet mode (no prompt)
-p prj Set project file
-P file Apply rapatch file and quit
-s addr Start seeking at this address
-t Get binary information using a thread
-v Show version information and exits.
-w Open in write mode
-h Show help message
-H Show files and environment help
SHELL
Type '?' for help.
VISUAL
To enter visual mode use the 'V' command. Then press '?' for help.
DEBUGGER
In r2 the debugger commands are implemented under the 'd' command. Type 'd?' for help.
ENVIRONMENT
These values can be used from scripts launched from inside radare ('!' command) FILE path to the current working file
SEE ALSO
rahash2(1), rafind2(1), rabin2(1), radiff2(1), ranal2(1), rasm2(1), rax2(1), ragg2(1), rarun2(1),
AUTHORS
pancake <pancake@nopcode.org>, nibble <nibble@develsec.org>
BSD
Oct 11, 2011 BSD