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
Given grammar Grammar M following: 1 - - > begin end 2 - - > 3 - - > 4 - - > ? 5 - - > Id : = ; 6 - - > read ( ) ; 7 - - > write ( )

A specification of a function TOARR is given below. function TOARR(n in Int, s in Stack of Int) return in Array of Int pre n ≥ 0. post The returned value is an array of size

Develop a socket program in UNIX/Linux that uses (i) TCP as the transport protocol and  (ii) UDP as the transport protocol for transferring  a short message between a client and  s

i want another php script like that one in assignment: EM201484 SA727PHP i want to parse out an urls form log file i will post attachments for a demo

Introduction A new online system for purchasing carsis being designed and you have been contracted to write a C# console application program that models the proposed functio

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

Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, char *t); retu

Below is an example of an invalid XHTML page. Your goal is to rewrite the code so that: No deprecated/obsolete tags are being used All elements are nested correctly (i.e

Silver light uses WPF to provide included web handles Microsoft Technologies Silverlight uses WPF to provide included web handles similar to Adobe Display, but with more focus on a

i(t)=(V/R) * (1-e^-(R/L)(t)) (a) Defi ne an anonymous function answerE that returns i(t) given input t. (b) The fi nal value for the current is 2 amps. Find a time tm when the curr