LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2003, 11:37 AM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
echoe back "linux"


There is a command that will echo back the result "linux" and thats all it says if you typ it.

Anyone know of the command I'm speaking of?

I need to know.
tHANKS
 
Old 08-01-2003, 12:06 PM   #2
MacKtheHacK
Member
 
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
Do you perhaps mean the "uname" command? By default, it writes
the name of the operating system to the standard output.
 
Old 08-01-2003, 12:08 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
echo

*g*

'echo linux' will echo 'linux'.

So if you had a, um, script containing that line called 'foo', every time you typed 'foo' bash would spit back 'linux'.

Then there's also 'uname' - that'll do it too.
 
  


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
How do you run "xorg.conf.back" file? in Toshiba laptop hajime_saitou0 Linux - Laptop and Netbook 1 09-14-2005 10:03 PM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 09:19 PM
"I have a4 tech 5 button mouse but can't use the two for back&forward in browsing " aicholate Linux - Hardware 1 02-26-2004 12:16 PM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 12:53 PM
please bring back "linux>programming"! kervin LQ Suggestions & Feedback 9 07-13-2002 08:46 PM


All times are GMT -5. The time now is 11:15 AM.

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