Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Execution in bash and csh


    Hi
    I have a very simple program (Hello World) writen in C, and after compilig with "gcc" and executing in bash, gives me an error:

    home/me# . ./hello
    bash: ELF: command not found

    As I execute the program in "csh" .... :
    home/me# csh ./hello
    ^^^F44^^D^H4^^D^H^E^D^C^T^A^T^^D^H^T^^D^H^S^ S^D^A: command not found

    Can me help anybody? ... Sorry for my english

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    Don't do . ./hello, just do ./hello.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  3. #3

    Thanks .... now that work

    -->
    Hi

    But, Why the difference? ...

    A lot of thanks

$spacer_open
$spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •