Tags » Bash

Hello world!

  • AWK
BEGIN { print "Hello, world!" }
  • Bash
echo "Hello world"
  • C
#include <stdio.h>

int main()
    printf("Hello, world!\n");
  • C++
#include <ioistream>

int main()
    std::cout &lt;&lt; "Hello, world!\n";
… 96 more words

Lord, What Fools These Mortals Be!

Somehow It Was Like Watching a Book of Nursery Rhymes…

I was mistaken, my fellow Reign subjects, when I supposed that this show has jumped the shark. 1,537 more words


Using the Terminal - Part 7: Wildcards and Glob Patterns

I have mentioned and used them already a few time, so this time I want to briefly explain the globbing concept in your terminal in more detail. 1,193 more words

Beginner Level

Using the Terminal - Part 6: Chaining Commands and Writing to Files

I have already used pipes in some of the previous posts, without going into detail. The terminal knows several way to chain commands, it’s not much different than writing a script where you would do something like this: 1,269 more words

Beginner Level

Detección de hardware con lspci, dmesg y /proc

Antes que nada es buena cosa saber que los desarrolladores de controladores de Linux lo hacen a partir del chipset de los dispositivos. También es clarificador saber que muchos fabricantes de hardware utilizan los mismos… 777 more words


Bash script for selecting tmux session


You want to list and select from several available tmux sessions


If necessary, install iselect:

sudo apt-get install iselect

Create an executable script called… 178 more words


Cygwin : $'\r': command not found

If you are trying to execute some shell script using Cygwin and getting the error

$’\r': command not found

that means, shell is not able to read carriage return properly. 50 more words