LinuxQuestions.org
Review your favorite Linux distribution.
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 05-12-2011, 12:59 AM   #16
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Original Poster
Rep: Reputation: 12

Quote:
Originally Posted by chrism01 View Post
Please add your distro to your profile for more accurate help
can you show me the command to be sure of what distro i'm using?
normally it is RHEL 4, but somebody showed me a command and appearently i have CentOS... so i'm not sure anymore..
 
Old 05-12-2011, 01:03 AM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,406

Rep: Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396
Code:
cat /etc/*release*

uname -a
The first is more appropriate here; the 2nd is really the kernel version
 
Old 05-12-2011, 01:17 AM   #18
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Original Poster
Rep: Reputation: 12
Code:
# cat /etc/*release*
CentOS release 5.5 (Final)
Code:
# uname -a
Linux host 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686 i686 i386 GNU/Linux
so i geuss i have a CentOS
 
Old 05-12-2011, 06:14 AM   #19
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Original Poster
Rep: Reputation: 12
once more

can someone show me how i can easily check my mounts?
should i use mount or showmount or .........
 
Old 05-12-2011, 01:27 PM   #20
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by brownie_cookie View Post
once more

can someone show me how i can easily check my mounts?
should i use mount or showmount or .........
Do you have a problem with the solution suggested in this post?
 
Old 05-13-2011, 12:53 AM   #21
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Original Poster
Rep: Reputation: 12
so you mean this
Code:
df --type=NFS
so, then i'm sure that the result of this command will show ONLY the NFS mounts?

(just to be sure)
 
Old 05-13-2011, 12:58 AM   #22
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by brownie_cookie View Post
so, then i'm sure that the result of this command will show ONLY the NFS mounts?

(just to be sure)
From the df man page:
Code:
       -t, --type=TYPE
              limit listing to file systems of type TYPE
 
Old 05-13-2011, 01:24 AM   #23
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Original Poster
Rep: Reputation: 12
so i geuss you mean i can be sure ...
 
Old 05-13-2011, 01:46 AM   #24
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by brownie_cookie View Post
so i geuss you mean i can be sure ...
Trust no one. The truth is out there.
 
1 members found this post helpful.
Old 05-13-2011, 02:02 AM   #25
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Original Poster
Rep: Reputation: 12
hahahaha +1
 
  


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
showmount strange behaviour manyrootsofallevil Red Hat 2 12-12-2010 04:02 AM
I am unable to use showmount ram_rajavarapu Linux - Enterprise 3 09-25-2009 10:20 AM
showmount -e : everyone vs. asterisk tibbitts Linux - Networking 1 06-12-2008 02:34 PM
(ftp server) showmount error greeeeb Slackware 2 09-18-2007 06:10 AM
no showmount vvuiverine Linux - Networking 1 03-28-2004 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11: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