Search Results

Search: Posts Made By: zTodd
3,712
Posted By zTodd
rules for new password?
What are the rules for choosing a new password when the old one expires? I notice when I try to use a password that is similar to my previous one then it won't take it. Got me wondering what the...
Forum: AIX 05-12-2009
34,491
Posted By zTodd
Wow, I guess I stumped everyone, eh? Nobody has...
Wow, I guess I stumped everyone, eh? Nobody has ever automated sftp to send files?
Forum: AIX 05-07-2009
34,491
Posted By zTodd
I had a project where I needed to automate...
I had a project where I needed to automate retrieving files from a vendor, so I used ssh-keygen and gave the vendor the public key from that, and it worked fine.

But if I need to automate sending...
5,704
Posted By zTodd
I extracted the data into Excel for you- here you...
I extracted the data into Excel for you- here you go.
If you wanna know how I did it, I did it by (I'm using Excel 2003):
1. copying your data starting with E/N Ko etc. and pasting it into a new...
Forum: Open Source 04-05-2009
426,801
Posted By zTodd
Lol, sorry about that Neo- I totally didn't mean...
Lol, sorry about that Neo- I totally didn't mean it that way. I was just jokin around- guess I should have said just kidding!
Forum: Solaris 04-04-2009
5,453
Posted By zTodd
Lol, I think he already said he's not getting any...
Lol, I think he already said he's not getting any error messages, and that the problem is that it's rebooting by itself, and he doesn't get a log in screen.

But Ravinder, you do still need to say...
Forum: Programming 04-04-2009
4,104
Posted By zTodd
Can't really tell without seeing the data in your...
Can't really tell without seeing the data in your tables directly. Try doing each query yourself and checking the data straight from each table in the queries.
5,704
Posted By zTodd
If you've got Windows and Microsoft Excel, you...
If you've got Windows and Microsoft Excel, you can open it with that and use the data to columns wizard to put your data in columns, then create the graph.
Forum: Programming 04-04-2009
4,104
Posted By zTodd
hmm, where'd your space go in the create package...
hmm, where'd your space go in the create package line and on other lines? Put it all between code tags. I think you shouldn't be opening and closing the file every time through the loop, for one...
2,721
Posted By zTodd
If you haven't found it already, the -n option...
If you haven't found it already, the -n option gives the line numbers!
1,851
Posted By zTodd
If you need it automated, maybe using a VBA...
If you need it automated, maybe using a VBA script in Excel would be easier?
2,752
Posted By zTodd
I currently use vi, so I do this- set...
I currently use vi, so I do this-

set editor=VI
crontab -e

Then once you're in there, add your line then save and exit out.

First column=minutes, 2nd=hour, 3rd=day, 4th=month, 5th=weekday,...
2,038
Posted By zTodd
I agree it should be set as a cron job. But...
I agree it should be set as a cron job.

But I think the problem with your script is having "done" in the wrong place.


export CTR=0

while [ true ]
do

if [ ${CTR} -ge ${COUNT} ]
...
25,378
Posted By zTodd
I think Vidyad meant that last line to be mv...
I think Vidyad meant that last line to be
mv syslog.log syslog.log.$date && gzip syslog.log.$date &&
scp syslog.gz jdoe@system.com:\home\jdoe\logs

But I'm not sure about that $date variable-...
Forum: Open Source 03-09-2009
426,801
Posted By zTodd
Totally agree with this guy. I searched this...
Totally agree with this guy. I searched this thread for textpad, found at least 6 others say they use it too. 1 or 2 asked for it to be added to the poll. I'm asking again. :)
12,057
Posted By zTodd
If it doesn't work, might need quotes around your...
If it doesn't work, might need quotes around your new filename, maybe all within the date function...
put ORDER.TXT `date +"ORDER_+%Y%m%d.TXT"`
1,589
Posted By zTodd
Check this- man diff
Check this-
man diff
13,392
Posted By zTodd
just to confirm, when you look at man zip it...
just to confirm, when you look at
man zip
it doesn't have the -P option?

and when you try to use zip with the -P option, it doesn't work?

When I got a free hosting account with Joyent which...
2,460
Posted By zTodd
or If you need to check if a file's updated in...
or If you need to check if a file's updated in the last x minutes whether it's open or not, you could maybe pipe output from
ls -l <file>
into a grep command to get the time, and check if that's...
4,013
Posted By zTodd
For task 2- I believe you can use the sed command...
For task 2- I believe you can use the sed command or awk command, piped to the sort command with the -u option. Google search for "sed" and for "unix sort" should probably turn up lots of good info...
4,013
Posted By zTodd
Is the part I highlighted in red a typo? Was it...
Is the part I highlighted in red a typo? Was it supposed to be ofile instead of type? I didn't test it- just seemed so...
2,491
Posted By zTodd
Or if you guys don't have Samba installed yet,...
Or if you guys don't have Samba installed yet, you could maybe ftp or sftp to/from the Unix box. I use a program called WinSCP3 at my work for that. You could maybe look that up.
3,929
Posted By zTodd
Which shell are you using? I have a bash shell,...
Which shell are you using? I have a bash shell, it looks like it comes with a zip program.
So I guess you also get nothing when you type
man zip

Is that right?

If you guys are using it as you...
Showing results 1 to 23 of 23

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