Linux commans, computer programming, Programming Languages

Corrected Exercise #1:
1. Explain the following unexpected result:

why did you get the system date command instead of the script?

$ whereis date
date: /bin/date ...
$ echo $PATH
.:/usr/local/bin:/usr/bin:/bin
$ cat > date
echo "This is my own version of date."

$ date
Fri May 22 11:45:49 PDT 2009


*When the author runs the command cat > date assume that he is creating a NEW date file in the current working directory. That file does not exist before that command is run.
Posted Date: 2/29/2012 1:38:19 PM | Location : United States







Related Discussions:- Linux commans, computer programming, Assignment Help, Ask Question on Linux commans, computer programming, Get Answer, Expert's Help, Linux commans, computer programming Discussions

Write discussion on Linux commans, computer programming
Your posts are moderated
Related Questions
code for using tree view control and fill it with database


Define an Example of Switch Statement? estimate(number) int number; /* Estimate a number as none, one, two, several, many */ {       switch(number) { case 0 :

Each of the following two procedures defines a method for adding two positive integers in  terms of the procedures inc, which increments its argument by 1, and dec, which decrement

One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to  use for writing a Perl program tha

In this exercise you will develop a small 'Pop Game' in which the user will "pop" shapes that are drawn on the screen. The game will be time based, showing a shot clock at the top

Expertsmind brings you  unique  solution in java assignments Just in Time Compiler In processing, just-in-time system (JIT), also known as energetic interpretation, is a m

Write a program to mask bits D3D2D1D0 and to set bits D5D4 and to invert bits D7D6 of the AX register.

Assume that you are a college professor needing to average grades for 10 students. Write a program that asks for each student's name and grade. Print the list on-screen with each s

Create a linux shell (in other words, write a C/C++ program) that will recursively prompt for input from the user. The shell should prompt as yourRollNumber-currentDirector