What’s the difference between “dir” and “ls”?
I have compared the man pages of dir and ls and they seem to be exactly the same. Both are part of GNU coreutils and “list directory contents”.
I have compared the man pages of dir and ls and they seem to be exactly the same. Both are part of GNU coreutils and “list directory contents”.
I understand what GNU Info is and how to use it, but what is it for? Why does it exist in parallel to the man pages? Why not write detailed man pages rather than provide a separate utility?
I was going through an article on GNU which goes something like below
I’ve read a lot on Unix & Linux about BSDs and GNU, etc. But I still don’t understand what some actual, practical differences are between BSD and GNU userlands, despite the fact that they are often mentioned. Can someone elaborate?
So I’ve been using ‘sed’ on linux for a while, but have had a bit of difficulty trying to use it on OSX since ‘POSIX sed’ and ‘GNU sed’ have so many little differences. Currently I’m struggling with how to insert a line of text after a certain line number. (in this case, line 4)
On the GNU Project webpage, there’s a subsection called “All GNU packages” which lists the various software in the GNU project.
I wrote a little bash script that made me stumble across the “Year 2038 Bug”. I did not know about this problem before and I just dare on posting the --debug output I got from date when my script tried to calculate across this magic date (03:14:07 UTC on 19 January 2038).
I don’t think the shell/utilities in historical Unix nor in something as “recent” as 4.4BSD supported using a double-dash(or two consecutive hyphens) as an end of options delimiter. With FreeBSD, you can see for instance a note introduced in the rm manpages with the 2.2.1 release(1997). But this is just the documentation for one command.
GNU is an operating system that is free software—that is, it respects
users’ freedom.
I’ve always used GNU tar. However, all GNU/Linux distributions that I’ve seen ship bsdtar in their repositories. I’ve even seen it installed by default in some, IIRC. I know for sure that Arch GNU/Linux requires it as a part of basedevel (maybe base, but I’m not sure), as I’ve seen it in PKGBUILDs.