Re: [newbie] Command-line updates
On Saturday 02 April 2005 06:11 pm, David Anderson wrote: I know how to update software using the Control Centre and Software update, but how would I go about doing this from the command-line? ___ ~ maybe, there are lots of ways . . . you could download an rpm then, say, move the rpm to /tmp next, as root :- rpm -Uvh file_name.rpm best rgds Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Fwd: Re: [newbie] Command-line updates
-- Forwarded Message -- Subject: Re: [newbie] Command-line updates Date: Sunday 03 Apr 2005 06:52 From: riccardo [EMAIL PROTECTED] To: newbie@linux-mandrake.com On Saturday 02 April 2005 06:11 pm, David Anderson wrote: I know how to update software using the Control Centre and Software update, but how would I go about doing this from the command-line? ___ ~ maybe, there are lots of ways . . . you could download an rpm then, say, move the rpm to /tmp next, as root :- rpm -Uvh file_name.rpm best rgds A wonderful tip given to me from Anne on this list. Go here: http://mandrake.vmlinuz.ca/bin/view/Main/UsingUrpmi and also go to this site: eslrahc.com, find the page for your version, and paste the command in. You also need his signature obtained by: rpm -import http://www.eslrahc.com/10.1CAE.asc (for version 10.1). Rosemary --- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] command line disappears in konsole
On March 21, 2005 02:02, Rosemary McGillicuddy wrote: Every now and then this has happened. I open konsole and there is no [EMAIL PROTECTED], I reboot when this happens and usual appearance returns. Am I inadvertently doing something to cause this? Thanks Rosemary Just a guess, but it sounds like something in the startup script(s) is causing bash to hang (I'm assuming you're using the default bash, not some other shell). When you start konsole, it starts bash to process your commands. If you have a .bashrc file in your home directory, this gets run to initialize the shell. The default .bashrc invokes /etc/bashrc, and if you don't have a .bashrc then /etc/bashrc also gets invoked. /etc/bashrc does some initialization of its own and also invokes all the scripts in /etc/profile.d. So there's quite a bit of initialization that normally gets done every time you start a konsole. (I could have some details of the initialization incorrect or incomplete; someone more knowledgeable about it can correct me). Something in there could cause a hang, which would cause the bash prompt to never show up in the konsole. Figuring it out might require some detective work. You could try doing a ctrl-esc to see what processes are running. You might be able to see what process it's hung on. You could also try (as root) going into MCC - System - Users and Groups, double-clicking yourself, and then you can make changes to your shell setting. You could try adding a -v (without the quotes of course) to set verbose mode - this might tell you what's going on while bash is initializing. Or adding --norc --noprofile should prevent any initialization from being done, which should stop the hanging if this is the cause. I don't know if these changes will take effect until you logout and login again, though, so I'm not sure if this will help when you're experiencing the hang (and not having initializations may limit the usefulness of the shell). I've never experienced this in Linux, so I'm just guessing. May not be applicable, but I used to work on a Solaris Unix system that had path entries that were on remote mounted drives (via NFS). If there was some problem mounting the drive, the shell wasn't smart enough to detect that the drive was unavailable, it would just hang forever trying to access the drive. A ctrl-C would interrupt the initialization and allow you to get a shell, though with some of the initialization not done. But there were various bits of Solaris brain-damage that Linux doesn't seem to suffer from, so I don't know if something similar could occur. HTH -- Ron ronhd at users dot sourceforge dot net Opinions expressed here are all mine. As you know, necessity is the mother of invention. I don't know who the father is. Remorse, I guess. - Red Green Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] command line tool for updates
Phil Savoie wrote: Hi All, After receiving a notice of patches from mondrakeonline, is there a commandline tool to remotely get and install these patches? Thank for your time, Phil Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com As root in a konsole run this: urpmi.update -a urpmi --noclean --wget --auto-select You must have updates as a source installed from easyurpmi.zarb.org as well as others. Marek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] command line tool for updates
On Wed, 08 Dec 2004 02:52:46 +0200 Marek Pawinski disseminated the following: As root in a konsole run this: urpmi.update -a urpmi --noclean --wget --auto-select You must have updates as a source installed from easyurpmi.zarb.org as well as others. Keeping in mind that will install *all* newer versions of installed packages, something someone may not want to do. If the only purpose is to update packages for which there has been an advisory (bugfixes, security), it should be: urpmi --update --wget --auto-select ...so that only 'update' sources are selected. -- JoeHill / RLU #282046 / www.freeyourmachine.org 21:10:34 up 16 days, 12:21, 7 users, load average: 1.29, 1.23, 1.20 +++ Permit me to issue and control the money of a nation, and I care not who makes its laws. -- Amschel Mayer Rothschild, banker Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Command Line Print?
Tell us what exactly you'd like to print, and we'll tell you how. Miark Andre Stevens [EMAIL PROTECTED] saith: Other than echo is there a command similar to print in Linux? Or is this an issue with my Linux installation? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command Line Print?
Hi Miark: I'm trying to issue the following UNIX command: x=$(print $(somevariable%.c)). What this does is saves the value of the command "print $(somevariable%.c) into x, after stripping ".c" from the right side of the variable. I can then use the variable x for other commands. Any ideas how to do this Linux? Andre---Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
Re: [newbie] Command Line Print?
On Tue, Aug 27, 2002 at 12:23:36PM -0600, Miark wrote: Tell us what exactly you'd like to print, and we'll tell you how. Miark Andre Stevens [EMAIL PROTECTED] saith: Other than echo is there a command similar to print in Linux? Or is this an issue with my Linux installation? There's printf. Todd -- Todd Slater Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command Line Print?
There's "printf".Todd-- Todd Slater Ok. I'll try that. Thank you Todd! Andre---Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
Re: [newbie] Command line burning
Barry Michels wrote: I have some ISO files (a downloaded Linux distribution), so I don't need to use mkisofs. However, during burning, I get a coaster, then the following disc is ok. The next one is a coaster, then ok. I ended up with 7 good discs and 4 coasters. There were no changes made to the command line. After getting a coaster, I'd just press the up arrow, replace the disc and hit enter. It's a 800Mhz Celeron running a 16x burner (but I slowed down to 8x after the first coaster, the third CD burned at 16x). Here's the command I used: cdrecord -v speed=4 dev=0,0,0 -pad -data -eject -ignsize filename.iso I pulled that off a message in this thread and changed it for my system. Barry I generally use, cdrecord -v speed=8 dev=0,1,0 -eject /sourcefile.iso -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command line burning
On Tuesday July 23 2002 06:30 pm, Barry Michels wrote: I have some ISO files (a downloaded Linux distribution), so I don't need to use mkisofs. However, during burning, I get a coaster, then the following disc is ok. The next one is a coaster, then ok. I ended up with 7 good discs and 4 coasters. There were no changes made to the command line. After getting a coaster, I'd just press the up arrow, replace the disc and hit enter. It's a 800Mhz Celeron running a 16x burner (but I slowed down to 8x after the first coaster, the third CD burned at 16x). Here's the command I used: cdrecord -v speed=4 dev=0,0,0 -pad -data -eject -ignsize filename.iso I pulled that off a message in this thread and changed it for my system. Barry Try it with simply cdrecord -v -eject speed=4 dev=0,0,0 filename.iso I got that 'simplified' CL from the cooker page, works every time ;) http://www.mandrakelinux.com/en/cookerdevel.php3 ..even for 699mb iso's ..and who makes the media, not brand name, who really makes 'em? ..and how many mb's are you tryin' to burn to what size disk? A lot of your problem might be less than best quality cd-r's, but also too many extras on the CL, particularly '-data'. I've found I get the best results with a minimum amount of cdrecord options. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command line burning
Roman Korcek wrote: Hi, cdrecord: fifo had 11671 puts and 11608 gets. cdrecord: fifo was 0 times empty and 11400 times full, min fill was 85%. I've stayed out of this 'cause I don't have any 800mb media, never tried/seen any. On another count, I prefer to use mkisofs to make the img, then write to cdr, so I've never encountered your missing '-' situation. I'm curious tho 85% is awful low. I've never experienced less than 95%, usually 98 to 100%. Have you tried burning to that media at 4x? I've also got some generic CMC Magnetics 700mb cdr's, $12 for a 50 spindle. I don't get good results with 'em over 4x tho. yes, I'm burning here ar 8x, not particularly fast but faster than mkisofs can really supply data without the risk of buffer underrun, and so yes I need to reduce the burn rate , else supply a buffer , if such a thing is possible when using a pipe, I don''t know. The lowerst point was 85%, most of the time it's 98-100%, but if it drops any lower than 80% experience tells be to reduce the burn rate or else. However I've just spent the last 2 hours running the avi disc file through and there does not seem to be any problems. Well, as long as the FIFO doesn't go empty I don't think you need to worry about anything. The CD-RW has a buffer of its own, so I assume if FIFO runs out of data there still is at least 2 megs of drive-internal buffer to be written and FIFO can get filled meanwhile. Anyways, you can always increase the FIFO using a switch, don't remember which one, though. (fifo=16 maybe?) This seems to be correct. I never seem to get buffer underuns so obviously cdrecord is being causious in some way, Yes my writer, Mitsumi in this case has 2mb of buffer, can anyone tell me the logic of the fact that my older writers which could not exceed 4x write spped all had 4mb of buffer built in to them , yet this 24x write speed Minsumi seems only to need 2Mb of buffer, the logic of the setup escapes me. Obvious it doesn't need it , but why ? I will look into that switch, I didn't know cdrecord had one. John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command line burning
Hi, I use 800mb blank discs. I get mencoder to create 780mb film.avi files which I write to disc. b) mkisofs / cdrecord using a pipe === mkisofs -r -J -v film.avi | cdrecord -v speed=8 dev=0,1,0 -data -pad -eject -ignsize This does the mkisofs to cdrecord on the fly, however it has one major fault, try as a may I cannot get it to work with the larger file size. I have tried -overburn as well as -ignsize . It could well be that mkisofs is the culprit , I don't know, on the otherhand mkisofs has no trouble handling these larger file sizes on it's own. Could it be that cdrecord is just missing the final - on the command line telling it to use stdin? Good luck Roman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command line burning
Roman Korcek wrote: Hi, I use 800mb blank discs. I get mencoder to create 780mb film.avi files which I write to disc. b) mkisofs / cdrecord using a pipe === mkisofs -r -J -v film.avi | cdrecord -v speed=8 dev=0,1,0 -data -pad -eject -ignsize This does the mkisofs to cdrecord on the fly, however it has one major fault, try as a may I cannot get it to work with the larger file size. I have tried -overburn as well as -ignsize . It could well be that mkisofs is the culprit , I don't know, on the otherhand mkisofs has no trouble handling these larger file sizes on it's own. Could it be that cdrecord is just missing the final - on the command line telling it to use stdin? Good luck Roman so how would this be done then ? John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command line burning
Roman Korcek wrote: Hi, mkisofs -r -J -v film.avi | cdrecord -v speed=8 dev=0,1,0 -data -pad -eject -ignsize Could it be that cdrecord is just missing the final - on the command line telling it to use stdin? so how would this be done then ? IIRC: mkisofs -r -J -v film.avi | cdrecord -v speed=8 dev=0,1,0 -data -pad -eject -ignsize - HTH Roman Thanks Roman, It worked :- mkisofs -r -J -v behindenemylines.avi | cdrecord -v speed=8 dev=0,1,0 -data -pad -eject -ignsize - mkisofs 1.15a17 (i686-pc-linux-gnu) Cdrecord 1.11a19 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.22 Using libscg version 'schily-0.6' atapi: 1 Device type: Removable CD-ROM Version: 0 Response Format: 1 Vendor_info: 'MITSUMI ' Identifikation : 'CR-48X9TE ' Revision : '1.0C' Device seems to be: Philips CDD-522. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R FIFO size : 4194304 = 4096 KB Track 01: data unknown length padsize: 30 KB Total size: 0 MB (00:00.00) = 0 sectors Lout start: 0 MB (00:02/00) = 0 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type A, high Beta category (A+) (3) ATIP start of lead in: -11634 (97:26/66) ATIP start of lead out: 359849 (79:59/74) Disk type:Short strategy type (Phthalocyanine or similar) Manuf. index: 3 Manufacturer: CMC Magnetics Corporation cdrecord: WARNING: Total disk size unknown. Data may not fit on disk. Starting to write CD/DVD at speed 8 in write mode for single session. Last chance to quit, starting real write in 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is OFF. Performing OPC... Starting new track at sector: 0 Track 01: 6 MB written (fifo 87%) 113.6x. 1.34% done, estimate finish Mon Jul 22 18:26:01 2002 snip Track 01: 689 MB written (fifo 100%) 8.5x. 94.82% done, estimate finish Mon Jul 22 18:19:03 2002 Track 01: 699 MB written (fifo 100%) 8.4x. 96.15% done, estimate finish Mon Jul 22 18:19:04 2002 Track 01: 702 MB written (fifo 100%) 8.1x.cdrecord: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 05 7D 89 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.002s timeout 40s write track data: error after 736905216 bytes Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00 Writing time: 611.697s Fixating... Fixating time: 39.033s cdrecord: fifo had 11671 puts and 11608 gets. cdrecord: fifo was 0 times empty and 11400 times full, min fill was 85%. All written to disc. there are some wornings, minimum fill 85% getting near the limit. what is : Sense Key: 0x5 Illegal Request, Segment 0, anything to worry about ? Anyway , the inclusion of one litle - made all the difference. Thanks, John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command line burning
On Monday July 22 2002 12:54 pm, John Richard Smith wrote: Disk type:Short strategy type (Phthalocyanine or similar) Manuf. index: 3 Manufacturer: CMC Magnetics Corporation cdrecord: fifo had 11671 puts and 11608 gets. cdrecord: fifo was 0 times empty and 11400 times full, min fill was 85%. All written to disc. there are some wornings, minimum fill 85% getting near the limit. what is : Sense Key: 0x5 Illegal Request, Segment 0, anything to worry about ? I've stayed out of this 'cause I don't have any 800mb media, never tried/seen any. On another count, I prefer to use mkisofs to make the img, then write to cdr, so I've never encountered your missing '-' situation. I'm curious tho 85% is awful low. I've never experienced less than 95%, usually 98 to 100%. Have you tried burning to that media at 4x? I've also got some generic CMC Magnetics 700mb cdr's, $12 for a 50 spindle. I don't get good results with 'em over 4x tho. Also, did you mean 80 minute cdr's, or 800MB? I've burned over 800 mb's of wav's to a 700mb, 80 minute CD-r. My record is 79m57s ;) -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command-line command list
On Saturday 18 May 2002 18:03, you wrote: Where should I go to find a listing of the command-line commands? I've been trying to copy the MP3's from the CD's that I burned over to a personal folder, but it buggers up rather often. Last time I tried, it gave me an error message when the file was at the end of being copied that it couldn't read the file. I tried it with another file and it happened again. I know that the command-line is more reliable than a GUI, plus I think it's a good idea to get to know the commands when in command-line anyway. I remember what CS does, but that's about it. This list has been exceedingly helpful and encouraging. I only wish that I'd known about it two years ago when my buddy left for Wisconson, leaving me (a Windows user at the time) stuck with Mandrake 6 and no idea of how to use it effectively. Iceburgh69 Just open a console, hit the tab button and answer yes ('y' without the quotes) when queried if you realy want to see them all :o) Otherwise type an a or b and then the tab for the commands starting with a or b. Good luck. Harm Bathoorn. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command-line command list
Saturday 18 May 2002 10:03 am,Chris Ames wrote: Where should I go to find a listing of the command-line commands? I've been trying to copy the MP3's from the CD's that I burned over to a personal folder, but it buggers up rather often. Last time I tried, it gave me an error message when the file was at the end of being copied that it couldn't read the file. I tried it with another file and it happened again. I know that the command-line is more reliable than a GUI, plus I think it's a good idea to get to know the commands when in command-line anyway. I remember what CS does, but that's about it. This list has been exceedingly helpful and encouraging. I only wish that I'd known about it two years ago when my buddy left for Wisconson, leaving me (a Windows user at the time) stuck with Mandrake 6 and no idea of how to use it effectively. Iceburgh69 ~~ Will this help? http://www.onlamp.com/linux/cmd/ -- Charlie Edmonton,AB,Canada Registered user 244963 at http://counter.li.org If you explain so clearly that nobody can misunderstand, somebody will. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command-line command list
The book Linux in a Nutshell is very handy for this. Bookpool.com has it for about $20. Or type info in a terminal window and browse the topics. Once you've found a command you want more detail on, type man [name of command]. -- Warren Post Santa Rosa de Copan, Honduras http://www.srcopan.vze.com/ On Sat, 18 May 2002 10:03:43 -0600 Chris Ames [EMAIL PROTECTED] wrote: Where should I go to find a listing of the command-line commands? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command-line command list
On Sun, 19 May 2002 09:44, Roger Sherman wrote: On Sat, 18 May 2002, Chris Ames wrote: Where should I go to find a listing of the command-line commands? I've been trying to copy the MP3's from the CD's that I burned over to a personal folder, but it buggers up rather often. Last time I tried, it gave me an error message when the file was at the end of being copied that it couldn't read the file. I tried it with another file and it happened again. I know that the command-line is more reliable than a GUI, plus I think it's a good idea to get to know the commands when in command-line anyway. I remember what CS does, but that's about it. This list has been exceedingly helpful and encouraging. I only wish that I'd known about it two years ago when my buddy left for Wisconson, leaving me (a Windows user at the time) stuck with Mandrake 6 and no idea of how to use it effectively. Iceburgh69 I have a great book called Linux System Commands, by Patrick Volkerding and Kevin Reichard (MT Books) that I just can't recommend enough. It lists virtually all the commands, with a summary of what each does, along with the list of options, as well as what they do. It also lists related commands, and lists the DOS - Linux equivalents. - peace, Rog All the posts you have received are good advice. Built into your system is some good documentation. For information about all the commands try man in a console. Specifically for your problem. man man - a manual on the manual man cp - the copy command man chown - changing ownership man chgrp - changing group ownership man chmod - changing the permissions (who has access to what) Slightly more awkward is info. It covers things slightly better than man. Typing info on its own gets a list of all commands (that have an info page written) with a quick description. Also at the top you get a little on how to drive it. Remember q and h and you can't go wrong. info foo - creates a file called foo that you can browse or print using any text editor like kwrite. Hope that helps. Michael By the way, the alternative answer to this post is. man and info are your friends Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command-line command list
On Sun, 2002-05-19 at 09:07, Michael Adams wrote: On Sun, 19 May 2002 09:44, Roger Sherman wrote: On Sat, 18 May 2002, Chris Ames wrote: Where should I go to find a listing of the command-line commands? I've been trying to copy the MP3's from the CD's that I burned over to a personal folder, but it buggers up rather often. Last time I tried, it gave me an error message when the file was at the end of being copied that it couldn't read the file. I tried it with another file and it happened again. I know that the command-line is more reliable than a GUI, plus I think it's a good idea to get to know the commands when in command-line anyway. I remember what CS does, but that's about it. snip I have a great book called Linux System Commands, by Patrick Volkerding and Kevin Reichard (MT Books) that I just can't recommend enough. It lists virtually all the commands, with a summary of what each does, along with the list of options, as well as what they do. It also lists related commands, and lists the DOS - Linux equivalents. snip All the posts you have received are good advice. Built into your system is some good documentation. For information about all the commands try man in a console. Specifically for your problem. man man - a manual on the manual man cp - the copy command man chown - changing ownership man chgrp - changing group ownership man chmod - changing the permissions (who has access to what) Slightly more awkward is info. It covers things slightly better than man. Typing info on its own gets a list of all commands (that have an info page written) with a quick description. Also at the top you get a little on how to drive it. Remember q and h and you can't go wrong. snip By the way, the alternative answer to this post is. man and info are your friends Another very helpful command (and perhaps more appropriate in your case) is 'apropos'. From the man page: apropos searches a set of database files containing short descriptions of system commands for keywords and displays the result on the standard output. You need only specify a loose term to apropos to get an idea of relevant commands available on your system. eg: apropos directory turns up a list of commands relevant to working with directories. Apropos also turns up programming functions which you'll have to learn to ignore if you're only interested in system commands. Try it and you'll see what I mean. Very helpful tool! I hope this helps. Regards, John... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command-line command list
Chris Ames wrote: Where should I go to find a listing of the command-line commands? I've been trying to copy the MP3's from the CD's that I burned over to a personal folder, but it buggers up rather often. Last time I tried, it gave me an error message when the file was at the end of being copied that it couldn't read the file. I tried it with another file and it happened again. I know that the command-line is more reliable than a GUI, plus I think it's a good idea to get to know the commands when in command-line anyway. I remember what CS does, but that's about it. This list has been exceedingly helpful and encouraging. I only wish that I'd known about it two years ago when my buddy left for Wisconson, leaving me (a Windows user at the time) stuck with Mandrake 6 and no idea of how to use it effectively. Iceburgh69 FWIW, I bought Linux in a Nutshell. Big help ;p -- Femme Good Decisions You boss Made: We'll do as you suggest and go with Linux. I've always liked that character from Peanuts. - Source: Dilbert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Command Line
Thankyou all very much! Regards Gordon
Re: [newbie] Command Line
Hit the big K, then go to "Terminals" and then pick one. Or you can look on your taskbar at the bottom, and you should see an icon that looks like a black screen. Click in, and a terminal will come up. Another very simple request! In windoze, there is an option "Start-Programs-MSDos prompt". What's the equivalent in Linux if I boot up with the KDE Desktop? Thanks Gordon -- Anthony http://binaryfusion.net Computers are not intelligent. They only think they are.
Re: [newbie] Command Line
Right-click on your desktop and one of the menu options should be e-term, x-term, something like that. It will give you what you're looking for. - Glen Adams Network Specialist I2 Technologies Gordon Burgess-Parker [EMAIL PROTECTED] To: "[EMAIL PROTECTED]" Sent by: [EMAIL PROTECTED] newbie-owner@linux-macc: ndrake.com Subject: [newbie] Command Line 09/07/00 05:16 PM Please respond to newbie Another very simple request! In windoze, there is an option "Start-Programs-MSDos prompt". What's the equivalent in Linux if I boot up with the KDE Desktop? Thanks Gordon
Re: [newbie] Command Line
I'm prone to using CTRLALTF2 - F6 and just hit the old console =o) Lonny Selinger
Re: [newbie] Command Line
On Thu, 07 Sep 2000, you wrote: Another very simple request! In windoze, there is an option "Start-Programs-MSDos prompt". What's the equivalent in Linux if I boot up with the KDE Desktop? Thanks Gordon -- There is a little screen on the panel called Terminal, that is the "command prompt" Jay "Every man dies, not every man really lives." http://www.mrsnooky.com
Re: [newbie] Command Line
Another very simple request! In windoze, there is an option "Start-Programs-MSDos prompt". What's the equivalent in Linux if I boot up with the KDE Desktop? Kconsole...or if you've got a typical system, click on the small computer screen icon that's on the bottom menu. It's an insult to refer to this as the "equivalent of the DOS prompt as it's so much more powerful it's in a different league. But if you want to do DIR that's the tool to use, though you'll need ls instead :-) Cheers --- Larry
Re: [newbie] COMMAND LINE HELP please.
phins13 wrote: When you right click the KDE desktop, a list of options are broght up. One of these is for a command line that lets you execute a program from the command line window. ( similar to Run in Windoze) My questions are: 1. What is the name of the command line program? 2. Where is it located. I am running the newest version of Mandrake. It's built into kwm. (Test it by putting just 'exec kwm' into ~/.Xclients then starting X, Alt-F2 still pops up the window) -- Steve Philp Network Administrator Advance Packaging Corporation [EMAIL PROTECTED]
RE: [newbie] Command Line
Thanks, Dan for telling me about pico I found it very easy to use in the command line prompt. Most of all I fixed the problem editing inittab with pico, and everything is all good now. I'd love to use vi or emacs if they are more efficient but frankly I've had linux for three days, and have barely picked up the ls command and kde. so it'll be a little bit of time before I pick these up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Brown Sent: Monday, August 09, 1999 9:34 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Command Line From: Stephan Schutter [EMAIL PROTECTED] Why do people insist on using these archaic text editors? Nobody uses edit in windows? KDE has several editors. Just point click and type! You guys are Well, one reason would be because Neilesh wrote that he was logged in in text mode, or at least that's the way I read his message. Another reason might be that we're more used to them. Why should this be a problem for you? It's not like pico is hard to use or anything...
Re: [newbie] Command Line
On Mon, 9 Aug 1999, Neilesh Patel wrote: how do I get to the command line in linux? everytime i start up it goes past the lilo command prompt and goes into the GUI and makes me login to kde etc. through the gui interface. I do that, but I can't get to the command line, and type commands like /mnt/cdrom can anyone help me? neil alt-F2 pick on of konsole,gnome-terminal,xterm,rxvt or ctrl-alt-F1-6 and you will have a login prompt.
Re: [newbie] Command Line
Neilesh Patel wrote: how do I get to the command line in linux? everytime i start up it goes past the lilo command prompt and goes into the GUI and makes me login to kde etc. Click on one of the terminal icons on the taskbar; it'll open up a shell window. -- Dan Brown, KE6MKS, [EMAIL PROTECTED] Meddle not in the affairs of dragons, for you are crunchy and taste good with ketchup.
Re: [newbie] Command Line
Nielish, If you wan't to get to a console prompt simply start an xterm from KDE and then do an su command, when prompted fpr the root password give that password and you will have command line control of the system as root. You may also wish to change your init runlevel in /etc/inittab to 3 rather than 5 this will give you a normal console login and when you wish to run Xwindow you would use the command: startx. Good Luck, Dave -- -- David M. Kufta http://www.slip.n3meq.ampr.org [EMAIL PROTECTED] REAL PORTION of Microsoft Windows code: while (memory_available){ eat_major_portion_of_memory (no_real_reason); if (feel_like_it) make_user_THINK (this_is_an_OS); gates_bank_balance++; } I get my exercise acting as pallbearer to my friends who exercise. -- Chauncey Depew PGP signature
Re: [newbie] Command Line
I know how to get to the /etc/inittab folder however, once i'm in the /etc folder how do I open and edit inittab? I'm a newbie obviously, so I don't know how to edit it and save it and close it. What commands do I need to type out? I only have access to the console prompt, not the GUI because of some error I'm having right now with the GUI. thanks neil Nielish, If you wan't to get to a console prompt simply start an xterm from KDE and then do an su command, when prompted fpr the root password give that password and you will have command line control of the system as root. You may also wish to change your init runlevel in /etc/inittab to 3 rather than 5 this will give you a normal console login and when you wish to run Xwindow you would use the command: startx. Good Luck, Dave - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Neilesh Patel [EMAIL PROTECTED] Sent: Monday, August 09, 1999 3:04 PM Subject: Re: [newbie] Command Line
Re: [newbie] Command Line
From: Neilesh Patel [EMAIL PROTECTED] however, once i'm in the /etc folder how do I open and edit inittab? I'm a Use a text editor; you could use any of them--vi, joe, edit, emacs, pico, whatever. I usually use pico. Type "pico inittab"
RE: [newbie] Command Line
I don't know what message format you're using but it comes through awfully strange. Does not appear in the normal preview pane of outlook. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, August 09, 1999 3:05 PM To: [EMAIL PROTECTED] Cc: Neilesh Patel Subject: Re: [newbie] Command Line Nielish, If you wan't to get to a console prompt simply start an xterm from KDE and then do an su command, when prompted fpr the root password give that password and you will have command line control of the system as root. You may also wish to change your init runlevel in /etc/inittab to 3 rather than 5 this will give you a normal console login and when you wish to run Xwindow you would use the command: startx. Good Luck, Dave -- -- David M. Kufta http://www.slip.n3meq.ampr.org [EMAIL PROTECTED] REAL PORTION of Microsoft Windows code: while (memory_available){ eat_major_portion_of_memory (no_real_reason); if (feel_like_it) make_user_THINK (this_is_an_OS); gates_bank_balance++; } I get my exercise acting as pallbearer to my friends who exercise. -- Chauncey Depew
RE: [newbie] Command Line
On 10-Aug-99 Stephan Schutter wrote: Why do people insist on using these archaic text editors? Nobody uses edit in windows? KDE has several editors. Just point click and type! You guys are not telnet-ing to these boxes are you? Stephan Schutter I wouldn't consider a typical Windows user as setting an example for how someone (especially someone using Linux) should use their computer. ;) There's nothing wrong with using those 'archaic' text editors. Vi and emacs are much more efficient and powerful than most (if not all) graphical text editors. And they come with the added advantage of being useable under almost any situation. If you learn vi (not very difficult once you give it a serious try) then you really never have to bother with any other text editor. If you only use kwrite or gedit or whatever, and suddenly your system gets messed up and you have to boot with a rescue disk to tweak some things, and you've never looked at vi in your life... you're screwed. More importantly, the situation of the original poster is that he was at the command line because he was having trouble getting X to work. He needed to edit a text file had no way of running an X-based program, so the suggestions of text-based text editors was quite appropriate. -Original Message- From: Dan Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 10, 1999 12:52 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Command Line From: Neilesh Patel [EMAIL PROTECTED] however, once i'm in the /etc folder how do I open and edit inittab? I'm a Use a text editor; you could use any of them--vi, joe, edit, emacs, pico, whatever. I usually use pico. Type "pico inittab"
Re: [newbie] Command line path display?
Lawrence Sayre wrote: Steve Philp wrote: Lawrence Sayre wrote: Steve Philp wrote: Lawrence Sayre wrote: Steve Philp wrote: Also, after making the change to whichever file, did you logout and log back in? You can try the PS1 stuff right from the command line for instant tests. I made the change to /etc/profile. It did nothing (\w was the same as \W). I tried re-booting, but still nothing. My /etc/profile file is attached. I suppose this is a stupid question, but are you, infact, using the Bash shell? -- Steve Philp [EMAIL PROTECTED] Yes! (Mine is pretty much a default setup) Ya know, I'm truly embarassed by this. I _really_ should have done more than just read the manpage for Bash before giving you help on this one. Once in a while I _really_ need to try out the advice I'm tossing out! Okay, I finally tried the modification myself and guess what?! I didn't notice a change either. So, I took a look at what was being set with 'export'. I'd modified /etc/profile to show a lowercase 'w'. 'export' showed that it was still being set with an uppercase 'w'. So, something after /etc/profile is changing it back to it's original setting. And that file is /etc/bashrc! So, make the same modification to /etc/bashrc and see what happens! I've already tried it here this time... :) Sorry for questioning your sanity, Lawrence. Time for my brown paper bag. -- Steve Philp [EMAIL PROTECTED] Steve; This worked! Thank you!!! Now, if I could only get it to say 'root' instead of '~'. I read through the manpage a couple times, but didn't see anything that would likely help. Maybe one of the GNU newsgroups might be able to help? (When you find out, let me know, it'll bug me for awhile I'm sure) -- Steve Philp [EMAIL PROTECTED]
Re: [newbie] Command line path display?
Steve Philp wrote: Lawrence Sayre wrote: Steve Philp wrote: Lawrence Sayre wrote: Steve Philp wrote: Also, after making the change to whichever file, did you logout and log back in? You can try the PS1 stuff right from the command line for instant tests. I made the change to /etc/profile. It did nothing (\w was the same as \W). I tried re-booting, but still nothing. My /etc/profile file is attached. I suppose this is a stupid question, but are you, infact, using the Bash shell? -- Steve Philp [EMAIL PROTECTED] Yes! (Mine is pretty much a default setup) Ya know, I'm truly embarassed by this. I _really_ should have done more than just read the manpage for Bash before giving you help on this one. Once in a while I _really_ need to try out the advice I'm tossing out! Okay, I finally tried the modification myself and guess what?! I didn't notice a change either. So, I took a look at what was being set with 'export'. I'd modified /etc/profile to show a lowercase 'w'. 'export' showed that it was still being set with an uppercase 'w'. So, something after /etc/profile is changing it back to it's original setting. And that file is /etc/bashrc! So, make the same modification to /etc/bashrc and see what happens! I've already tried it here this time... :) Sorry for questioning your sanity, Lawrence. Time for my brown paper bag. -- Steve Philp [EMAIL PROTECTED] Steve; This worked! Thank you!!! Now, if I could only get it to say 'root' instead of '~'. PS: No need for the brown paper bag.. Lawrence Sayre - "Man's mind is his basic tool of survival!" (a quote from the famous 'John Galt' speech in the equally famous book "Atlas Shrugged") Lawrence Sayre [EMAIL PROTECTED] -
Re: [newbie] Command line path display?
Steve Philp wrote: Lawrence Sayre wrote: Steve Philp wrote: Also, after making the change to whichever file, did you logout and log back in? You can try the PS1 stuff right from the command line for instant tests. I made the change to /etc/profile. It did nothing (\w was the same as \W). I tried re-booting, but still nothing. My /etc/profile file is attached. I suppose this is a stupid question, but are you, infact, using the Bash shell? -- Steve Philp [EMAIL PROTECTED] Yes! (Mine is pretty much a default setup) Lawrence Sayre - "Man's mind is his basic tool of survival!" (a quote from the famous 'John Galt' speech in the equally famous book "Atlas Shrugged") Lawrence Sayre [EMAIL PROTECTED] -
Re: [newbie] Command line path display?
Lawrence Sayre wrote: Steve Philp wrote: Lawrence Sayre wrote: Steve Philp wrote: Also, after making the change to whichever file, did you logout and log back in? You can try the PS1 stuff right from the command line for instant tests. I made the change to /etc/profile. It did nothing (\w was the same as \W). I tried re-booting, but still nothing. My /etc/profile file is attached. I suppose this is a stupid question, but are you, infact, using the Bash shell? -- Steve Philp [EMAIL PROTECTED] Yes! (Mine is pretty much a default setup) Ya know, I'm truly embarassed by this. I _really_ should have done more than just read the manpage for Bash before giving you help on this one. Once in a while I _really_ need to try out the advice I'm tossing out! Okay, I finally tried the modification myself and guess what?! I didn't notice a change either. So, I took a look at what was being set with 'export'. I'd modified /etc/profile to show a lowercase 'w'. 'export' showed that it was still being set with an uppercase 'w'. So, something after /etc/profile is changing it back to it's original setting. And that file is /etc/bashrc! So, make the same modification to /etc/bashrc and see what happens! I've already tried it here this time... :) Sorry for questioning your sanity, Lawrence. Time for my brown paper bag. -- Steve Philp [EMAIL PROTECTED]
Re: [newbie] Command line path display?
Steve Philp wrote: Lawrence Sayre wrote: My command line path only shows the directory I'm in, and not all of the directories below it. How can I set this for complete path information? To change it for all users: Edit /etc/profile, changing this line: PS1="[\u@\h \W]\\$ " to this: PS1="[\u@\h \w]\\$" To change it just for yourself, add the line above to ~/.bash_profile. You can find information about what the \u, \h, \w and \$ mean in the Bash manpage. (man bash) -- Steve Philp [EMAIL PROTECTED] Sorry Steve, but this didn't work. Thanks for trying! Lawrence Sayre - "Man's mind is his basic tool of survival!" (a quote from the famous 'John Galt' speech in the equally famous book "Atlas Shrugged") Lawrence Sayre [EMAIL PROTECTED] -
Re: [newbie] Command line path display?
Lawrence Sayre wrote: Steve Philp wrote: Also, after making the change to whichever file, did you logout and log back in? You can try the PS1 stuff right from the command line for instant tests. I made the change to /etc/profile. It did nothing (\w was the same as \W). I tried re-booting, but still nothing. My /etc/profile file is attached. I suppose this is a stupid question, but are you, infact, using the Bash shell? -- Steve Philp [EMAIL PROTECTED]
Re: [newbie] Command line path display?
Lawrence Sayre wrote: My command line path only shows the directory I'm in, and not all of the directories below it. How can I set this for complete path information? To change it for all users: Edit /etc/profile, changing this line: PS1="[\u@\h \W]\\$ " to this: PS1="[\u@\h \w]\\$" To change it just for yourself, add the line above to ~/.bash_profile. You can find information about what the \u, \h, \w and \$ mean in the Bash manpage. (man bash) -- Steve Philp [EMAIL PROTECTED]