LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2006, 02:19 PM   #1
Wizzy
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
What is command line expansion?


It's a question on something I'm working on for my Linux Class. Problem is, I can't seem to find any help on this whatever online or in my book.

We have four options to pick which is command line expanion. However, I can't seem to figure it out.

a. echo Your file was processed on ‘date +%m/%d/%y’
b. echo Your file has been processed
c. echo \;
d. cp file /tmp


Could someone tell me the correct choice, and WHY? I'd like to know what command line expansion means. I'm quite surprised I can't find this anywhere.

ps -> this isn't cheating. It's a take home for a reason. He said to use any resources we want. As I've mentioned, I've looked around quite a bit, but I can't figure it out. Hopefully someone here might be able to clue me in.
 
Old 03-22-2006, 02:33 PM   #2
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
I found it here.

http://www.phptr.com/articles/articl...&seqNum=9&rl=1
 
Old 03-22-2006, 02:50 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Do you perhaps mean "shell expansion"?
Here is the first hit in a Google search using "shell expansion":

http://www.tldp.org/LDP/Bash-Beginne...ect_03_04.html

This doc, BTW, is one of the best begineers books I have seen....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
bash shell command line expansion hansi umayangan Linux - General 2 03-13-2005 12:31 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 02:28 PM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 01:24 AM


All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration