LinuxQuestions.org
Register a domain and help support LQ
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 11-11-2003, 10:16 AM   #1
Moses420ca
Member
 
Registered: Jul 2003
Distribution: Ubuntu
Posts: 142

Rep: Reputation: 15
A few simple questions regarding mandrake 9.1.


Hello. I do not run X. I don't have it installed so I need to do everything in the console. I'm running Mandrake 9.1 in the higher security mode for this server.

1) How would I clear the console history? Where is it saved?

2) How would I run a command during boot before login? I tried tailing the line "/usr/sbin/samba start" to the file "/etc/rc.local" (without the quotes) but it didn't work. That is the correct path to the shell script samba. I have another drake box that runs samba on boot and doesn't have anything about it in the "/etc/rc.local" file.

3) How would I change the owner and group of a directory or file? As far as I can understand chmod, I can just change the permissions of read, write and execute.

4) How would I change the hostname of this drake box? I've used drakeconnect in the past using X. It works in text mode but doesn't seem to change it from localhost. I still see "[root@localhost etc]#". From samba clients, I see two hosts, "localhost" and "server1". Funny thing, both work. I have "server1" as the netbios name in "/etc/smb.conf".

Thanks for any help with these hopefully simple questions.

Last edited by Moses420ca; 11-11-2003 at 10:19 AM.
 
Old 11-11-2003, 12:26 PM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
chown is the change owner command

as usual "man chown" gives usuage examples and options

can't help you with the rest i'm afraid
 
Old 11-11-2003, 03:31 PM   #3
Billy Bob 1981
Member
 
Registered: Nov 2003
Location: Born Kentucky, move alot
Distribution: MDK9.2
Posts: 33

Rep: Reputation: 15
hey moses, sorry i dont hae a fix for either 1,2,3, or 4. however, i have been reading your link to http://www.euronet.nl/users/frankvw/IhateMS.html . this has supplied me with hours of chuckles, and "ill be damneds." this is great newbie fuel (like myself) to keep us trying to learn the ways of the linux.

its not in the mailbox yet, but i have MDK 9.1 and 9.2 on the way (i ordered both because its cheap and refference of 9.2 not having a kernel included) just wanted to post that for any other newbie coming along;
to not give up hope young padwon, use the console you must (or so im told)
 
  


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
Simple Questions...Hopfully Simple Answers. caps_phisto Linux - General 3 12-21-2004 01:40 PM
simple questions yenonn Linux - General 4 08-06-2004 10:10 PM
2 simple questions roAder Slackware 8 07-10-2004 07:57 AM
simple questions... pabloromero Linux - Networking 2 11-29-2003 04:27 PM
Two simple questions! boku Linux - Newbie 6 08-12-2002 10:20 AM


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