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

Ubuntu GNOME 16.04.1 LTS Released but Still Doesn't Uses the GNOME 3.20 Stack

As we reported last week, Canonical published the first point release of its long-term supported Ubuntu 16.04 LTS (Xenial Xerus) operating system, offering users new installation mediums with all the updates made available since April 21, 2016. Read more

KDE Applications 16.08 Software Suite Is in Beta, Final Release Coming August 18

Now that the third and last maintenance update of the KDE Applications 16.04 software suite has debuted, it's time for us to take the Beta build of the next major KDE Applications release for a test drive. Read more

Android Leftovers

Lennart Poettering Announces systemd 231 Init System [sic] for GNU/Linux Distributions

Today, July 25, 2016, systemd creator Lennart Poettering has proudly announced the release and general availability of the systemd 231 init system for major GNU/Linux OSes. Bringing lots of fixes and numerous additions, systemd 231 is now the most advanced version of the modern and controversial init system that has been adopted in the last few years by more and more Linux kernel-based operating systems, including Fedora, Ubuntu, Arch Linux, openSUSE, Red Hat Enterprise Linux, and many others. Read more