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
We are need of a PrestaShop Expert We are getting a fresh design created for our Jewellery website. This job is in 2 parts 1. The website engine is PrestaShop as well as w

This case will lead to similar problem that we've had all other time we've run in double roots or double eigenvalues. We only find a single solution and will require a second solut

1-Create ir3.py based on ir2.py 2-Repeatedly prompt the user for a query (if they enter "q", then quit) 3-Find the terms in the query, and calculate the appropriate weight fo

showing work Ubuntu system or either opensuse

Define the Control statements in Computer Programming? The statements are part of the program that performs some action. The compiler will check a program sequentially from the

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Write a program that inputs two positive integers of, at most, 20 digits and outputs the sum of the numbers. If the sum of the numbers has more than 20 digits, output the sum with

Pseudo code the shows logic for a program that generates a random number, then ask the user to think of a number between 1 and 10

Hi I have an assignment for prolog languagle is it possible to get help

A deterministic finite automaton (DFA) is an abstract machine that reads input from a serial (nonreversible) stream and changes between a finite number of  states according to the