11-13-2013
What are "the charters in unix"?
What comes after AAA BB CCZ? (AAA BB CC0, AAA BB CCa, AAA BBB CC[, AAA BB CD0, AAA BB CDa, or something else?) What characters are included in the character set for this exercise and in what order do they appear?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi..
i am having some 3 files : ka, kb, kc
i want to use these set of files in my script... how can i do that ?
like first it should process "ka" .. then "kb".. then "kc" ...
thanks,
Krips. (3 Replies)
Discussion started by: kripssmart
3 Replies
2. UNIX for Dummies Questions & Answers
I know how to do produce this:
string01
string02
string03
several different ways.
But how do I do produce this (without getting lost in recursion):
string01morestring100yetmore10
string02morestring101yetmore20
string03morestring102yetmore30
...... (2 Replies)
Discussion started by: uiop44
2 Replies
3. UNIX for Dummies Questions & Answers
increment operators in unix (3 Replies)
Discussion started by: pratima.kumari
3 Replies
4. Shell Programming and Scripting
Hi,
I have the following requirement.
There will be following text/line in a file (eg: search-build.txt)
PRODUCT_VERSION="V:01.002.007.Build1234"
I need to update the incremental build number (eg here 007) every time I give a build through script. I am able to search the string and get... (4 Replies)
Discussion started by: drwatson_droid
4 Replies
5. Shell Programming and Scripting
Hello There,
I have been trying to increment the value of variable to 1, 2, 3 etc. but, it displays
1
1+1
1+1+1
.....
:wall:
Could anyone help out with this?
for i in *.*
do
s=`expr $s+1`
echo $s
j=$i$j
mv $i $j
done
Any help is appreciated? (24 Replies)
Discussion started by: amrutha0303
24 Replies
6. Shell Programming and Scripting
Hi am using unix aix
I have tried using awk but am getting only output = x ,its not incrementing next output
set -A var1 vv qa za
ct=0
i=3
while
do
var1=`echo ${var1}`
count=`awk ' NR==$i++ {print;exit}' ${.txt} | cut -c5 `
echo $count
let ct=ct+1
done (6 Replies)
Discussion started by: Venkatesh1
6 Replies
7. Shell Programming and Scripting
Hi All,
I am new to this forum and a novice at shell script. I am trying to write a script to determine each of the NIC configured on a linux system and its speed and Duplex. I came up with the following piece of code:
echo `ifconfig -a | grep eth > /home/a/nic.txt`
i=`awk -F, '{print... (4 Replies)
Discussion started by: pravin883
4 Replies
8. Shell Programming and Scripting
I created script (sh shell) to generate vlc playlist based on some data files. All works fine so far except one string I do not know how to handle with.
VLCSTART='<vlc:id>'
VLCV=0
VLCEND='</vlc:id>'
echo -e $'\n'$'\t'$'\t'$'\t'$'\t'\$VLCSTART$VLCV$VLCENDOutput file contains several occurences... (10 Replies)
Discussion started by: TiedCone
10 Replies
9. Shell Programming and Scripting
I have a long string of hex (from ASN.1 data) where I need to find and change a particular hex value only and increment it. The hex pairs either side (84 and a7) of the value to increment will remain constant.
i.e. "84 <length> <value_to_increment> a7" starting with 00.
So end result:
... (11 Replies)
Discussion started by: securegooner
11 Replies
10. UNIX for Beginners Questions & Answers
I have the below string which i need to compare with a file and replace this string in the file which matches closely. Can anyone help me on this.
string(Scenario 1)- user::r--,user::ourfrd:r--
String(Scenario 2)- user::r--
File
****
# file: /local/Desktop/myfile
# owner: me
# group:... (6 Replies)
Discussion started by: sarathy_a35
6 Replies
LEARN ABOUT DEBIAN
bfbtester
BFBTESTER(1) General Commands Manual BFBTESTER(1)
NAME
bfbtester - Brute Force Binary Tester
SYNOPSIS
bfbtester [-htv] [-d level] [-r rejects] [-o out-file] [-x max-execs] -a|[-sme] files ...
DESCRIPTION
BFBTester is great for doing quick, proactive, security checks of binary programs. BFBTester will perform checks of single and multiple
argument command line overflows as well as environment variable overflows. BFBTester can also watch for tempfile creation activity to alert
the user of any programs using unsafe tempfile names. While BFBTester can not test all overflows in software, it is useful for detecting
initial mistakes that can red flag dangerous software.
OPTIONS
You must specify one or more of the following tests:
-s Single Argument Test.
-m Multiple Argument Test.
-e Environment Variable Test.
-a Selects all tests
Other options:
-h Print help.
-t Enable tempfile monitoring.
-v Print version string.
-d level
Set debug level (default = 0, max = 2).
-r rejects
Comma separated list of binaries to skip.
-o out-file
Output to out-file rather than stdout.
-x max-execs
Set maximum executables to run in parallel (default = 250).
file Specific binary or a directory of binaries to test.
OVERVIEW
You must specify at least one test to run and you must specify either a binary or a directory.
Executable selection is now done in one of several ways:
If the executable filename is specified with a leading slash (an absolute path), no selection is used and the supplied absolute filename is
used.
If there is no leading slash in the filename the selection is made in one of two ways (in this order):
1) Prepend file name with $PWD and test accesiblity
2) Search through $PATH and find first accessible executable The first one to succeed is the executable choosen.
If the filename found is a directory, we walk the directory (one level deep) looking for executable binaries.
Symbolic links are followed.
You can specify binaries to skip (useful when loading a whole directory) by using the -r option.
The following is a crash report:
*** Crash </usr/bin/patch> ***
args: -D [05120]
envs: (null)
Signal: 11 ( Segmentation fault )
Core? Yes
This means "/usr/bin/patch" crashed when fed with an "-D" and a word 5,120 characters long:
$ /usr/bin/patch -D AAA...5,120 characters...AAA
(Numbers in brackets mean replace with a word that many characters long)
BFBTester is very CPU intensive, and will open many files, so you probably don't want to run it on a production machine during it's busiest
period. Just a warning...
EXAMPLES
bfbtester -s /usr/bin
Run the single argument test on all binaries in folder /usr/bin.
bfbtester -ta patch traceroute
Run all tests against patch and traceroute and run the tempfile monitor.
bfbtester -a ./bfbtester
Tests bfbtester (provided it's in the same directory).
bfbtester -r kill /usr/bin/kill
Does nothing.
AUTHOR
This manual page was written by Karl Soderstrom <ks@debian.org>, for the Debian GNU/Linux system (but may be used by others).
januari 23, 2001 BFBTESTER(1)