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
Write a program that takes integer array of 8 elements from user and find the smallest element among them using pointers

Design and implement a stringed musical instrument class using the following guidelines: a. Data fields for your instrument should include number of strings, an array of stri

1 Problem Description The task of the assignment is to build a book recommendation system for Auer Libraries. The system is to be implemented in Prolog and as the owners of t

What is an algorithm? What are the characteristics of a good algorithm? An algorithm is defined as “a step-by-step procedure of accomplishing some task'''' An algorithm may be sh

1. Write a shell script to locate executable files. This script takes a list of file names from the command line and determines which would be executed had these names been given a

need someone to write a simple cobol program for me..urgent

how do I get my actor to spin

Implement the Prim's algorithm with array data structure as described in slide 12 of the file 04mst.ppt. Your program should have a runtime complexity of O(n2) and should be as eff

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 and test a simple perl program on the linux platform.  You may use any linux system you wish, including the Suse linux installed in the lab. Activities. Note:  to r