08-08-2012
please describe me some simple command
Hi everyone I'm new here and I don't know some command of unix, please help by describe me how it work, I study unix command by myself and can't search exactly means so...Thanks
- sqlplus -s /nolog @${SQLFILE} ${file_type} >> ${OUTPUT_FILE}
- date "+%Y%m%d%H%M%S"
- $/usr/bin/echo "INFO [Job <${JOB_NAME}> -> ${DATETIME_SPACE}]: $1"
- ! -d ${OUTPUT_PATH}
- DATABASESTRING=`${/usr/bin/grep} ^N2QS_CONNECT ${LOGON_FILE} | ${/usr/bin/cut} -f2 -d=`
- DB_USER=`${/usr/bin/echo} ${DATABASESTRING} | ${/usr/bin/cut} -f1 -d/`
- DB_CONNECT_STRING=`${EXEC_ECHO} ${DATABASESTRING} | ${/usr/bin/cut} -f2 -d@`
- if [[ $DB_USER == "" ]] || [[ $DB_PASSWORD == "" ]] || [[ $ DB_PASSWORD == "" ]]
- DB_PASSWORD=`${/usr/bin/echo} ${DATABASESTRING} | ${/usr/bin/cut} -f1 -d@ | ${/usr/bin/cut} -f2 -d/`
- ret=$?
if [[ ${ret} -ne 0 ]]
function print_info {
DATETIME_SPACE=`date "+%Y-%m-%d %H:%M:%S"`
$EXEC_ECHO "INFO [Job <${JOB_NAME}> -> ${DATETIME_SPACE}]: $1"
$EXEC_ECHO "INFO [Job <${JOB_NAME}> -> ${DATETIME_SPACE}]: $1" >> ${EXEC_SUM_FILE}
}
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
the following unix command
ls | grep'?cw1' | wc -l
converting it to english is it going to be like
list the result of the search '?cw1' in number of lines
is that correct ? (4 Replies)
Discussion started by: props
4 Replies
2. UNIX for Dummies Questions & Answers
I am confused about what this line of code would do. I understand all the pieces but not the final outcome. Anyone that could help?
find / -type f -xdev -mtime 0 -size 100000 -exec ls -lht {} /; 2>/dev/null (4 Replies)
Discussion started by: NickNine
4 Replies
3. What is on Your Mind?
Curious, what did you do? (3 Replies)
Discussion started by: benefactr
3 Replies
4. Solaris
Hi,
I am trying to take the Statistics of the machine during load.Can someone explian the parameters of
iostat:
tty sd1 sd2 sd3 sd4 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
vmstat:
kthr ... (1 Reply)
Discussion started by: grrajeish
1 Replies
5. Shell Programming and Scripting
Some software, when you install it, prompts you for variables, such as the username for the software, or the password you are setting for the software's root account.
I would like to know if it is possible to do such a thing, and if yes, how?
basically, I would like my installer script to prompt... (3 Replies)
Discussion started by: Bakes
3 Replies
6. Shell Programming and Scripting
dear coders,
i need some inspiration again...
there is something what i always wanted to know... how to code following:
value 1: __________
value 2: __________
important: when my "script" starts the display has to be cleared and two lines are shown (see above), the cursor has to be... (2 Replies)
Discussion started by: pseudocoder
2 Replies
7. UNIX for Advanced & Expert Users
Hi all.
can you please tell me
(root) NOPASSWD: ALL
what this command means (1 Reply)
Discussion started by: mindtee_abhi
1 Replies
8. Solaris
What is openboot prompt
is this some kind of shell , and where is located :p (2 Replies)
Discussion started by: solaris_user
2 Replies
9. Shell Programming and Scripting
input1
a_a a/a 10 100
a1 a_a 20 200
b1 b_b 30 300
input2
a_a a/a xxx yyy
a1 a1 lll ppp
b1 b_b kkk ooo
output
a_a a/a 10 100 xxx yyy (2 Replies)
Discussion started by: ruby_sgp
2 Replies
10. UNIX for Advanced & Expert Users
I never understood what exactly it is that preempts a process in a preemptive multitasking system. For example, round-robin, SRTF, or preemptive priority-based algorithms. I understand how the algorithm works, but what exactly triggers the preemption? I know in the case of round-robin... (4 Replies)
Discussion started by: Ultrix
4 Replies
LEARN ABOUT DEBIAN
rackdiag
NWDIAG(1) General Commands Manual NWDIAG(1)
NAME
rackdiag - generate rack-structure-diagram image file from spec-text file.
SYNOPSIS
rackdiag [options] files
DESCRIPTION
This manual page documents briefly the rackdiag commands.
rackdiag is generate sequence-diagram image file from spec-text file.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below. For a complete description, see the Info files.
-h, --help
show this help message and exit.
--version
show program's version number and exit.
-a, --antialias
Pass diagram image to anti-alias filter.
-c FILE, --config=FILE
read configurations from FILE.
-o FILE
write diagram to FILE.
-f FONT, --font=FONT
use FONT to draw diagram.
-T TYPE
Output diagram as TYPE format.
SEE ALSO
The programs are documented fully by
http://blockdiag.com/en/nwdiag/
AUTHOR
rackdiag was written by Takeshi Komiya <i.tkomiya@gmail.com>
This manual page was written by Kouhei Maeda <mkouhei@palmtb.net>, for the Debian project (and may be used by others).
June 11, 2011 NWDIAG(1)