Click to See Complete Forum and Search --> : my linux problems, please help with what you know


Ludootje
11-07-2001, 12:13 PM
i have some problems now, and maybe you ppl could help me out..
i'm using Linux-Mandrake8.1


1. whats the cmd to rename a file?

2. whats the cmd to delete a file?

3. my lilo isn't working with an image, though it's set like that, what can i do?

4. can i install still rpm's from my LM8.0 cd's with the software manager? if yes, how?

5. how can i add icons on my windowmaker desktop?

6. where can i find interesting wm dock apps?

7. the cmd "login" never works, when i type "login" then "newuser" it asks me for a pass, when i type that pass, it says my pass is incorrect.. why? (i'm 100% sure my pass is right, i checked if the capslock was in the good position too, and i typed it tons of times..) it isn't working with any of the users
though, the "su" cmd is working

that's it (currently ;))

Ludootje

[ 07 November 2001: Message edited by: Ludootje ]

paulb
11-07-2001, 01:05 PM
>7. the cmd "login" never works, when i
>type "login" then "newuser" it asks me for
>a pass, when i type that pass, it says my
>pass is incorrect.. why? (i'm 100% sure my
>pass is right, i checked if the capslock
>was in the good position too, and i typed
>it tons of times..) it isn't working with
>any of the users
>though, the "su" cmd is working

Can you login as other users?
Are you in a terminal emulator? (Doh)

Ludootje
11-07-2001, 01:16 PM
Originally posted by paulb:
<STRONG>Can you login as other users?
Are you in a terminal emulator? (Doh)</STRONG>

it isn't working with any of the users
;)

i'm doing with "konsole"..

Ludootje
11-07-2001, 01:20 PM
another problem:

8. i can run nautilus under gnome&kde, though not under icewm&windowmaker, and i'm using icewm as my kde windowmanager, so now it isn't running under kde neither..
why can't it work?
under icewm: i can start it, it wont stop or something, though i can't type anything in it, and i can use any of those buttons..
under windowmaker: i can start it, though within 2 seconds it stops, the error given by my terminal is "segmentation error"
anyone knows why? is it just that nautilus isn't working under anything else but kde&gnome?
though someone in #icewm on irc.linux.com told me he could run nautilus under icewm

sym
11-07-2001, 01:37 PM
Originally posted by Ludootje:
<STRONG>
1. whats the cmd to rename a file?

mv &lt;old_file_name&gt; &lt;new_file_name&gt;

2. whats the cmd to delete a file?

rm &lt;file_name&gt;

</STRONG>

Ludootje
11-07-2001, 02:10 PM
Originally posted by sym:
<STRONG>Originally posted by Ludootje:

1. whats the cmd to rename a file?

mv &lt;old_file_name&gt; &lt;new_file_name&gt;

2. whats the cmd to delete a file?

rm &lt;file_name&gt;

</STRONG>
tnx for the "rm" cmd, though, "mv" isn't the cmd to rename a file, "mv" stand for move...
usage: "mv &lt;filename&gt; &lt;newdir&gt;"

bdg1983
11-07-2001, 02:36 PM
The mv command actually is how you rename a file in Linux.

mv test.txt text.bak

will rename test.text to text.bak in the same directory you can add full paths to also move to different directories.

mv test.text /usr/backup/test.bak

will copy the test.txt (in the current directory) to the /usr/backup/ directory and rename it to test.bak

Hope this helps

Willy

Ludootje
11-07-2001, 02:41 PM
Originally posted by Willy:
<STRONG>The mv command actually is how you rename a file in Linux.

mv test.txt text.bak

will rename test.text to text.bak in the same directory you can add full paths to also move to different directories.

mv test.text /usr/backup/test.bak

will copy the test.txt (in the current directory) to the /usr/backup/ directory and rename it to test.bak

Hope this helps

Willy</STRONG>

ok i understand, tnx
sorry sym

Ludootje
11-07-2001, 03:49 PM
and another question :rolleyes:

9. what's the cmd to make a dir? i thought it was "md" for make directory, though that isn't working :confused:

Choozo
11-07-2001, 03:52 PM
mkdir

Ludootje
11-07-2001, 04:04 PM
Originally posted by Choozo:
<STRONG>mkdir</STRONG>

THANKS!

Ludootje
11-07-2001, 04:06 PM
10. how can i move a dir instead of a file?

11. how can i move for example all the files in /home/ludo with the string *something.*

Ludootje
11-07-2001, 04:25 PM
11. is done, just mv *string* /dir

carlywarly
11-07-2001, 04:29 PM
4 - installing RPMs - open up Software manager - choose Define new source - put your 8.0 disks in ( one at a time ), and give them names such as 8.0disk1, 2, 3 etc. This does take some time, by the way.

When this is done, all apps from these disks will appear in your lists.

Alternative way - Open Kpackage, go to Cdrom with 8.0 packages on, open any up, Kpackage will intall it if no conflicts or dependency problems.

Good luck. ( I gave up with 8.1 and returned to 8.0, by the way ).

Ludootje
11-07-2001, 04:37 PM
ok tnx!
may i ask why you went back to 8.0? personally, i prefer 8.0 too, but i don't wanna go downgrading etc :/

bdg1983
11-07-2001, 05:33 PM
Some reading for you.

The Basic Shell Command NHF (http://www.linuxnewbie.org/nhf/intel/shells/basic.html)

Vagrant
11-07-2001, 05:53 PM
another good site would be
http://www.linuxcommand.org good luck ..

-neural

phazeman
11-08-2001, 12:06 PM
What do you mean in question 3 ?

Ludootje
11-08-2001, 03:37 PM
Originally posted by phazeman:
<STRONG>What do you mean in question 3 ?</STRONG>

i have windows&mandrake, i'm using lilo to boot, and my lilo is configured to show me a pic when i boot up, which will give me the choice between booting linux, windows, floppy & failsafe
although it's set for showing an image, i have to type what i'd like to load
i checked it tons of times, but it's just not working :(

Ludootje
11-09-2001, 12:49 PM
Originally posted by Vagrant:
<STRONG>another good site would be
http://www.linuxcommand.org good luck ..

-neural</STRONG>

tnx, that site helped a lot

paulb
11-09-2001, 12:54 PM
Originally posted by Ludootje:
<STRONG>
;)

i'm doing with "konsole"..</STRONG>

I dont think you can logout in Konsole. When in KDE, Gnome ect. you just click logout. Why do you want to do this?

Ludootje
11-12-2001, 04:27 PM
tnx to everyone who posted here, my list is a lot smaller now :)
not (yet) explained problems:

3. my lilo
5. how can i add icons to my windowmaker desktop
7. the "login" cmd - this is (one of) the most important problems
8. my nautilus isn't working under kde with icewm as my wm (see top of the page for the complete problem)
10. how can i move a dir instead of a file
11. what's the difference between *.src.rpm & *.i386.rpm? i'll give a recent example: i download powershell (http://powershell.sourceforge.net) in rpm, one powershell.src.rpm, and one powershell.i386.rpm. When i do (as root) "rpm -Uvh powerhell.i386.rpm", it fails. So i type (still as root) "rpm -Uvh powershell.src.rpm", which works. Though, when i type "powershell &" to start it, it doesn't found the cmd.. i have this with a lot of rpms, please help me if you can

Ludootje

Linuxcool
11-13-2001, 06:17 AM
10. how can i move a dir instead of a file

You use the mv command. Let's say you have a directory named /foo and you want to move it into the /usr directory. You would use the command mv /foo /usr and the directory and its contents would be moved into the /usr directory.


11. what's the difference between *.src.rpm & *.i386.rpm? i'll give a recent example: i download powershell in rpm, one powershell.src.rpm, and one powershell.i386.rpm. When i do (as root) "rpm -Uvh powerhell.i386.rpm", it fails. So i type (still as root) "rpm -Uvh powershell.src.rpm", which works. Though, when i type "powershell &" to start it, it doesn't found the cmd.. i have this with a lot of rpms, please help me if you can

*.src.rpm rpm's contain source code and have to be compiled to work. *.i386.rpm contain binary files and don't have to be compiled to run.

Ludootje
11-14-2001, 09:01 AM
when i have installed thosse *.src.rpm, where are the files i should compile? in which dir? also, what could be the reason that *.i386.rpm can't be installed?

Ludootje
11-19-2001, 02:33 PM
anyone please.. :(