Language Selection

English French German Italian Portuguese Spanish

Bash Tips and Tricks

Filed under
HowTos

We haven’t done one of these threads in a while have we? Let’s share our favorite shell tips and tricks. I’ll talk about Bash because that’s what I use in my day-to-day work.

History

Here is an idea – save all the histories! We are running modern computers with lots of memory and storage space: we might as well preserve our bash history forever (or at the very least for a very long time). This gives us an opportunity to do reverse search, and thus avoid typing same commands over and over. It also helps with forensics, in case you need to find out what went wrong with your system.

rest here




More in Tux Machines

Parsix GNU/Linux 8.0 Test 3 Out Now with GNOME 3.16.3 and Linux Kernel 4.1.6 LTS

The Parsix GNU/Linux Project has just announced the release and immediate availability for download and testing of the third development milestone towards the Parsix GNU/Linux 8.0 (Mumble) operating system. Read more

$15 Orange Pi PC hacker SBC packs 1.6GHz quad-core SoC

Shenzhen Xunlong tipped a $15 “Orange Pi PC” SBC with a 1.6GHz quad-core Cortex-A7 SoC, Pi-compatible expansion, HDMI, 100Mbit Ethernet, quad USB, and more. Late last year and early this year, Shenzhen Xunlong Software introduced a family of open-spec, Linux- and Android-ready “Orange Pi” single board computers. The first two, the $49 Orange Pi and $40 Orange Pi Mini, were built with the Allwinner A20 SoC, featuring a dual-core, 1GHz Cortex-A7 CPU and PowerVR SGX544MP2 GPU. They were soon followed by the $59 Orange Pi Plus, based on a new, low cost quad-core, 1.6GHz Cortex-A7 Allwinner H3 SoC, featuring a Mali-400 MP2 GPU. Read more

Mozilla and Add-ons

  • Firefox 40.0.3 Brings Bug-Fixes Only
  • Reactions to Mozilla’s announcement about upcoming Firefox add-on changes
  • Mixed Feelings Greet Mozilla's Add-ons Overhaul
    Also new is a requirement for add-ons to be reviewed and signed by Mozilla before their deployment. Back in April, Mozilla's security lead Daniel Veditz published The Case for Extension Signing, addressing the volume of feedback their announcement had generated from the developer community. Veditz said the internet browsing experience for tens of thousands of people was being shaped by "third party add-ons in ways they did not choose and that benefit third parties, not the user."
  • Please, God, Don't Let Mozilla Ruin Firefox
    A week ago, Mozilla shed some light on its future, laying out a plan on how the browser is going to dramatically change in the upcoming months. While most of us understood "Chrome extensions were coming to Firefox," it is not as simple as we all thought.
  • The future of Firefox Add-ons - Nope
    Once in a while, I must give my sermons, to help you figure out how things work. Why this is not going to be good for us, the users, and why we must duly prepare, in advance. As it happens, Mozilla does not fully understand the market. It truly does not. When you make decisions based on incorrect data, you are bound to make a disastrous choice. Let's try to amend this, if possible.

Leftovers: Ubuntu