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

Mozilla Marches Ahead with Ads for Firefox

This November, Mozilla is up for renegotiation with Google for placement of Google search as the default search in Firefox and for the related subsidies that Google pays Mozilla, which reached almost $300 million last year. That comprised the majority of Mozilla's income. With Chrome establishing itself as a leader in the browser wars, its unclear what relationship Google will continue to pursue with Mozilla. Read more

What happens when a non-coder tries to learn Linux

The Linux Foundation has created all of the content for the course, including the videos, written text, activities, and labs. It's clear to me that their content team has made an effort to space out the videos between the written material in a way that gives you a break from endless reading. Also, each video is only approximately 30 seconds to 2 minutes long. They avoid getting into the weeds too much at once, giving you chunks of knowledge, letting you test it out, then moving on to another topic. Each chapter points out that as the course progresses, you will go into further depth with each topic. Read more

Jailhouse 0.1 released

This release particularly means full exploitation of VT-d DMA and interrupt remapping to isolate assigned PCI devices from the hypervisor and foreign cells. Moreover, the usability of Jailhouse was greatly improved by the introduction and continuous extension of a generator for system configuration files. Finally, a framework for writing basic cell applications is available now. With a few lines of C code you can set up timer interrupts, read clocks or configure PCI devices for the use in simple bare-metal real-time applications. Read more

Ubuntu Launcher 0.5.5 for Android Will Transform Your Phone in Ubuntu – Gallery

Many users might have something against the Unity desktop environment that's being used in Ubuntu, but the truth is that Unity comes with a great app launcher. Coincidentally, the same kind of launcher might work very well on phones and a similar implementation is being done for Ubuntu Touch. Read more