Search Results

Search: Posts Made By: phrazz
Forum: HP-UX 02-27-2008
53,690
Posted By phrazz
script hacks fraught with peril
Looks like Trott & Rolsky's Perl Net::SFTP Module (http://search.cpan.org/~drolsky/Net-SFTP-0.08/lib/Net/SFTP.pm) can help with this dilemma.

What I've learned is the standard SFTP shell client is...
179,979
Posted By phrazz
KornShell/BASH/perl rule, others drool
Ya know when you ask "most useful", it brings up the YMMV disclaimers. Anyhow, I've been programming shells for a couple dozen years or so and I've used all of the ones listed and about that many...
16,190
Posted By phrazz
how to diff sizes of two directories (check mirror)
This is an intriguing problem, and a common one at that. Basically we want to know if two files differ by size with the same names in two directories (or if files exist in one directory but not the...
23,841
Posted By phrazz
one-liner
who | while read username junk ; do awk -F: '($1 == "'$username'") {print $5}' /etc/passwd ; done | sort -u
18,142
Posted By phrazz
lost in space
-exec rm {}\;
I'm going out on a limb here, but I think you're missing a space
between the last close-curly and the backslash. "Incomplete statement"
is find telling you that it needs something...
14,232
Posted By phrazz
swapping vs paging
paging is managing RAM data by pages (nK chunks, called page size), swapping stores it temporarily on disk if it's not needed right away to extend physical memory through a technique called virtual...
3,334
Posted By phrazz
process spawning
Send us a "ptree" output so we can see the process relationship.

If you're running various shells, the #!/bin/Xsh directive will do this (normal).

Could be something funny in the script as...
10,012
Posted By phrazz
^v, ^c is a bad separator character
You can use ^v to enter control chars on the command line, too.

Might be better to "parse" using "tr" first and convert to an ASCII delim.

tr '^c' '|' < infile > outfile # convert ^c...
Showing results 1 to 8 of 8

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