Category: Bash Tip & Tricks
Last week, I had to produce a short tutorial about screen recording on Mac OS X Mavericks.
To produce the tutorial I had to use QuickTime Player app, but from the GUI there is no way to launch two instances of QuickTime Player app.
The text file manipulation is one of the most common job for a system administrator, today I'm going to show how to insert a string at the beginning of each line in a text file.
Some weeks ago I installed Ubuntu Saucy Salamander on my Acer Aspire 5630 with 1 GB of RAM.
As it happens for other operating systems, the new release of Ubuntu is a resources hungry release. On my old laptop, the performances and the user experience are very poor. So I have modified some settings to get a better linux box.
The text file manipulation is one of the most common job for a system administrator, today I'm going to show how to append a string to each line of a text file.
we have a file named file0.txt and we want to append the string "text to append" to each line of this file.
I use vim every day on every platform I work, Linux, Windows, Mac, FreeBSD and all flavours of Unices
Someone can think I am a masochist, because there are a lot of visual editors more convenient than vim, but at this point my familiarity with him is huge, and I feel at home when I use it!
The core dump file (in a Unix System) consists of the recorded state of the working memory of a computer program at a specific time, generally when the program has terminated abnormally (for example when a crash happens).
The core dump files contains also other key pieces of program state:
The bash completion project provides a lot of interesting functionalities to the bash shell, one of the most used completion tips is when the user hits the tab key to complete the name of a file. Another interesting tip is applied to the cd command, when you type a cd (change directory) and after you hit the tab key you should see only the directories instead of all the files. this can be done using the complete command.