linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:32:23 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info

Basic command reference for UNIX/Linux

Linux/UNIX command Description MS-DOS equivalent
./foo start foo (allocated in current dir.) foo
­ / ¯ previous / next command doskey
cd x (or cd /x) go to directory x cd
cd .. (or cd ../ or cd /..) go down one directory cd..
x then [tab] <beep> [tab] view all commands starting with x -
adduser add a user to the system /
ls (or dir) list a directory dir
cat view a textfile on the terminal type
mv x y move or rename file x to file y move
cp x y copy file x to file y copy
rm x delete a file del
mkdir x make a directory md
rmdir x remove a directory rd
rm -r x remove directory x and all its underlying files deltree
rm p remove a package -
df (or df x) Show free space on device x chkdsk ?
top view memory status (q to quit) mem
man x get a manual page about command x /
less x view text file x (note that the more filter works under Linux too!) type x |more
echo print something on the screen echo
mc Norton Commander for UNIX nc
mount to couple a device (e.g. CD-ROM, umount to uncouple) -
halt to shutdown -
reboot ([ctrl] + [alt] + [del]) to restart [ctrl] + [alt] + [del]


Advanced commands

chmod <permissions> <file> Change file permissions
ls -l x Perform a detailed directory listing for file x
ln -s x y Make a symbolic link from x to y
find x -name y -print find file y, begin the search from within directory x and print the results to the screen
ps to view all running processes
kill x to terminate process x (x is PID from ps)
[alt] + F1 - F7 switch to terminal 1 - 7 (in text terminal; F7 = X-Windows (when started))
lilo to make a boot disk

Terminology

symlink Symbolic link to another file or directory. Like Win95's shortcuts
shell script Like MS-DOS's batchfiles; perform a series of commands after another.

X-Windows

startx to start X-windows
[ctrl] + [alt] + [backsp] to quit X during trouble
[ctrl] + [alt] + F1 - F6 to switch to text terminal 1 - 6 (in X-windows)
xf86Config most primitive setup/configurator for x (in text terminal)
Xconfigurator another configurator for X in text terminal
xf86Setup an X-Windows configurator for X
configX to configure Metro-X server
[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif