LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2005, 07:49 AM   #1
shinwai
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
Unhappy what do these linux commands means?


1. whereis ls
Is it a command where it list out the Location of a binary, source, and manual page files for a command?
2. cat .bashrc
is it mean it read the .bashrc contents?

Thanks~
 
Old 08-31-2005, 07:53 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Re: what do these linux commands means?

Quote:
Originally posted by shinwai
1. whereis ls
Is it a command where it list out the Location of a binary, source, and manual page files for a command?
Yes. In your case, you're asking it to locate those for the command "ls".

Quote:
2. cat .bashrc
is it mean it read the .bashrc contents?

Thanks~
Yep (well, the man page says, "concatenate files and print to standard output" or something similar). You could of course have tried them out for yourself to see..
 
Old 08-31-2005, 08:46 AM   #3
shinwai
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Well, how to display August 2005 calendar?
wat's the code?
is it ~/calendar.August2005?
 
Old 08-31-2005, 09:06 AM   #4
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
well...

you could cat this file
'cat kalenderfilename'

but you could also do

'less kalenderfilename'

(for ascii files only)


if you want to execute it:

./kalenderfilename

(this only works for scripts or binary files)

Last edited by teebones; 08-31-2005 at 09:17 AM.
 
Old 08-31-2005, 09:18 AM   #5
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Quote:
Originally posted by shinwai
Well, how to display August 2005 calendar?
wat's the code?
is it ~/calendar.August2005?
Only if you have a script or binary in your home directory that displays the Aug 2005 calendar

These sound suspiciously like home work questions and you'll not learn much by having people look up the answers for you. One thing I will tell you is the command man prints a manual page for the command you supply, so if you type `man man` you will find out how to use the man command then you can type `man whereis` to learn what the whereis command does
 
Old 08-31-2005, 02:02 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
And that's all folks.
Quote:
From the Rules
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
.

Go here for more info on commands. This thread is closed.
 
Old 08-31-2005, 08:24 PM   #7
shinwai
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
It is not a homework but you people keep on saying that's homework...sweat...asking a question also cannot?
 
Old 09-01-2005, 06:25 AM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You posted a thread which just had a list of questions. That usually signifies that someone is asking for help on a home/classwork assignment. If you had expanded on your questions and told us what you need them for, you won't be accused of asking us to do your work.

Leaving thread open to see what transpires.......
 
Old 09-01-2005, 06:51 AM   #9
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
They are basic commands that can be easily read up upon. You could easily just type them in your terminal and see what happens and if you are worried about damaging your system then use `man` to find out information about the commands
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Linux by means of ftp? netjack Linux - General 3 12-08-2004 02:56 AM
linux commands help kyborg Linux - Newbie 4 09-28-2004 01:31 AM
Linux commands... hkxx9 Linux - Newbie 2 09-15-2004 08:49 AM
linux commands kamotekid Linux - Newbie 3 07-07-2002 11:11 AM
linux commands kamotekid Linux - General 2 06-24-2002 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:10 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
Open Source Consulting | Domain Registration