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: Security

Phoronix on Graphics

  • A Significant Linux 4.7 Kernel Performance Regression Has Now Been Resolved
    There was a 30~40% drop in some of the SPEC Java benchmarks when using the Linux 4.7 development code, but fortunately this regression has now been discovered and addressed.
  • What You Need To Do To Your Linux System If You Want Open-Source RX 480 Support
    If you are hoping to get your hands on a Radeon RX 480 "Polaris" graphics card when they begin shipping in a few days, here are the upgrades you need to make to your Linux system if you are wanting to make use of the open-source AMD Linux graphics stack.
  • Some Of The AMDGPU Changes Being Worked On For Linux 4.8
    The AMD developers still have a few more weeks to get their new feature material ready for the Linux 4.8 kernel while here is an early look at some of the code merged so far. One of the changes we're looking forward to most with the AMDGPU DRM of Linux 4.8 is the OverDrive overclocking support. Finally the ability with the open-source AMD stack to overclock your GPU easily, but it's only supported for AMDGPU-capable hardware. There are commits though in the 4.8 W.I.P. branch for enabling the overclocking for Sea Islands with that experimental AMDGPU support. Another addition since the original AMDGPU overclocking support is there's now support for video memory overclocking too. Similar to the GPU core re-clocking, the memory overclocking can be done up to 20% in 1% steps.
  • Dolphin Emulator Is Working On A Vulkan Backend

Android Leftovers