Object-oriented shell for *nix
Preface: I love bash and have no intention of starting any sort of argument or holy-war, and hopefully this is not an extremely naive question.
Preface: I love bash and have no intention of starting any sort of argument or holy-war, and hopefully this is not an extremely naive question.
Is there a way to add/update a file in a tar.gz archive? Basically, I have an archive which contains a file at /data/data/com.myapp.backup/./files/settings.txt and I’d like to pull that file from the archive (already done) and push it back into the archive once the edit has been done. How can I accomplish this? Is it problematic because of the . in the path?
So recently a Debian 5.0.5 installer offered me to have separate /usr, /home, /var and /tmp partitions (on one physical disk).
With an increasing number of archive/compression file formats, is there a single free/open-source command line tool to rule them all? Perhaps something with a consistent / unified set of flags? (note my friendly implicit reference to tar)
I would like to install chef via apt non-interactively, but by default, apt installation brings up this prompt:
I know that by using the "-A NUM" switch I can print specific number of trailing lines after each match. I am just wondering if it’s possible to print trailing lines until a specific word is found after each match. e.g. When I search for “Word A” I want to see the line containing “Word A” and also the lines after it until the one containing “Word D”.
I want to dynamically create a sequence of strings by manipulate an array of elements and create some arithmetic procedure.
And now I am unable to chmod it back.. or use any of my other system programs. Luckily this is on a VM I’ve been toying with, but is there any way to resolve this? The system is Ubuntu Server 12.10.
All of the information I currently find on this matter is insufficient for my taste. It is either outdated, misleading or even wrong, seems overly complicated or not covering this specific question.
I’m trying to check if an input is an integer and I’ve gone over it a hundred times but don’t see the error in this. Alas it does not work, it triggers the if statement for all inputs (numbers/letters)