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

Fedora 23 will feature a Cinnamon Spin

The Cinnamon desktop is the only popular desktop environment that Fedora does not have a Spin for. But that should change, unless something really bad happens, starting from Fedora 23, which is scheduled for release later this October. Read more

Entroware Now Sells the Ubuntu-Powered Proteus with a New Card

Proteus is a powerful laptop from Entroware that ships only with Ubuntu and Ubuntu MATE. Its makers have just announced that they are now equipping the Proteus model with a video card at no extra cost for new users. Read more

Vector Light Linux 7.1 Is Based on Slackware and IceWM

Vector Light Linux, a distribution based on Slackware that uses the IceWM window manager by default, has been released and is now available for download. Read more

New FCC Rules May Prevent Installing OpenWRT on WiFi Routers

Many cheap WiFi routers are sold with the vendor firmware, but the most popular ones likely also support OpenWRT, which some users may prefer as it is much more customizable. However, this may soon become more difficult according to a talk at the upcoming “Wireless Battle of the Mesh” which will take place on August 3-8 in Maribor, Slovenia. Read more