User Profile

Collapse

Profile Sidebar

Collapse
coaxfiber
coaxfiber
Last Activity: Jan 9 '14, 02:27 PM
Joined: Mar 13 '07
Location: Manila,Philippines
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks Mr.Banfa for your reply.

    One more thing, ...
    ** Edit **
    Extra question removed from post.
    Please post new questions in their own threads (as per the site rules which you should know by now).
    See more | Go to post
    Last edited by NeoPa; Sep 27 '11, 10:05 PM. Reason: Removed hijack question - please repost in its own thread if you need it answered.

    Leave a comment:


  • coaxfiber
    started a topic How to combine into one from splitted files?

    How to combine into one from splitted files?

    Hi,

    I split one big file using the following

    split -b 1000m XYZ.tar.gz and it was divided into 4 files.

    My question is, how to put it back to one file with the same original file as before.

    Am I doing the correct way? --> cat XYZ* > XYZ.tar.gz ?

    Thanks.

    /COAX
    See more | Go to post

  • coaxfiber
    replied to need help doing a egrep and replace
    oopsss. so sorry..

    got the answers already..

    tyvm..
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to need help doing a egrep and replace
    how to skip in a loop

    the contents of my scripts:

    #!/usr/bin/ksh

    integer x=1
    while ((x<=20));

    do

    print $x;

    if [ $x = 5 ]
    then
    x=10
    fi
    ((x=x+1));

    done
    _____________
    output:
    1
    2
    3
    4
    5
    11
    12
    13
    14
    15
    16...
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to need help doing a egrep and replace
    hi, can you help me out why i'm not allowed to post new thread.. thanks..
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to need help doing a egrep and replace
    coaxfiber> grep -E -e -hblcnsviw 'MTP3b' Health_1_Mar26_ 10:33
    grep: illegal option -- E
    grep: illegal option -- e
    Usage: grep -hblcnsviw pattern file . . .


    coaxfiber> grep -E -e 'MTP3b' -e 'Rnsap' Health_1_Mar26_ 10:33
    grep: illegal option -- E
    grep: illegal option -- e
    Usage: grep -hblcnsviw pattern file . . .
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to need help doing a egrep and replace
    hi all.,


    it's been a long time since i replied/post here. while having some trouble right now doing my script using solaris, i'm getting error:

    "grep -hblcnsviw" pattern error


    the usual grep is not working here.i hope you could me.


    thanks.


    coaxfiber
    See more | Go to post

    Leave a comment:


  • use "spool" in your sql file and call it to your script....
    See more | Go to post

    Leave a comment:


  • Hi try this one,
    --------------------------------------
    #!/bin/ksh

    1.txt > datasource
    one=$(cat datasource)
    echo "Date is: $one"
    --------------------------------------...
    See more | Go to post

    Leave a comment:


  • Sir,

    Ok.. I should see if my SATA drive will be detected. I have tried to run Knoppiix before but never checked it. I got this version of Knoppix when I bought the book "Linux Bible 2005".

    BR,
    -coax...
    See more | Go to post

    Leave a comment:


  • coaxfiber
    started a topic How to find drivers for SATA HDD for laptop?

    How to find drivers for SATA HDD for laptop?

    Hi.. I bought this model of laptop and had a difficulty installing windows XP onto it which has a SATA type of hard disk.The installer couldn't find the presence of the SATA. After finding some help from net, I was able to load some drivers to run in normally as usual windows installation.

    Now I want to install fedora-core or some other linux/unix OS in the same laptop, but the installer I have is also unable to find the SATA disk....
    See more | Go to post

  • coaxfiber
    started a topic <Cut Command>

    <Cut Command>

    Hi,

    Just want to ask if cut command is capable of , please consider below:

    $cat read.txt
    1
    2
    3
    4
    --------------------------------
    Expected Output should get 1,2,3,4 one by one and pass it individually in a file.

    1 > a , 2 > b, 3 > c, 4 > d

    Thanks in Advance!!!
    See more | Go to post

  • coaxfiber
    started a topic Help with my Modem Device...

    Help with my Modem Device...

    Hello,

    I have problem using dial-up connection with Fedora. My modem is not detected by the system.I have tried to install some drivers (*.tar) but didn't work.I'm not sure if this modem is not supported or detected or some configuration is just missing.Using my modem with my Win-XP works fine.

    What should I use with these selections?
    --------------------------------------------------------------------------------...
    See more | Go to post

  • coaxfiber
    replied to If then expressions with integers
    #!/bin/sh
    echo "Input: \c"
    read f
    if
    [ "$f" = '0.01' ]
    then
    echo "good"
    else
    echo "bad"
    fi...
    See more | Go to post

    Leave a comment:


  • I used XAMPP that works fine just now.

    But before I tried tried to used the PHP & APACHE - .msi installer....
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to How to get a specific word in a file?
    Hi,


    Try this one assuming line 'MyTime:00:0450 Secs' is fix and only the numbers are varying,


    cut -c 8-14 file.txt

    FYI.

    -coax...
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to test with "$integer"
    ---------------------------------------
    Zero "0" is very sensitive in unix, so I thought about this while doing my script.:


    echo "input: \c"
    read a

    if
    [ $a = ' 6391800000706' ]
    then
    echo "6391800000 706"
    else
    echo "wrong"
    fi...
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to Problem using FTP in a unix shell script
    Hi,

    I'm not in the office right now. But remembering what i was doing in my terminal last night and following the instructions given from the page you had posted. I think I removed the option "-f" because it gives an error message.

    I just need to access the other servers just to interrogate some elements to have information and fetch in to my current server. Not exactly the 'ls -al' command....
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to Problem using FTP in a unix shell script
    Hi, this is what i got..
    ------------------------------------------------------------
    Host key not found from database.
    Key fingerprint:
    ximen-cohel-ganup-zacet-soseh-sycab-hekig-huzud-raron-hovet-raxox
    You can get a public key's fingerprint by running
    % ssh-keygen -F publickey.pub
    on the keyfile.
    Host key saved to /home/coax/.ssh2/hostkeys/key_22_10.120.1 38.11.pub
    host key for 10.120.138.11,...
    See more | Go to post

    Leave a comment:


  • coaxfiber
    replied to Problem using FTP in a unix shell script
    Hi,

    I'm currently login in unix not in Windows.
    I tried to use RSA/DSA , I followed the procedures on how to do it, but still not working.

    I have read some articles on the net and found this useful.:



    #!/bin/sh
    HOST='ftp.users .qwest.net'
    USER='yourid'
    PASSWD='yourpw'


    ftp -n $HOST <<END_SCRIPT
    quote USER $USER
    quote PASS...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...