Search Results

Search: Posts Made By: zaxxon
Forum: What is on Your Mind? 02-23-2011
5,043
Posted By zaxxon
About 10 years ago I was in a similar situation...
About 10 years ago I was in a similar situation and age like you are, had 95% only worked with Windows servers and clients and had just made my MCSE. I switched my job to a AIX and Linux environment...
Forum: AIX 07-06-2017
2,042
Posted By zaxxon
Some starting ideas: - process table with ps...
Some starting ideas:
- process table with ps -ef and check entries using a tty
- lslpp -h to find out if there is a package installed at some given date
1,590
Posted By zaxxon
$ awk -F, 'BEGIN{print "COL1,COL2"} NR>1 && $9...
$ awk -F, 'BEGIN{print "COL1,COL2"} NR>1 && $9 {print $1,$6}' OFS=, input.csv
COL1,COL2
1111,X100
3333,X300
4444,X400
2,433
Posted By zaxxon
See my comment in your post on using "urgent" in...
See my comment in your post on using "urgent" in the topic, thanks.

Your first script uses ksh syntax to declare an array with set -A. In your second script you use a shebang to call bash, which...
5,757
Posted By zaxxon
If you want to prevent that someone changes this...
If you want to prevent that someone changes this script, that person can also just comment those lines.
Maybe an IDS (Intrusion Detection System) like Tripewire etc. is the better choice to watch...
11,106
Posted By zaxxon
The number of records which is NR contains the...
The number of records which is NR contains the current line number. awk has an END{} block, where when it is reached NR will have the number 21 as value in your case.
Anyway, I second what the...
1,096
Posted By zaxxon
Try: awk 'BEGIN{for(i=1;i<=6;i++) print i}'
Try:
awk 'BEGIN{for(i=1;i<=6;i++) print i}'
2,170
Posted By zaxxon
I am sorry to say it but it seems that you lack...
I am sorry to say it but it seems that you lack so many basic fundamental things working with Unix/Linux and it also seems that all those really many threads of yours in the forum and all the answers...
1,677
Posted By zaxxon
Try: who | cut -d" " -f1
Try:

who | cut -d" " -f1
1,463
Posted By zaxxon
You already have 317 posts in this forum and I...
You already have 317 posts in this forum and I bet you got lots of hints to your questions in the past. What would be the most obvious "bad habit" in this script?
Forum: Cybersecurity 02-06-2017
8,453
Posted By zaxxon
If the modem/router is delivered/sold by the...
If the modem/router is delivered/sold by the provider and they deny support, they might lose a customer next time ;)
Anyway, I have no clue about this but you can get alternative FW for...
7,898
Posted By zaxxon
@OP: Please stop ignoring helpful answers and...
@OP:
Please stop ignoring helpful answers and just stop repeating your demanding behaviour if it is not already presented in a way, that you can copy & paste it. This is very bad behaviour. You can...
Forum: AIX 09-30-2016
4,216
Posted By zaxxon
:D:D Sorry I have to laugh, but those guys in...
:D:D Sorry I have to laugh, but those guys in Bulgaria remind me of a Deja Vu with another big company that seems to have found the same cost friendly country to place their support at. Those poor...
Forum: AIX 09-07-2016
3,458
Posted By zaxxon
After formatting and indenting your script, there...
After formatting and indenting your script, there also seems to be missing 2 times fi to close the opening if.
Having a glance at your script I wonder if you ever tested any parts of it when writing...
3,760
Posted By zaxxon
Here another solution without iterating through...
Here another solution without iterating through all NF but using the field separator:

$ awk -F"^[0-9]+ " '$2 !~ /3/' infile
3246354401 1
3290753729 5 4
3292553369 1 1 1 4


@jiam912:
You...
4,172
Posted By zaxxon
Leave out wget's -q, which stands for "quiet"....
Leave out wget's -q, which stands for "quiet". Also remove the 2>&1 to see which errors/messages are being written to STDERR.

If you want to see all things that are written to STDOUT too, leave...
Forum: AIX 08-11-2016
5,339
Posted By zaxxon
Hi gull04, it's now sadly some time ago I...
Hi gull04,

it's now sadly some time ago I actively worked with these beside some courses, but here we go (I hope the other guys correct me if there is an error in my explanation):

Basically...
1,193
Posted By zaxxon
I added some "permission denied"... something...
I added some "permission denied"... something like this?


$ cat infile
cp: writing `/testX/file2016-08-11_07-03-10AM/ext/lib/libclntshcore.so.12.1': No space left on device
cp: writing...
1,431
Posted By zaxxon
What about adding a comparisson if $i is greater...
What about adding a comparisson if $i is greater than 0? If so, maybe print $i and NR so you know which line it is found at.
If you can write an awk statement like this, you can surely add this. Try...
1,425
Posted By zaxxon
You did not specify an exact end of the string...
You did not specify an exact end of the string and so you get the pattern each time it is a match.

Try:

sed -n "/Start_of_DISK_info:\/u$/,/End_of_DISK_info:\/u$/p" data.txt
2,153
Posted By zaxxon
danmero's answer is a tad more intelligent than...
danmero's answer is a tad more intelligent than mine but what did not work with mine? I am curious to know, just in terms of interesst and politeness, thanks :)
1,524
Posted By zaxxon
Your DATE is not correct, the time is missing....
Your DATE is not correct, the time is missing. The new column can be just written, as you wrote any other text in your print. DATE can be handed over to awk with -v:


$ DATE=$(date +"%Y-%m-%d...
Forum: What is on Your Mind? 07-22-2016
2,121
Posted By zaxxon
Chapeau Scruti :)
Chapeau Scruti :)
943
Posted By zaxxon
Maybe check the official site or join their...
Maybe check the official site or join their mailing list and ask there:
rsync (https://rsync.samba.org/)
3,869
Posted By zaxxon
Hi, if it is inside a loop, you can leave it...
Hi,

if it is inside a loop, you can leave it with the break command. You can also just exit the whole script, if there is nothing anymore to do.
Showing results 1 to 25 of 449

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