02-27-2014
Sweet !! That was exactly what I was looking for ... simple easy to understand.
Thanks again !!
10 More Discussions You Might Find Interesting
1. SuSE
QUESTION:
Write shell script using menu-driven approach to show various system configuration like
1) Currently logged user and his logname
2) Your current shell
3) Your home directory
4) Your current path setting
5) Your current working directory
6) Show Currently logged number of... (1 Reply)
Discussion started by: bboyjervis
1 Replies
2. Shell Programming and Scripting
Hi,
#!/bin/ksh
result='/TIA/app/UniQP/queue/document/CSB'
i=0;
while ;
do
i=`expr $i + 1`
if ($i -lt 5);then
echo "THerrFile_$i.err";
else
break;
fi
done
... (0 Replies)
Discussion started by: sudhir_83k
0 Replies
3. UNIX for Dummies Questions & Answers
Hello all, i'm stumped.... I need to list all directories with all there info and exclude the files, then vice versa. I am not sure if I need to string several ls commands together or how to even do that. I believe I need to do some variation of ls -l but need to figure out how to take out the... (5 Replies)
Discussion started by: citizencro
5 Replies
4. Shell Programming and Scripting
Can we create the master file that show the whole tree structure of the directory till a particular folder?
Database that contains four sub repository Sybase,sql,oracle,mysql and sql and oracle contains two subrepostories Siebel and plsql and each repositories contains three folders... (1 Reply)
Discussion started by: rohit22hamirpur
1 Replies
5. Shell Programming and Scripting
Hi Friends,
Please help me with the following problem:
I have a text file with the following lines:
Dated: 8/11/2011
<br>
Time : 0000
<br>
==============
<br>
--------------------------------------<br>Data Upload Time =4:51:52... (2 Replies)
Discussion started by: anuajay1988
2 Replies
6. Shell Programming and Scripting
hello team -
anyone can help shwoing how to grep a file showing the lines above and below?
Thx
Bragabio (7 Replies)
Discussion started by: bragabio
7 Replies
7. Shell Programming and Scripting
Hi fellas,
I have a file that contains text something like this
SNAPSHOT snap-021ede4a vol-bc3f89c0 completed 2012-11-19T06:05:26+0000 100% 170495546006 850 Created by CreateImage(i-6adc0515) for ami-977dfafe from vol-bc3f89c0
TAG snapshot snap-021ede4a project PAC
TAG snapshot... (5 Replies)
Discussion started by: Kashyap
5 Replies
8. Shell Programming and Scripting
I am new to write scripts.
I want help to write a shell script to create 10 users and passwords to users.
Can any please help me. (9 Replies)
Discussion started by: DONFOX
9 Replies
9. UNIX for Dummies Questions & Answers
There are two Korn Shell scripts :
script_1.ksh ( located in /home/dir1 )
script_2.ksh ( located in /home/dir2 )
Content of script_2.ksh is
#!/usr/bin/ksh
echo "Hello world.."
The script_2.ksh is called from within script_1.ksh using the following command :
./home/dir2/script_2.ksh
but... (7 Replies)
Discussion started by: kumarjt
7 Replies
10. UNIX for Advanced & Expert Users
tcsh: have the following in .cshrc (or .tcshrc)
set prompt=": "
zsh: have the following in .zshrc
PS1="%# "
bash: have the following in .bashrc
PS1='\$ 'Lacking direct support this is a good approximation. (0 Replies)
Discussion started by: MadeInGermany
0 Replies
LEARN ABOUT DEBIAN
class::dbi::sweet::topping
Class::DBI::Sweet::Topping(3pm) User Contributed Perl Documentation Class::DBI::Sweet::Topping(3pm)
NAME
Class::DBI::Sweet::Topping - Topping for Class::DBI::Sweet
SYNOPSIS
MyApp::Article->find_title_and_created_on( $title, $created_on );
MyApp::Article->search_title_and_created_on( $title, $created_on );
MyApp::Article->count_title_and_created_on( $title, $created_on );
MyApp::Article->page_title_and_created_on( $title, $created_on );
MyApp::Article->next_by_created_by( { order_by => 'created_on' } );
MyApp::Article->previous_by_created_by( { order_by => 'created_on' } );
DESCRIPTION
Class::DBI::Sweet::Topping provides a convenient AUTOLOAD for search, page, retrieve_next and retrieve_previous.
AUTHORS
Christian Hansen <ch@ngmedia.com>
Matt S Trout <mstrout@cpan.org>
Sebastian Riedel <sri@oook.de>
THANKS TO
Danijel Milicevic, Jesse Sheidlower, Marcus Ramberg, Viljo Marrandi
SUPPORT
#catalyst on <irc://irc.perl.org>
<http://lists.rawmode.org/mailman/listinfo/catalyst>
<http://lists.rawmode.org/mailman/listinfo/catalyst-dev>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Class::DBI::Sweet
Catalyst
perl v5.10.1 2010-04-22 Class::DBI::Sweet::Topping(3pm)