PDA

View Full Version : Plse help on commands!!



yingxuan
01-03-2004, 01:44 PM
Hello

Does anybody know of a good site that can teach me how to use dos and linux commands.

Foer example.Creating a director/creating subdirectory.Renameing files.Return to root folder

Copying files from the root directory to disks.
Delete files from F drive

Elephant
01-03-2004, 01:48 PM
Try here
http://www.computerhope.com/msdos.htm

R2x1
01-03-2004, 03:28 PM
Hi yingxuan
If you have a copy of MS DOS v5 or better
(Make that later, everything was better)
and type {command /? } for the following,
md; ren; cd \;copy; xcopy; it will give you
a start for DOS commands.
An easier way is to get Vostok Commander,
and for Linux, use Midnight Commander,
ALT/F2 "mc"

Each of those easily handles the tasks you
specified, plus a lot more.

I recall a file that gave DOS - LINUX equivalents
for most of the simpler functions, finding it now
is a tad convoluted.

R2

Chilling_Silently
01-03-2004, 03:31 PM
Im not too sure of websites that'll teach you Linux commands.

have a look at FAQ #80 here at PF1.

Otherwise, here's a quick run-down of what you have mentioned:
Creating a directory:
mkdir /home/yuingxuan/Downloads

Renaming files is the same as moving them:
mv oldfilename.txt newfilename.txt

To return to root folder:
cd /
To return to your home folder:
cd ~/

use:
rm filename
to delete files.

Hope this gets you started

Cheers


Chill.

Jen C
01-03-2004, 04:40 PM
I have found some helpful sites for Linux commands:

Newbie's Top Ten Commands (http://www.cmm.uklinux.net/steve/ntt.html) - basic, but funny and informative.

CLI for noobies (http://www.linux.com/search.pl?topic=89) - series of articles

And of course, good old man pages. Whip open a console window and enter man command, although this might be information overload at this stage :)

Jen C
01-03-2004, 04:51 PM
OK, found some more after a wee hunt through my bookmarks :D

Linux Shortcuts and Commands (http://linux-newbie.sunsite.dk/lnag_commands.html) - Section 5.5 File management.

Welcome to How Do You Do That in Linux - Newbie Guides (http://cmisip.home.insightbb.com/newbie.htm) - Have a read of the "Common File and Directory Operations" section.