Search Results

Search: Posts Made By: Nithz
30,493
Posted By Nithz
Cool!
it workd!!! i am using

bash shell... so i used ``...

Thanks a lot!
30,493
Posted By Nithz
Syntax error at line 24: `(' unexpected
Hi,

I am getting an wired error.... the script is running fine when i run it manually... but the same when i try to run in nohup mode, i am getting error



if [ $(grep -c "My Daddy"...
4,078
Posted By Nithz
getting error as sprintf: not found ...
getting error as


sprintf: not found


I am using bash shell...
4,078
Posted By Nithz
Append 0 to a variable
Hi,

I have a variable... it can take a value from 1 to 99...

now when it is 1 to 9 i want to save it as 01 to 09 in the same variable... can this be done using sed or awk???


a=1

i want...
4,993
Posted By Nithz
Scrutinizer... The Error was spot on!!!...
Scrutinizer...

The Error was spot on!!! Cannot use END and variable name!!!


/usr/xpg4/bin/awk -v s="$START" -v e="$END" '/s/,/e/' logfile.log > processfile.txt


Works perfectly fine!!!
4,993
Posted By Nithz
Passing date into awk...
Hi All....

I need to pass date into awk and parse logfile based on that.... i used both awk and /usr/xpg4/bin/awk... both are throwing up error.....


So here is the stuff...

when i use...
2,841
Posted By Nithz
bash script to find date based on search string for continuesly updating file
Hi All,

I am very new to UNIX and I have tried this for a longtime now and unable to crack it....

There is a file that is continuously updating. I need to search for the string and find the...
6,577
Posted By Nithz
hi carlo.... i have set $ now for all the...
hi carlo.... i have set $ now for all the variables....

after tht i am getting error as


./test[3]: =: cannot execute
./test[5]: 112000: not found
6,577
Posted By Nithz
help on awk---- need to assign the output of awk to a variable
hi i want to find the size of a folder and assign it to a variable and then compare if it is greater than 1 gb.


i am doin this script, but it is throwing error....

#!/bin/ksh

cd . | du -s...
5,952
Posted By Nithz
Maybe the tmp space in your machine is very...
Maybe the tmp space in your machine is very less...

try freeing up a little...!!!
1,690
Posted By Nithz
Thanks jay
Thanks a lot!!!
1,690
Posted By Nithz
will this run even if i specify 10 to 12 paths in...
will this run even if i specify 10 to 12 paths in the filelist.txt???
1,690
Posted By Nithz
hi, can u plz give me a small detail of...
hi,


can u plz give me a small detail of the above command...
whr to use it???

do i need to use it instead of rm - rf * or cat /filelist.txt | while read INTLIST???

i am completely new to...
1,690
Posted By Nithz
need to navigate into specified folder and delete the files
Hi all,

I need to write a script to naviagate into the list of specified folder and delete the files in it.

I have mentioned the list of folders in a external file so it can be reusable.

The...
34,420
Posted By Nithz
nope... i dont wanna retain any file...
nope... i dont wanna retain any file...
34,420
Posted By Nithz
Thanks a lot for your response... the issue...
Thanks a lot for your response...

the issue is that the file names change and are not constant. in that case, will this command work?

if so how? i am asking, as i am new to unix...
34,420
Posted By Nithz
script to delete old files
Hi,

I want to delete files that are older than 60 days.... i need to execute the script in 7 differnt folders.... i can run the script in crontab to regularly check....

I am struck @ finding...
Showing results 1 to 17 of 17

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