Home > Linux commands: Using Linux Survival Commands
Book Excerpt:
EMAIL THIS

Linux commands: Using Linux Survival Commands

18 Sep 2006 | Chris Wolf, Author

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

IT reseller takeaway: This excerpt from Virtualization: From the Desktop to the Enterprise offers quick reference to some key Linux commands for value-added resellers and systems integrators who are new to the technology.

Now that the ESX Server installation out of the way, you need to look at a few Linux survival commands. If you're accustomed to Linux operating systems, this section will be a snore; however, if you're new to the world of Linux, this section should offer some much needed information. Table 5-4 is a quick reference for the commands you can use at the Service Console. A complete discussion of Linux and its wealth of commands are beyond the scope of this book.

Table 5-4. Linux Survival Commands

Command Purpose Example
man Displays extended help man reboot (the letter q quits help)
--help Displays basic help reboot --help
clear Clears console screen clear
su Switches to superuser or between users su su or su <userid>
Is Lists files in a directory
Lists long listing with hidden files
Lists scrollable long listing
ls /
ls –al
ls –l | less
pwd Reveals present working directory pwd
cd Changes to new directory cd <directory>
mkdir Makes a directory mkdir <name>
rmdir Removes an empty directory rmdir <directory>
rm Removes a file (or directory) rm <filename>,rm –r <directory name>
mount Attaches to media, as in CD-ROM mount
Mounts CD-ROM
Mounts floppy drive
mount <device> <destination>
mount /dev/cdrom /mnt/cdrom
mount/dev/fd0 /mnt/floppy
mount Attaches to media, as in CD-ROM mount mount <device> <destination>
eject Ejects CD-ROM eject
cp Copies a file or directory cp <source><destination>
mv Moves a file or directory mv <source><destination>
find Locates a file or directory find / –name <name>
tar Creates a compressed file
Extracts a compressed file
tar –czvf <source><destination>
tar –xzvf <source><destination>
tar Creates a compressed file tar –czvf <source><destination>
umount Disconnects from media or partition
Unmounts floppy drive
Unmounts CD-ROM
umount <directory or device>
umount /mnt/floppy
umount /mnt/cdrom
umount Disconnects from media or partition
Unmounts floppy drive
Unmounts CD-ROM
umount <directory or device>
umount /mnt/floppy
umount /mnt/cdrom
fdisk -l Lists disk partitions fdisk –l
service Controls system services and stops
Starts system services
Restarts system services
service <service> stop
service <service> start
service <service> restart
passwd Manages passwords passwd <user ID>
ps Lists system processes ps –efa | less
free Displays memory statistics free –m
ifconfig Reveals IP addressing information ifconfig –more
uname Reveals host name uname –a
ping Stands for Packet Internet Groper ping <IP address>
reboot Restarts the ESX host server reboot

TABLE OF CONTENTS

About the author   
Chris Wolf is an instructor at ECPI Technical College, as well as a leading industry consultant in enterprise storage, virtualization solutions, and network infrastructure management. He has a master's degree in information technology from Rochester Institute of Technology, and his IT certification list includes MCSE, MCT, and CCNA. Wolf authored MCSE Supporting and Maintaining NT Server 4.0 Exam Cram, Windows 2000 Enterprise Storage Solutions and Troubleshooting Microsoft Technologies, and he contributes frequently to Redmond Magazine and Windows IT Pro Magazine. Wolf also speaks at computer conferences across the nation.



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Linux Server Operating Systems
Automating SUSE Linux Enterprise Server 11 installation
SUSE Linux Enterprise Server 11: New Xen virtualization features
Tech Data offers video software for Mac OS X VARs
Using the Ubuntu Linux system monitor tool
Installing SUSE Linux Enterprise Server 11
Ubuntu Linux installation and hard drive setup guide
Application virtualization management suite due from Symantec
Red Hat JBoss growth, partner program changes bring opportunities
Red Hat revenue breaks $500 million mark
Novell channel chief assures Novell partners about leadership

Desktop Computer Workstations
Apple resellers react to lackluster 2009 Macworld Conference and Expo
Fujitsu Computer Products of America, Inc. Partner Program Checklist
Sun Microsystems Partner Program Checklist
Power management strategies
Green desktop strategies
Cost comparison: Virtual vs. Vista desktop management
Virtual vs. Vista desktop management: Calculating virtual costs, pg. 2
Virtual vs. Vista desktop management costs: Intangibles, pg. 3
Desktop interoperability in a mixed-platform environment
Should I recommend desktop virtualization to my SMB clients?

Server Virtualization Hardware, Software and Services
Installing and managing Hyper-V on Windows Server 2008 Server Core
Using Hyper-V Manager to create virtual machines and hard drives
Monitoring Hyper-V performance and utilizing System Center VMM
Top 10 data center virtualization management tips
Evaluating virtualization management software for Hyper-V R2
Three setbacks when designing Hyper-V R2 High Availability
Citrix XenServer 5.5 hardware requirements
VSphere upgrade and performance study guide
Microsoft Hyper-V R2 features and comparison guide
VMware extends vSphere Enterprise Edition availability

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


HomeNewsTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts