Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Question about command, post all here

views
     
TSevilguy
post Mar 1 2005, 05:11 PM, updated 21y ago

Enthusiast
*****
Senior Member
871 posts

Joined: Dec 2004
Hye... how about we post commands that we unsure how its work here. maybe someone can help. for a newbie like me i think it will help a lot course i'm still learning the commands in linux. so i would like to ask this. i found this in mtab.

automount(pid1868) /mnt/auto/autofs autofs rw,fd=4,pgrp=1868,minproto=2,maxproto=4 0 0

what does it mean?
debiankl
post Mar 1 2005, 05:55 PM

On my way
Group Icon
Elite
577 posts

Joined: Dec 2004
From: Inside the CPU core stack register SP


QUOTE(evilguy @ Mar 1 2005, 05:11 PM)
Hye... how about we post commands that we unsure how its work here. maybe someone can help.  for a newbie like me i think it will help a lot course i'm still learning the commands in linux. so i would like to ask this. i found this in mtab.

automount(pid1868) /mnt/auto/autofs autofs rw,fd=4,pgrp=1868,minproto=2,maxproto=4 0 0

what does it mean?
*
BTW u did not defined clearly what command. There are linux commands and non linux command like automount.

For more info about automount, which allow Linux to automaticall mount devices just lilke MS.

Howto Automount

Auto mount file system

This post has been edited by debiankl: Mar 1 2005, 05:58 PM
stockish
post Mar 9 2005, 10:10 PM

Getting Started
**
Junior Member
206 posts

Joined: Jan 2003



[guess@localhost wineX]$ rpm -ivh winex3.3.1-1.i686.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[guess@localhost wineX]$


sigh....i was trying to install wineX but after few hours trying i still failed to install the software....can anybody help me with this?? and this is the 1st software i try to install (super duper noob)....mmmm...for your info im a 7 hours old in linux...pls help me...

This post has been edited by stockish: Mar 9 2005, 10:12 PM
cyam95
post Mar 9 2005, 10:35 PM

New Member
*
Junior Member
15 posts

Joined: Jan 2003
Package cannot be install using normal user. Login or su to root and run the command again

This post has been edited by cyam95: Mar 9 2005, 10:36 PM
stockish
post Mar 9 2005, 10:38 PM

Getting Started
**
Junior Member
206 posts

Joined: Jan 2003



QUOTE(cyam95 @ Mar 9 2005, 10:35 PM)
Package cannot be install using normal user. Login or su to  root and run the command again
*
hmm...i was thinking of that also...but how to login as root??sorry if this a silly question...not say that i dun go tru any tutorial but cant find abt how to login as root ...pls help...tq...btw im using fedora core1

This post has been edited by stockish: Mar 9 2005, 10:44 PM
kons
post Mar 9 2005, 11:09 PM

Конс
Group Icon
Moderator
6,181 posts

Joined: Oct 2004



type "su"
and it will prompt you for root password..
kaixiang
post Mar 9 2005, 11:11 PM

No Pain, No Gain
*****
Senior Member
741 posts

Joined: Jan 2003
From: LowYat.NeT



using su -l command
or login with root user
stockish
post Mar 10 2005, 11:02 AM

Getting Started
**
Junior Member
206 posts

Joined: Jan 2003



ok done....errrmmm....ok here is my 2nd problem....i have 2 boxes running in my house...1 linux and 1 winXP......if i want to transfer files frm XP(ntfs) to linux(like copy & paste)...can this possible to be done??and for example ....i want to copy 1G of warcraft3...and paste it on linux and after that ....just straight away play the w3....because i did this when i was using WinXP...but can it works on linux???....i already hv my wineX installed....ohhya....how to transfer files trough LAN ...i mean is there like My Network Places?? ....tq ... biggrin.gif blush.gif doh.gif
jlchannel
post Mar 10 2005, 11:13 AM

Getting Started
**
Junior Member
290 posts

Joined: Jan 2003
samba

kons
post Mar 10 2005, 11:20 AM

Конс
Group Icon
Moderator
6,181 posts

Joined: Oct 2004



share the WC3 folder in windows..

then in linux..
smbmount //machine/share /mnt/mountpoint -o
username=$username,password=$password

We use smbmount to mount the network share into mountpoint and when you access the mountpoint, all the files on the shared folder will be visible.

Cheers.

This post has been edited by kons: Mar 10 2005, 11:26 AM
stockish
post Mar 10 2005, 02:56 PM

Getting Started
**
Junior Member
206 posts

Joined: Jan 2003



smbmount //machine/share /mnt/mountpoint -o
username=$username,password=$password


...mmm ok...but "username=$username,password=$password" ....run this command in su mode??and abt the username&password ...do i hv to enter as root or guess?? or it just a command??...do you get wat i mean??

This post has been edited by stockish: Mar 10 2005, 02:56 PM
kons
post Mar 10 2005, 03:11 PM

Конс
Group Icon
Moderator
6,181 posts

Joined: Oct 2004



If the share folder on the windows machine need a username and password to access it, for eg, the username is abc and password is 123, then we put the command like this

smbmount //machine/share /mnt/mountpoint -o username=abc,password=123

We need to run it as root, I believe.
su yourself first.
I hope it helps.


Cheers.
garytey
post Mar 10 2005, 11:36 PM

Enthusiast
*****
Senior Member
948 posts

Joined: Jan 2003


QUOTE(stockish @ Mar 10 2005, 11:02 AM)
ok done....errrmmm....ok here is my 2nd problem....i have 2 boxes running in my house...1 linux and 1 winXP......if i want to transfer files frm XP(ntfs) to linux(like copy & paste)...can this possible to be done??and for example ....i want to copy 1G of warcraft3...and paste it on linux and after that ....just straight away play the w3....because i did this when i was using WinXP...but can it works on linux???....i already hv my wineX installed....ohhya....how to transfer files trough LAN ...i mean is there like My Network Places?? ....tq ... biggrin.gif  blush.gif  doh.gif
*
first of all .. for better understanding of samba, i would advice u to install webmin 1st, normally just use command "service smb start" then ur samba will start? or make sure ur samba start automatically at boot up , use command "ntsysv" just check samba then ur samba will boot up automatically next restart. after ur samba start, use webmin to configure it to be the way u want, it is all about user,file and permission over samba. pls google the web to search more info about samba and to understand smb.conf
stockish
post Mar 11 2005, 07:55 PM

Getting Started
**
Junior Member
206 posts

Joined: Jan 2003



QUOTE(garytey @ Mar 10 2005, 11:36 PM)
first of all .. for better understanding of samba, i would advice u to install webmin 1st, normally just use command "service smb start" then ur samba will start? or make sure ur samba start automatically at boot up , use command "ntsysv" just check samba then ur samba will boot up automatically next restart. after ur samba start, use webmin to configure it to be the way u want, it is all about user,file and permission over samba. pls google the web to search more info about samba and to understand smb.conf
*
waaa....good info dude...thank you so much....but now...i need to install samba first but i cant find my linux cd.....sigh.......ill get back to u all after i install samba...thanks again... thumbup.gif thumbup.gif

This post has been edited by stockish: Mar 11 2005, 07:55 PM

 

Change to:
| Lo-Fi Version
0.0175sec    0.54    5 queries    GZIP Disabled
Time is now: 24th December 2025 - 09:05 PM