PDA

View Full Version : commmands.....


Betty
08-21-01, 04:27 AM
does anybody have a link to any kind of list of commands for linux?
I'm using mandrake 8.

a_yeap
08-21-01, 07:00 AM
I second that!...oh yeah!...I need major help...can't understand a thing in Linux...

I guess I'm just a Linux-geek wannabe...sob

ps...can anybody spare some time to teach me how to install OpenOffice...in extreme newbie detail...I have this file:
install633_linux_intel.tar.gz

thanks
Alvin

SpeeDj
08-21-01, 07:20 AM
www.linuxnewbie.org I believe is a great place to start for some newbie like tips on how to use and work with Linux =)

Check that out, I will post some more stuff after work today. Should be able to help some more with some other stuff =)

J

David
08-21-01, 07:36 AM
ok. You have a tar.gz file.

login as root. make a directory like /tmp/openoffice by typing:

mkdir /tmp/openoffice

Then goto it:

cd /tmp/openoffice

type:

gunzip *

to unzip it, and then type: (<the package> being the name of the package)

tar -xvf <the package>.tar

cd to the dirctory that has been made and type:

./configure && make && make install

This SHOULD work - I have never used openoffice.


Linux Commands

cd <directory>
change to the directory

pwd
what directory am I in?

exit
loogout current user

mount /dev/Device /directory
mount a disk - hda, hdb, hdc and hdd are primary Ide master, primary ide slave, ... fd0 is the 1st floppy disk etc.. and sd* is the scsi disk *. Mounts the specified device to the specified directory (for CDs this is usually /cdrom or /mnt/cdrom)

umount /dev/ device
opposite of mount. **this is UMOUNT not UNMOUNT**

init 0
shutdown

init 6
reboot

mv <files> <destination>
guess what this does (yep, moves stuff) use mv -r for directories

cp <files> <dest>
copies files. use cp -r <files> <dest> for directories


These are the basics, it would take ages to explain them all. If you have it on your suystem 'fortune' is funny (type: fortune at the command prompt)

Betty
08-21-01, 04:21 PM
Thanks penguinfreak & SpeedJ. :)

PolyPill
08-21-01, 06:45 PM
Also, by hitting the tab key once it'll finish your commands & files, and hitting it twice will list all commands/files that start with what you have entered already.

a_yeap
08-21-01, 08:15 PM
Thanks Peguinfreak...I'm sure that'll help a lot...I'll try that as soon as I get back home...

And those commands will be really helpful...

I'll post again when I get it working, or if it doesn't work...I need OpenOffice because KWord can't save documents as .doc files and can't open MSOffice files...Plus OpenOffice will have more features, hopefully...

You said that you don't use OpenOffice, Penguinfreak...if not, then which office suite do you use...

ken257
08-21-01, 08:41 PM
If you need to open MS Office files give Staroffice a shot or if you want a commercial grade app there is always Corel Office

PolyPill
08-21-01, 08:50 PM
If you can get wine set up http://www.winehq.com you can just run MS Office. It works fine for me. I find Open Office and Star Office lacking. They're based on the same source code, Star is maintained by Sun Microsystem and Open is an Open group. Also Star Office loads everything at once while Open Office only loads the word proccessor when you need.

There's also Corel Word Perfect, but I dislike this, it's the exact same as the windows version because it was compiled with winelib

ken257
08-21-01, 09:01 PM
In many of the new distros wine is installed along with the OS. In a dualboot configuration most times you can just use wine to run your apps without doing any setup (works with no additional setup for me in SuSE). I haven't tried to run MS Office using wine I guess I just didn't think it would be compatible because wine doesn't run all windows apps.

What ver of Office did you get runing under wine? I suspect something like Office 98 could work but probably not the newer 200 or XP versions. I will have to go check out the latest dirt on wine. http://www.winehq.com/

David
08-22-01, 07:42 AM
My staroffice 5.2 install is broke, Abiword is a bit incomplete and Applixware office costs money. I dont' really use WP in Linux, any suggestiopns for a good, FREE, working office suite?

minoukat
08-24-01, 01:33 AM
Originally posted by PolyPill
If you can get wine set up http://www.winehq.com you can just run MS Office. It works fine for me. I find Open Office and Star Office lacking. They're based on the same source code, Star is maintained by Sun Microsystem and Open is an Open group. Also Star Office loads everything at once while Open Office only loads the word proccessor when you need.

There's also Corel Word Perfect, but I dislike this, it's the exact same as the windows version because it was compiled with winelib

I have Corel Linux 2nd Edition, and I can't get Wine setup. I always get an error message when trying to install !

David
08-24-01, 04:58 AM
If installing the RPMS you can get rid of all error messages by doing:

rpm -Uvh <winepackage>.rpm --force --nodeps

This will install the software regardless of errors but may cause probs later.

WINE wont work with MS Office for me. It won't let me save anyting!

PolyPill
08-24-01, 01:32 PM
I'm using the development version of Debian (sid) so all my software is the latest and many times unstable. I have office 97 running, well actually just word. Once wine is installed you have to configure the /etc/wine.conf file for your system. I also have my own little fake windows 98 setup that wine uses. I have a dir that contains a lot of the dlls and stuff that windows needs to run, but it's not a complete windows install.

David
08-27-01, 07:38 AM
check out www.codeweavers.com for a special, improved version of wine (but bigger to dl)

mcrites
09-01-01, 02:16 AM
I have a site called Exxtreme Linux : http://www.exxtreme-linux.org. Currently it is down, but hopefully I will have it up in the next hour, I am leaving work soon :)

David
09-01-01, 01:55 PM
also if you want to know what a command does type:

man <commandname>

*or*

info <commandname>

*or*

whatis <commandname>

*or*

<commandname> --help

Remember two dashes.

PhoenixMDM
09-01-01, 02:45 PM
I got one incredibly stupid question, but i can't seem to find the answer. What command do you enter BEFORE a filename in order to start it? like <commandname> [filename].

any help?

~Phoenix

sfa ok
09-01-01, 03:10 PM
If you're in the directory containing the executable, you type
./filename

This tells Linux to look in the working directory for the executable.

PhoenixMDM
09-01-01, 03:31 PM
ahhhh... i'll try that once i can get at my linux comp, thanks.:p

David
09-03-01, 02:36 AM
It is ./filename because:

If, for example a user created a shell script in /tmp called 'ls' and it erased the root pasword. The root user could go to /tmp and type ls to view the directory and the shell script would be executed and would remove the root password. With the current system the root user would have to type ./ls


*note*

../ refers to the directory above
./ refers to the current dir.