Search Results

Search: Posts Made By: dhananjayk
2,526
Posted By dhananjayk
alternative for Archieve
Hi all ,

In order to zip the file ...
first we need to use TAR and then GZIP on the TAR file .....

Is there any other method for zipping the files directly as in windows ( winzip )

...
3,827
Posted By dhananjayk
zip and unzip
Hi all ,

How to create a zip file and how to unzip the files .

i just want to zip selected files from a directory ...

Regards,
Dhananjay
3,711
Posted By dhananjayk
Thanks Vish .... It has worked ..... but...
Thanks Vish ....
It has worked .....

but why it happens ...
If I use * ... then it should consider it as 0 or more occurances of a character ...
3,711
Posted By dhananjayk
ls -l echo $? whoami ..all are giving...
ls -l
echo $?
whoami ..all are giving proper output

if i use
whoami | grep "mar" ( it gives proper o/p )

but when I use ls -l | grep *.sh .............its not working
3,711
Posted By dhananjayk
I do find this on the prompt ..( it doesnt throw...
I do find this on the prompt ..( it doesnt throw any error message )
unix > ls
a.sh abc.txt
b.sh prod.tar
c.sh leon.exe

after this I am using...
3,711
Posted By dhananjayk
I am doing the same ... but it is not working .. ...
I am doing the same ... but it is not working ..
can any command cause this problem ....
or is shell corrupted .... Do u have any idea about it ...
3,711
Posted By dhananjayk
shell problem
infact i want to find out the files on particular date ...
say of 3 Nov ...
so i was using grep "3 Nov" ....

but today its not working
3,711
Posted By dhananjayk
Shell Problem
Hi all,

until yesturday grep command was running in KSH ....
I was executing this command
ls -l | grep *.sh

But today its not working at all ...

Should I check any of the...
143,151
Posted By dhananjayk
check it
just call the second script as

#!/bin/ksh
DATE=$(date +%m%d%y)
DPID=$(ps -ef|grep str_process_main|grep -v grep)
if [ "${DPID}" = "" ]; then
cd /usr/local/wss_polling
....
2,238
Posted By dhananjayk
scripting problem ( KSh )
Hi all,

I want to find out last word in each line ...
suppose my file contains following lines ...

this is unix forum
here we share knowledge
it is very interactive

Now i...
5,820
Posted By dhananjayk
some problem
i can use regular expressions to check whether entered string is numeric or character one ... but how can i restrict it to 2 or 3 digits only ?
5,820
Posted By dhananjayk
restricting user input as required
Hi,

I want the user to enter only numeric values and also he should only enter
2 digits only ( eg 23 or 23 or 03 any 2 digits)

For the above purpose how should i declare my variable ?...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 10:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy