Linux CLI HOWTO by Ciro Santilli 35 Updated +Created
Command line utility by Ciro Santilli 35 Updated +Created
List of command line utilities by Ciro Santilli 35 Updated +Created
GNU parallel by Ciro Santilli 35 Updated +Created
The author Ole Tange answers every question about it on Stack Exchange. What a legend!
This program makes you respect GNU make a bit more. Good old make with -j can not only parallelize, but also take in account a dependency graph.
Some examples under:
man parallel_exampes
To get the input argument explicitly job number use the magic string {}, e.g.:
printf 'a\nb\nc\n' | parallel echo '{}'
sample output:
a
b
c
To get the job number use {#} as in:
printf 'a\nb\nc\n' | parallel echo '{} {#}'
sample output:
a 1
b 2
c 3
c 3
{%} contains which thread the job running in, e.g. if we limit it to 2 threads with -j2:
printf 'a\nb\nc\nd\n' | parallel -j2 echo '{} {#} {%}'
sample output:
a 1 1
b 2 1
c 3 2
d 4 1
The percent must be a reference to "split the inputs module the number of workers", and modulo uses the % symbol in many programming languages such as C.
To pass multiple CLI arguments per command you can use -X e.g.:
printf 'a\nb\nc\nd\n' | parallel -j2 -X echo '{} {#} {%}'
sample output:
a b 1 1
c d 2 2
htop by Ciro Santilli 35 Updated +Created
Ciro Santilli's psychology and physiology by Ciro Santilli 35 Updated +Created
Ciro Santilli's energy throughout the day varies as follows:
  • morning: highest
  • 11AM: peak exercise performance
  • after lunch: brain death. Possibly due to Ciro's partial Spanish descent?
  • late afternoon and evening: can do some stuff
Ciro has low tolerance to sleep deprivation which makes him very irritable, and low ability to sleep if there is any light. It must have to do with those damned ganglion cell photoreceptors. On the other hand, Ciro Santilli's wife can sleep without any problems with some morning light! It is definitely genetic. Ciro conjectures that people from very Northern parts of the world must have a gene that allows them to sleep even if there is some light, while more equatorial people don't. Maybe: pubmed.ncbi.nlm.nih.gov/33049062/
Ciro has mild olfactory synesthesia for star anise (八角, bajiao), which is widely used in Chinese cuisine and makes Ciro think uncontrollably of the color blue. Ciro does not have any other known synesthesias. He is also prone to nerd sniping form time to time.
Ciro is a reptilian-like being with cold hands and feet and low blood pressure. For this reason he believes that he will die of cancer or some respiratory problem. If the Chinese government doesn't get him first that is. This also partly explains why Ciro is not a big fan of swimming.
Besides Chinese food, Ciro really likes eating fruits and roasted nuts, maybe partly because he was born in Brazil, and partly because of monkey nature, see his Chinese name. At home he is known as "水果大王" (the big king of the fruits). Ciro is also a sucker for yoghurt (natural without added sugars and full fat, fat-tree yoghurt is terrible, often eaten with fruits). Ciro's "favorite drink" could be tonic water with freshly squeezed lemon. Tied with fresh fruit juices. Chocolate-wise, although not a huge fanatic, a Lindt dark chocolate with whole hazelnut pieces bar will do the job.
Ciro does not like receiving or giving gifts on expected social situations like birthdays or Christmas. Ciro believes that every day is equally precious, and can be a day to give, be it through awesome open source software contributions, or if you find something that your friend will like
Ciro has some respiratory allergies. When he was around 5, he had relatively serious asthma crisis which scared his parents to death. Throughout his life, he appears to be allergic at an intermediate level to: mold or dust mites (or whatever it is that old books/pillows have), cats (itching on touch), hay fever (in May in the UK, likely grass pollen). But even outside of hayfever season, Ciro's nose is constantly either running in the cold, or often partially blocked while sleeping throughout the year. Ciro believes however that this also gives him higher resistance to viral infections, since it has been many many years since he had a cold/flu, and when everyone in the office is going down with it, he's just fine. Ciro wonders if his active immune system will actually kill off cancers early, which he ranks as his most likely causes of death, along with respiratory and gastro-intestinal problems. Ciro has low blood pressure and cannot get fat, so cardio vascular problems seem much less likely.
Ciro is generally democrat due to his high compassion level. He believes that politics is highly genetically determined, and that just like you enter a room full of people and immediately like some and dislike others, the same goes for politics. People just vote for whoever they want to see more of because their way of speaking makes them feel good. There is not rationality involved in it at all.
Ciro self diagnoses a slight graphomania in the early 2020's. This is largely what led him to create OurBigBook.com, and contribute to Stack Overflow. Literature Nobel Prize laureate Naguib Mahfouz also suffers from the condition however, so maybe good can also come out of it:
If the urge to write should ever leave me, I want that day to be my last.
When Ciro was quite young, maybe around 7-10, when he got very angry or sad for some stupid reason (bullying perhaps? Ciro forgot), he would have a psychosomatic manifestation: his spine would become visibly curved sideways (scoliosis). While writing this paragraph, Ciro Googled it, and found e.g. medium.com/@michaelrosen_94192/the-root-cause-of-scoliosis-5c461002b634 that describes:
The Root Cause of Idiopathic Scoliosis
It is proposed that Adolescent Idiopathic Scoliosis (AIS) is a condition created by emotional stress. Evidence is presented that unresolved emotional stress can cause unbalanced tensions in the fascia and growing muscles that gradually deform the spinal column.
so it is a somewhat well known thing! Incredible. Can you imagine the level of the passions that lead to such physical deformations? But of course, it was all for nothing.
Jundiaí by Ciro Santilli 35 Updated +Created
Ciro Santilli lived there from 1995 to 1997.
less (Unix) by Ciro Santilli 35 Updated +Created
ncdu by Ciro Santilli 35 Updated +Created
rsync by Ciro Santilli 35 Updated +Created
Ciro Santilli's psychology by Ciro Santilli 35 Updated +Created
Text-based user interface by Ciro Santilli 35 Updated +Created
The perfect Middle Way between command-line interfaces and GUIs. A thing of great beauty.
Graphical user interface by Ciro Santilli 35 Updated +Created
Japanese Brazilians by Ciro Santilli 35 Updated +Created
Japanese Brazilians are either model children, or they're good for nothings. There is no intermediate.
Display manager by Ciro Santilli 35 Updated +Created
Check which you you have:
systemctl status display-manager.service
Tested on Ubuntu 23.10 I see:
● gdm.service - GNOME Display Manager
     Loaded: loaded (/lib/systemd/system/gdm.service; static)
     Active: active (running) since Sun 2023-12-24 10:34:50 GMT; 23min ago
    Process: 1827 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)
   Main PID: 1850 (gdm3)
      Tasks: 4 (limit: 71817)
     Memory: 6.8M
        CPU: 119ms
     CGroup: /system.slice/gdm.service
             └─1850 /usr/sbin/gdm3
which means I have GNOME Display Manager.
GNOME Display Manager by Ciro Santilli 35 Updated +Created

Pinned article: ourbigbook/introduction-to-the-ourbigbook-project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Video 1.
Intro to OurBigBook
. Source.
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
    Video 2.
    OurBigBook Web topics demo
    . Source.
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    • to OurBigBook.com to get awesome multi-user features like topics and likes
    • as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
    Video 4.
    OurBigBook Visual Studio Code extension editing and navigation demo
    . Source.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact