11-30-2005
see the man pages of 'find ' command
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a file with about 60 lines of path:
app-defaults/boxXYZ.......
I want to change this to /my/path/goes/here/app-defaults/boxXYZ, but of course vi doesn't like the regualr :s/old/new/ command.
Is there any other quick way to do this?
Thanks ;) (2 Replies)
Discussion started by: Yinzer955i
2 Replies
2. Shell Programming and Scripting
hi every one ,
here is my problem !!
i have to run my script from an account and update the result in a xml file located on a different account. i use existing ssh keys to do it remotely
for example the tags looks like this
<PropertyValueList... (1 Reply)
Discussion started by: kiranreddy1215
1 Replies
3. UNIX for Dummies Questions & Answers
using OS X and the Terminal, I'd like to find all locked files in a specified directory, unlock them, and print a list of those files that were unlocked
how can I do this?
I'm familiar with chflags nouchg for unlocking one file but not familiar with unix enough to do what I'd like.
Thanks! (0 Replies)
Discussion started by: alternapop
0 Replies
4. Shell Programming and Scripting
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7 Replies
5. Shell Programming and Scripting
Hi All,
The script below read the path and searches for the directories/subdirectories and for the files. If files are found in the sub directories then read the content of the all files and put the content in csv(comma delimted) format and the call the write to xml function to write the
std... (1 Reply)
Discussion started by: Optimus81
1 Replies
6. UNIX for Advanced & Expert Users
Need help on moving .csv file from unix to windows file path. (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
7. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
8. UNIX for Beginners Questions & Answers
Hi All,
I just want to move the file from one path to another using .sh file in EBS oracle apps.
I have written in .prog but i need in .sh (file.sh)
XXC_SAMPLE_FILE.prog
#!/bin/bash
# XXC_SAMPLE_FILE.prog
DATE_TIME=`date | awk {' print $1"_"$2"_"$3"_"$4 '}`
echo "parse_parms"
... (4 Replies)
Discussion started by: Mist123
4 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
10. UNIX for Beginners Questions & Answers
I'm curious to know how do I add an empty log file (test1.log) to an existing text file to monitor all the changes made to a.txt.
Is this expression
export PATH=$PATH:/home/test1.log
right to be added to the text file a.txt? (5 Replies)
Discussion started by: TestKing
5 Replies
LEARN ABOUT DEBIAN
openocd
OPENOCD(1) General Commands Manual OPENOCD(1)
NAME
openocd - A free and open on-chip debugging, in-system programming and boundary-scan testing tool for ARM and MIPS systems
SYNOPSIS
openocd [-fsdlcphv] [--file <filename>] [--search <dirname>] [--debug <debuglevel>] [--log_output <filename>] [--command <cmd>] [--pipe]
[--help] [--version]
DESCRIPTION
OpenOCD is an on-chip debugging, in-system programming and boundary-scan testing tool for various ARM and MIPS systems.
The debugger uses an IEEE 1149-1 compliant JTAG TAP bus master to access on-chip debug functionality available on ARM based microcon-
trollers or system-on-chip solutions. For MIPS systems the EJTAG interface is supported.
User interaction is realized through a telnet command line interface, a gdb (the GNU debugger) remote protocol server, and a simplified RPC
connection that can be used to interface with OpenOCD's Jim Tcl engine.
OpenOCD supports various different types of JTAG interfaces/programmers, please check the openocd info page for the complete list.
OPTIONS
-f, --file <filename>
This is a shortcut for a -c "[script <filename>]" command, using a search path to load the configuration file <filename>. In order
to specify multiple config files, you can use multiple --file arguments. If no such -c options are included, the first config file
openocd.cfg in the search path will be used.
-s, --search <dirname>
Add <dirname> to the search path used for config files and scripts. The search path begins with the current directory, then
includes these additional directories before other components such as the standard OpenOCD script libraries.
-d, --debug <debuglevel>
Set debug level. Possible values are:
* 0 (errors)
* 1 (warnings)
* 2 (informational messages)
* 3 (debug messages)
The default level is 2.
-l, --log_output <filename>
Redirect log output to the file <filename>. Per default the log output is printed on stderr.
-c, --command <cmd>
Add the command <cmd> to a list of commands executed on server startup. Note that you will need to explicitly invoke init if the
command requires access to a target or flash.
-p, --pipe
Use pipes when talking to gdb.
-h, --help
Show a help text and exit.
-v, --version
Show version information and exit.
BUGS
Please report any bugs on the mailing list at openocd-development@lists.berlios.de.
LICENCE
OpenOCD is covered by the GNU General Public License (GPL), version 2 or later.
SEE ALSO
jtag(1)
The full documentation for openocd is maintained as a Texinfo manual. If the info (or pinfo) and openocd programs are properly installed at
your site, the command info openocd should give you access to the complete manual.
AUTHORS
Please see the file AUTHORS.
This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>. It is licensed under the terms of the GNU GPL (version 2 or later).
November 24, 2009 OPENOCD(1)