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
W.A.S.S to display all the files in a specified directory in the following format: File  size in K        Date   Protection    Owner Program echo -e "Enter dir : \c" read di

Write a pseudocode for a program that reads a temperature as a whole number from a user and outputs a “probable” season (winter, sprint, summer, or fall) depending on the temperatu

In this project, we have measured and compared the performance given by RTLinux, which is real time system with non-real time Linux operating system. Also, we have measured the

Introduction A search engine (like Google) has three main components: a crawler that finds and stores copies of files on the web, an indexer that creates a data structure that

Pre-order integration on Shopify store We are looking for on-call developers who can integrate Celery on client Shopify stores. Requirements a) Contented editing Shopify them

Write 3 somewhat simple scripts / programs in any language, combination of languages, and/or software. Please tell me the task you are trying to accomplish in the scripts. Idea

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

Computers and Programming Concept 1. Classify computer systems according to capacity. How they are different from computers according to the classification of technology. Provi

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

Example problem Imagine that  you  require  to create  a robot  that  will  roll up  close to a light  lamp  and  stop  a fixed distance from it.  The first question is, how w