Language Selection

English French German Italian Portuguese Spanish

Linux Command-Line Cheat Sheet

Filed under
Linux

This article is reprinted from The Official Ubuntu Book, 2nd Edition, by Benjamin Mako Hill and Jono Bacon, with permission of publisher Prentice Hall Professional. While instructions are specific for Ubuntu Linux, most commands will work with other Linux distributions.

Moving Around the Filesystem

Commands for moving around the filesystem include the following:

pwd: The pwd command allows you to know the directory in which you're located (pwd stands for "print working directory"). For example, pwd in the desktop directory will show ~/Desktop. Note that the GNOME terminal also displays this information in the title bar of its window.

cd: The cd command allows you to change directories. When you open a terminal, you will be in your home directory. To move around the filesystem, use cd.

Manipulating Files and Folders

You can manipulate files and folders by using the following commands:

cp:

More Here




More in Tux Machines

Leftovers: Software

today's howtos

Leftovers: Gaming

  • See How Your Linux System Stacks Up To 15 GPUs For 1080p Gaming
    This week I posted the results of a 15-way graphics card comparison on Ubuntu Linux with AMD Radeon and NVIDIA GeForce graphics cards while running the very latest proprietary drivers. Those tests were focused on 4K resolution testing in order to stress the latest-generation AMD/NVIDIA GPUs. However, if you want to see 1080p numbers, here are some benchmark-friendly results.
  • Victor Vran Action RPG Is Now Available on Steam for Linux
    Victor Vran, an isometric action RPG developed by Haemimont Games and published by EuroVideo Medien on Steam, has been released on Linux as well. The genre of isometric action RPGs is a very well defined one and it incorporates titles like Diablo. Victor Vran has been very well received by the community and the Linux platform has been supported right from the start.

Red Hat News