justlinux.com
Sat, 17-May-2008 04:39:52 GMT
internet.com
Forum: Registered Users: 72237, Online: 543
nhfs Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home Home

Help File Library: 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

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
internet.commerce
Be a Commerce Partner
Computer Deals
Baby Photo Contest
Career Education
Promotional Golf
Promotional Gifts
Promos and Premiums
Holiday Gift Ideas
Calling Cards
Laptop Batteries
GPS




JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Windows Server 2008
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES