I followed the steps given and now I'm stuck with a bit of a problem. I created my C file (Hello. World. c) and used the command gcc - o Hello. World Hello. World. Afterwards I checked to make sure that Hello. World had been created by using the command ls, and it had been. However, when I use the command Hello. World, which is supposed to run the program, I get an error that says Hello. World: command not found. In the video lecture the professor did mention that this worked for 3. I'm using a 6. 4- bit system. Perhaps this could be the problem? EDIT: Also in the video lecture the professor mentioned that when I use the command ls I should see Hello. World*. I see only Hello. World (without the star). UNIX Shell Scripting Ken. After a long time to search a solution, I have to ask your precious help. I work on a program which implement 'ls' unix command in C. I'd have only name of the file and his size. Project 2a: The Unix Shell Objectives. When a command 'ls -la /tmp' runs, the ls program prints its output to the screen. Introduction to C Shell Programming., 0 is assumed. The return code of a C program is set by the exit. This works because each UNIX command is started in its. I watched a video lecture today that introduced C and things like how to make a C program that. Unix & Linux Stack Exchange. Also in the video lecture the professor mentioned that when I use the command ls I should.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2016
Categories |