Some weeks ago I installed Ubuntu Saucy Salamander on my Acer Aspire 5630 with 1 GB of RAM.
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.
Sometimes you could have the need of numbering the lines of a text file. If the text file is very short you can do this job by hand, but if the number of lines of the text files is high this is a tedious job.
Almost all of Unix flavors provides the nl tools.
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.
The shell provides a lot of useful capabilities, and it is not very difficult to learn, or it is better to say "not more than C/C++ language". In these two language the user has to learn the language and also the compiler, and if he want to develop large projects it has to learn, also, an IDE.