Search Results

Search: Posts Made By: nullwhat
18,751
Posted By nullwhat
AIX/awk date to unix timestamp
Hello,

I am inside a awk script on AIX, I am feeding to awk ls -luNR

i need to convert ls -u time format "month day h:m/yr" to Unix epoch time, POSIX time, or aka unix timestamp

I do not...
4,048
Posted By nullwhat
speed test +20,000 file existance checks too slow
Need to make a very fast file existence checker. Passing in 20-50K num of files


In the code below ${file} is a file with a listing of +20,000 files. test_speed is the script. I am commenting out...
4,844
Posted By nullwhat
thats not it, i went down that rode before. also...
thats not it, i went down that rode before. also i could not change ncargseven if i wanted as i do not have root on this system.


thanks,
Forum: What is on Your Mind? 10-03-2008
1,884
Posted By nullwhat
Who are we?
I am curious who we are, how did we come to unix/linux and what/why do we use unix?

1. I am aerospace engineer
2. I am from Seattle WA USA
3. I first came to unix though work
4. I have duel...
11,279
Posted By nullwhat
see man tab
see

man tab
5,376
Posted By nullwhat
type echo put this in a file called...
type

echo put this in a file called file.txt > file.txt

using the ">" you just output to a file.txt


cat file.txt


want to add something else use ">>" to put more on the end

echo i...
23,334
Posted By nullwhat
ummm alias runme="./prefix_$1" runme...
ummm

alias runme="./prefix_$1"

runme xyz



should do

example

alias love="echo $1"

love me
4,844
Posted By nullwhat
oh one more piece to the puzzled is -- if i have...
oh one more piece to the puzzled is -- if i have another user run the same script they do not get this error, and this is the odd part, our .profiles and equal, as i set their system up in the first...
4,844
Posted By nullwhat
Franklin52...
Franklin52 (https://www.unix.com/members/302022134.html) the code is very long, but you asked for it. i point to proprietary software, and you will not actaly be able to run this. but the awk...
4,844
Posted By nullwhat
$ which awk /usr/bin/awk $ ssh hostname ...
$ which awk
/usr/bin/awk

$ ssh hostname
/usr/bin/awk

same path,,,, not diff awk. I am on AIX
4,844
Posted By nullwhat
A perplexing mystery
A perplexing mystery...

please note that i am not a lacky, and the error below is misleading

recently something i do all the time broke (a script).

now when i run this script i get this...
1,847
Posted By nullwhat
sometimes it helps to change the deliminator' ...
sometimes it helps to change the deliminator'



sed 's!abc!abc1\/abc2!' a.txt

does not have to be a / !!!!!!!!!!!!!!!!, but you must do a \ to exit the meta char "/" is a meta char,, see...
Forum: AIX 10-01-2008
6,873
Posted By nullwhat
# you might find this fun # does random color...
# you might find this fun
# does random color xterms

# want aixterm because i have code for /ksh shell that lets me control multi colored text, i.e. i have have diff file types have diff colors...
2,358
Posted By nullwhat
what are free files?
Can someone tell me what "free files" are?

df -e .

-e
Print only the number of free files.

thanks,

aha
Forum: AIX 09-29-2008
6,873
Posted By nullwhat
aixterm scroll?
on a AIX sys i have been trying to get the mouse scroll wheel to page the terminal for about 2 yrs now on aixterm. any ideas. the below syntax does not work in aixterm but does work in xterm.
...
2,328
Posted By nullwhat
no one has any ideas?
no one has any ideas?
7,007
Posted By nullwhat
or you could use lsuser and grep out what ever...
or you could use lsuser and grep out what ever you want.


for example
lsuser ALL | grep goups=struct | awk '{print $1 " " $2 " " $3}'

see man lsuser
18,419
Posted By nullwhat
look into the find command. man find,,,...
look into the find command.

man find,,, maybe you can hack some of this script,,,,,, it does not do what you want,, but i think parts of it does-------------------------- look down for the line...
1,709
Posted By nullwhat
ummmm did not read all this so i could be off,,,...
ummmm did not read all this so i could be off,,, but to save much work just do this.

sdiff file1.txt file2.txt

OR
diff file1.txt file2.txt

OR

sdiff -s -w 150 file1.txt file2.txt


...
11,156
Posted By nullwhat
see the man on sdiff man sdiff sdiff -s -w...
see the man on sdiff

man sdiff
sdiff -s -w 200 file1 file2
is good
see if you have these
which tkdiff
which xdiff

if you have tkdiff or xdiff on your system you are in luck, other wise...
2,328
Posted By nullwhat
aixterm vs cterm: HELP
been trying to get the mouse scroll wheel to page the terminal for about 2 yrs now on aixterm. any ideas. the below syntax does not work in aixterm but does work in xterm.
...
Showing results 1 to 21 of 21

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