Language Selection

English French German Italian Portuguese Spanish

Linux Cheat sheets I have made

Filed under
Linux 101

Hey! I'd like to let you know that I have published some of the cheat sheets that I have made.

Here is a link to all the cheat sheets on my blog:
cheat sheets at catonmat (my blog)

They include:
* awk (awk, nawk and gawk) programming language cheat sheet,
* sed, unix stream editor, cheat sheet,
* ed, interactive unix text editor, cheat sheet,
* perl's special variable cheat sheet,
* perl's pack/unpack and printf/sprintf function cheat sheet,
* screen vt100 terminal emulator cheat sheet,
* bash vi editing mode (readline) cheat sheet, and
* bash emacs editing mode cheat sheet.

Tell me what you think and I hope you find them useful! Smile

ps. I have 5-10 more to publish, if you are interested, check back and possibly subscribe to my posts via rss feed Smile

Sincerely,
Peteris Krumins

Set Operations in Unix Shell

Hi all, again! Smile

I just published another article that comes with a cheat sheet.
In this article I implemented various set operations by using awk, comm, sort, uniq, diff, join, head, tail, and other Unix utilities.

The article explains 14 various set operations:

  • Set Membership.
  • Set Equality.
  • Set Cardinality.
  • Subset Test.
  • Set Union.
  • Set Intersection.
  • Set Complement.
  • Set Symmetric Difference.
  • Power Set.
  • Set Cartesian Product.
  • Disjoint Set Test.
  • Empty Set Test.
  • Minimum.
  • Maximum.
The article can be read here: Set Operations in Unix Shell

And the cheat sheets can be downloaded here:

What do you think about it?

Sincerely,
P.Krumins
I love mathematics, physics and computer science
http://www.catonmat.net -- good coders code, great reuse

I just published another

I just published another detailed post on working efficiently on bash command line, together with a cheat sheet.

The article starts by reviewing the keyboard shortcuts for history retrieval in emacs and vi editing modes, then it covers the commands for listing and erasing the history, then it goes into discussing history expansion mechanism - event designators, word designators and their modifiers. Finally the guide lists variables and options to modify the default history behavior.

At the end of the guide I include a link to downloadable cheat sheets in pdf, plain text ascii and latex formats.

Read my article "The Definitive Guide to Bash History"

Download links to cheat sheets:
PDF: bash-history-cheat-sheet.pdf
TXT: bash-history-cheat-sheet.txt
TEX: bash-history-cheat-sheet.tex

Sincerely,
P.Krumins
I love mathematics, physics and computer science
http://www.catonmat.net -- good coders code, great reuse

More in Tux Machines

Security Leftovers

10 hot Android smartphones that got price cuts recently

With numerous smartphone getting launched each month, brands always adjust prices to give slightly competitive edge to older smartphone models and also to clear inventories. Here are 10 smartphones that got price cuts recently. Read more

Debian and Ubuntu News

  • Debian Project News - July 29th, 2016
    Welcome to this year's third issue of DPN, the newsletter for the Debian community.
  • SteamOS Brewmaster 2.87 Released With NVIDIA Pascal Support
  • Snap interfaces for sandboxed applications
    Last week, we took a look at the initial release of the "portal" framework developed for Flatpak, the application-packaging format currently being developed in GNOME. For comparison, we will also explore the corresponding resource-control framework available in the Snap format developed in Ubuntu. The two packaging projects have broadly similar end goals, as many have observed, but they tend to vary quite a bit in the implementation details. Naturally, those differences are of particular importance to the intended audience: application developers. There is some common ground between the projects. Both use some combination of techniques (namespaces, control groups, seccomp filters, etc.) to restrict what a packaged application can do. Moreover, both implement a "deny by default" sandbox, then provide a supplemental means for applications to access certain useful system resources on a restricted or mediated basis. As we will see, there is also some overlap in what interfaces are offered, although the implementations differ. Snap has been available since 2014, so its sandboxing and resource-control implementations have already seen real-world usage. That said, the design of Snap originated in the Ubuntu Touch project aimed at smartphones, so some of its assumptions are undergoing revision as Snap comes to desktop systems. In the Snap framework, the interfaces that are defined to provide access to system resources are called, simply, "interfaces." As we will see, they cover similar territory to the recently unveiled "portals" for Flatpak, but there are some key distinctions. Two classes of Snap interfaces are defined: one for the standard resources expected to be of use to end-user applications, and one designed for use by system utilities. Snap packages using the standard interfaces can be installed with the snap command-line tool (which is the equivalent of apt for .deb packages). Packages using the advanced interfaces require a separate management tool.
  • Ubuntu 15.10 (Wily Werewolf) Reaches End Of Life Today (July 28)
  • Ubuntu MATE 16.10 Yakkety Yak Gets A Unity HUD-Like Searchable Menu
    MATE HUD, a Unity HUD-like tool that allows searching through an application's menu, was recently uploaded to the official Yakkety Yak repositories, and is available (but not enabled) by default in Ubuntu MATE 16.10.

Tablet review: BQ Aquaris M10 Ubuntu Edition

As employees have become more and more flexible in recent years thanks to the power and performance of mobile devices, the way we work has changed dramatically. We frequently chop and change between smartphones, tablets and laptops for different tasks, which has led to the growth of the hybrid market – devices such as Microsoft’s Surface Pro 3 and Apple’s iPad Pro – that provide the power and functionality of a laptop with the mobility and convenience of a tablet. Read more