Forum Moderators: bakedjake

Message Too Old, No Replies

Windows User Testing Mandrake Linux

New to linux needing help.

         

XtendScott

5:20 pm on Dec 30, 2003 (gmt 0)

10+ Year Member



OK, I am trying to learn linux and am currently testing Mandrake 9.2 Download Edition.

The installation went pretty smooth and is running fine and connecting to internet through my small network.

1. How do I shut system down properly? (newbie question)

2. How can I see/access the computer for File Sharing? I believe the SMB? was installed for file sharing on a MS network.

3. Internet server service is on. How can I get to it over the network. (wanting to serve php/mysql)

I went through the setup for installing as a Server(secure as recomended I believe) with a couple application options. Any help or assistance in the right direction is appreciated.

Scott

XtendScott

7:34 pm on Dec 30, 2003 (gmt 0)

10+ Year Member



OK, I found that the "internet" service was on but not "httpd" which is the Apache Web Service. It is now on and accessible via ip address.

What is the Default Web Directory? And Still how do I shut down properly?

thanks.

bofe

4:19 am on Dec 31, 2003 (gmt 0)

10+ Year Member



Are you talking about a reboot?
A system Halt? What kind of shutdown?

Here's a brief intro to the shutdown command in linux.
[slencyclopedia.berlios.de...]

XtendScott

5:06 am on Dec 31, 2003 (gmt 0)

10+ Year Member



Thanks Bofe,

I can now shutdown.

How can I get the Run Command on my task bar or menu.

Can you recommend any Learn Linux Command line in 24hr books?

kenta

12:55 pm on Dec 31, 2003 (gmt 0)

10+ Year Member



Can you recommend any Learn Linux Command line in 24hr books?

I think that if you just google it you can find a list of basic commands you'd use on a regular basis. In fact reading the "man" pages for each command is probably enough.

Here are some common things:

man Gives you the Man(ual) for the command. Example "man ls" will give you the syntax for using the "ls" command. You'll see the documentation on the flags you can use with the command and other commands related to this command. When i

ls Like "dir" in DOS. Shows the list of files in the directory. Also try "ls -al" for a different format.

cd Like "cd" in DOS.

ps Lists the processes on the machine. It's like looking at the Task manager in Windows, but text based. It will give you the pid # (process ID #) so you can shutdown a program

kill Used to ask, or force programs to shutdown. There are various flags ie "kill -9 12345" where 12345 is the pid of the programing behaving poorly. It says "Hey 12345 DIE NOW."

cat I tend to use it like DOS's "type" command. Prints out file, but you can use it to concatenate files together.

grep Grep is your friend, it helps you filter things. Important thing to note is that you can use a pipe "¦" to string commands together. Example: "ps" returns a list of processes, but you're looking for one called "mozilla" try "ps¦grep mozilla". This will take the output of "ps" and then look for mozilla and return just those results. "man" the grep command to get other useful flags like -i to ignore case, or -v to filter out.

su Switches user. Say you need to be root to modify a file, type "su" and it prompt for password for root. After entering password, you'll be acting as root. Say you need to be another use "su john", after typing John's password, you're now under his account.

chown Changes the ownership of a file.

chmod changes the permissions of a file. If you're not familar with *nix style permissions google/man it.

cp copies a file "cp file1 file2"

mv moves a file ie: "mv /home/joeblow/file.txt /home/joeblow/archive/file.txt"

rm Like Windows "del".

df Shows disk space info.

Those are most of the command I use on a regular basis. There are a bunch of other things you can do... but I'd say just start with those... Good luck :)