Search Results

Search: Posts Made By: gillesi
4,684
Posted By gillesi
Hi all, please below the output ...
Hi all, please below the output

[gilles@servername RA_Folder]$ uname -a
Linux servername 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux...
4,684
Posted By gillesi
Hello any hint here please
Hello

any hint here please
4,684
Posted By gillesi
Please what does this do ~/.profile; when i put...
Please what does this do ~/.profile; when i put it in the cron it does not work at all
4,684
Posted By gillesi
Hello Corona, this is too is not helping. The...
Hello Corona, this is too is not helping. The file is not being sent to the remote path.
4,684
Posted By gillesi
Hi Yoda, thanks..but i had the same problem, it...
Hi Yoda, thanks..but i had the same problem, it sends a file with 0 bytes.
4,684
Posted By gillesi
Sftp in a crontab
Hello All,

My below scripts is not working in crontab by when executed manually it works

#!/usr/bin/expect

spawn sftp username@ip_address
expect "password:"
send "passwd\n";
expect...
6,330
Posted By gillesi
Syntax error near unexpected token 'do'
Hello all,

Please i have this command i used to zip different files in differents directory, but i have an error. Note that when i run the command in one directory it works fine.
...
15,367
Posted By gillesi
@rdrtx1 it's exactly what i needed. Thank you...
@rdrtx1 it's exactly what i needed. Thank you very much. ...
15,367
Posted By gillesi
Thanks it has helped a lot with 3 fields. But if...
Thanks it has helped a lot with 3 fields. But if i have more fields like below

agent_msisdn agent_username customer_msisdn datetime customer_firstname ...
15,367
Posted By gillesi
Script using awk to replace space by comma
I have the content of this file that i would like to replace the space by comma.
The file content values in this format

FName LName Date & time
------------------------------------
Gilles ...
1,520
Posted By gillesi
Thanks i tried this du -ah "pathname" | sort -n...
Thanks i tried this du -ah "pathname" | sort -n -r | head -n 50
It helped very much.
1,520
Posted By gillesi
UNIX commands to display the biggest file by size in a directory
Hello guys,

Please i need to know the biggest files in my directory let's say[/X2/WORK/LOG]$
>du -h | egrep '[0-9[0-9]M|[0-9]G|[0-9][0-9]G'
195M ./TMP
3.6M ./TP_DEC2012
146G .

...
1,064
Posted By gillesi
How to split a file into column with awk?
The following is my code

nawk -F',' '
BEGIN { printf "MSISDN,IMSI,NAM,TS11,TS21,TS22,OBO,OBI,BAIC,BAOC,BOIC,BOIEXH,APNID0,APNID1,APNID2,APNID3,APNID0,CSP,RSA\n" }
{
for(i=1; i<=NF; i++)
{...
2,768
Posted By gillesi
The first one is working fine. Gave me the output...
The first one is working fine. Gave me the output just how i wanted. ThANK YOU. Now i need a tutorial on how to use perl and awk please. A very simple straight forward tutorial.

---------- Post...
2,768
Posted By gillesi
For each block, it's always in the same position...
For each block, it's always in the same position and in the same format and the epsProfileId also in the same position

dn:...
2,768
Posted By gillesi
In the unencrypted format the values 629100...
In the unencrypted format the values 629100 should distinguish the unencrypted mscId i want to extract aaaaaa001aaaaaaaa629100100165619
2,768
Posted By gillesi
---------- Post updated at 09:35 AM ----------...
---------- Post updated at 09:35 AM ---------- Previous update was at 09:23 AM ----------

INPUT FILE:
The mscId in the first two block(highlighted in red, encrypted) i don't need them.
In my...
2,768
Posted By gillesi
Waouh...ok. I'm really beginner here. But saying...
Waouh...ok. I'm really beginner here. But saying that you act as "unpaid programming staff" that's very frustrating to me. I feel like i'm begging for your help or you asking me out of this site. For...
2,768
Posted By gillesi
@ RudiC PLEASE i don't really get your point....
@ RudiC PLEASE i don't really get your point. When i said that i need the output file i was referring to the post #4. Which's been adressed in post #7.
As for my own attempts, i don't have any. If i...
2,768
Posted By gillesi
But i tried i don't have the output in a file?can...
But i tried i don't have the output in a file?can we find a way to put the output in a file?please
2,768
Posted By gillesi
@Thank you very much, but i need the output in a...
@Thank you very much, but i need the output in a file and i also need the line EpsProfileId:29
so bellow is what i want in a file:

mscId=aaaaaa001aaaaaaaa629100100138702, EpsProfileId: 29...
2,768
Posted By gillesi
Script for extraction of pattern
Anyone can help here, with a script to extract the highlighted details from this two blocks?Actually there are milions of block, this is a sample?

dn:...
4,761
Posted By gillesi
@RudiC, i tried with the script, it didn't give...
@RudiC, i tried with the script, it didn't give any results at all. I lunched it, but the output file was empty. So i'm wondering whether the output was still in the buffer or something else..I'm...
4,761
Posted By gillesi
It's running but the output file is not receiving...
It's running but the output file is not receiving the output expected. It's taking more time to load the output file.

---------- Post updated 02-19-17 at 07:07 AM ---------- Previous update was...
4,761
Posted By gillesi
@ RudiC it's really taking such time 4hrs at...
@ RudiC it's really taking such time 4hrs at least. I really have to improve the time. Maybe it's my machine that's also running other stuff. But all the same the script is working perfectly.
...
Showing results 1 to 25 of 36

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