Home



Saturday, July 24, 2010

Linux Terminal , Common Commands

Linux Terminal , Common Commands

Linux Terminal Ubuntu



Linux Terminal Fedora

  • sudo command – run command as root
  • apt-get - used to install, remove, upgrade and more.

Movement In The directory

  • cd - Change Directory
  • pwd - Print Working Directory

Managing Files and Text
  • cp - Copy
  • ls - List
  • mkdir - Make Directory
  • mv - Move
  • rm - Remove
  • grep - Search for Text Strings
  • head - Display Start of File
  • less - Display Part of File
  • more - Display Part of File
  • tail - View the End of a File

Managing System and Program Information

  • cal - Calendar
  • date - Date
Troubleshooting
  • fsck - File System Check

Managing Network Connections
  • chkconfig - Check Activated Services
  • ping - Test Network Connections
  • ftp - file Transfer Protocol
  • host - Check IP of Domain
  • ifconfig - Configure Network Devices
  • netstat - Display Routing Table
  • route - Set Routes
  • telnet - Connect to telnet
  • traceroute - Display Route

Manage Drives and Formats
  • mount - Mount a Drive
  • umount - Unmount Drive
  • fdisk - Format Disk
  • dd - Dupliate Disk
  • df - Disk Free Space

Managing Rights to Files and Directories
  • chmod - Change Mode
  • su - Switch User

Managing Users and Groups
  • passwd - Create Password
  • groupadd - Add a Group
  • groupmod - Modify a Group
  • chgrp - Change Group
  • groupdel - Delete Group


startx -

sudo dpkg-reconfigure xserver-xorg -

screen resolution problems

xkill - Kills a misbehaving application.

killall gnome-panel - Refreshes the Gnome panel.

top - A quick way to see what applications are

using the most resources at any given time.

man - Gives you the manual for an application.

No comments: