Linux

  1. Home
  2. Computing & Technology
  3. Linux

Kubuntu

Documentation

By Juergen Haas, About.com

Common Commands

  • View Directories: - ls
  •    

    The ls (LiSt) lists files in different colors with full formatted text


  • Create Directories: - mkdir (directory name)
  •    

    The mkdir (MaKeDIRectory) command will create a directory.


  • Change Directories: - cd (/directory/location)
  •    

    The cd (Change Directory) command will change from your current directory to any directory you specify.


  • Copy Files/Directories: - cp (file or directory name) (to directory or filename)
  •    

    The cp (CoPy) command will copy any files you specify. The cp -r command will copy any directories you specify.


  • Remove Files/Directories: - rm (file or directory name)
  •    

    The rm (ReMove) command will delete any filename you specify. The rm -r command will remove any directory you specify, and all its contents.


  • Move/Rename Files/Directories: - mv (file or directory name)
  •    

    The mv (MoVe) command will move/rename any file or directory you specify.


  • Find Files/Directories: - locate (file or directory name)
  •    

    The locate command will search for any filename you specify. It uses an index of the files on your system to work quickly. To update this index, run the command sudo updatedb. This command is run automatically each day if you leave your computer on. It needs to be run with administrative privileges (see the section called "Root And Sudo").


You can also use wildcards to match one or more files, such as "*" (for all files) or "?" (to match one character).

* License

* Ubuntu Desktop Guide Index

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux
  4. Linux Distributions
  5. Popular Linux Distros
  6. Kubuntu
  7. Kubuntu Documentation
  8. Kubuntu Desktop Guide - Common Commands

©2009 About.com, a part of The New York Times Company.

All rights reserved.