The history of Unix systems and their main components.

learn more… | top users | synonyms

1
vote
1answer
28 views

Sourcing a redistributable script by default

I am creating a bash script which I wish to release on github. The script needs to access the command history but this is not possible without sourcing that script. I don't want users to put it in ...
1
vote
1answer
257 views

Why has '-' been chosen as the backup file suffix for certain Unix system files?

Example: /etc/group-, /etc/passwd- Is there any motivation behind choice of the - sign (e.g. easier to recognize, process, etc.)?
5
votes
1answer
125 views

Why does 'find -exec cmd {} +' need to end in '{} +'?

Preface: I understand the difference between -exec {} \; & -exec {} +. I also don't have a problem as such, I am just curious about the semantics of find. When ending the -exec argument with + ...
2
votes
0answers
54 views

fork and wait - Unix v6 [migrated]

Here is the last part I do not understand in the source code of old unix v6 command if. Source: http://v6shell.org/history/if.c, with Syntax-Highlighting: http://pastebin.com/bj0Hvfrw if(eq(a, "{")) ...
19
votes
3answers
217 views

How did the Linux Kernel project track bugs in the Early Days?

We all know that Linus Torvalds created Git because of issues with Bitkeeper. What is not known (at least to me) is, how were issues/tickets/bugs tracked up until then? I tried but didn't get anything ...
3
votes
1answer
52 views

Has Unix been used by accountants and other non-programmers at AT&T in the 70s and 80s?

In the short documentary, Ken Thompson and Dennis Ritchie Explain UNIX (Bell Labs) it is mentioned, that Unix is not only an OS, but also a system around which a community could form. I find ...
19
votes
1answer
700 views

What shells were used on early unix systems?

According to wikipedia, the Bourne shell was introduced in 1977 and C shell in 1978, but unix itself dates back to 1969. If you were using a unix system before 1977, what shell would you have been ...
0
votes
1answer
44 views

Syntactic differences in cp -r and how to overcome them

Let's say we are in a blank directory. Then, the following commands: mkdir dir1 cp -r dir1 dir2 Yield two (blank) directories, dir1 and dir2, where dir2 has been created as a copy of dir1. ...
5
votes
3answers
620 views

What's the rationale to have option to use power of 1000 instead of 1024 in df?

I'm curious about df -H and df -h, then man df tells me: -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G) -H, --si likewise, but use powers of ...
10
votes
2answers
144 views

Possible to see dead proccesses?

In man ps, it clearly states the different states a process can have on Linux. D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptible sleep (waiting for an ...
0
votes
1answer
49 views

What does “dd” stand for? [duplicate]

What does dd stand for? I've always referred to it colloquially as "Disk Destroyer", but what are the "official" words that make up the acronym/command? According to this link and this link it could ...
86
votes
3answers
6k views

Why not use “which”? What to use then?

When looking for the path to an executable or checking what would happen would you enter a command name in a Unix shell, there's a plethora of different utilities (which, type, command, whence, where, ...
3
votes
1answer
89 views

The history of ../

I was wondering if there's a known reason behind the use of .. to represent the parent of the current directory in most operating systems. The reason I ask this question is because I think that the ...
5
votes
1answer
59 views

What is ENOANO (No Anode) intended to be used for?

This question is merely for idle curiosity, but I suspect others will be curious as well. Searching through errno.h (of Linux 2.6) I found ENOANO "No Anode". There is no sign of a "No cathode" error. ...
0
votes
0answers
83 views

Specifying numeric ranges in zsh history

According to the docs I can tell the zsh history to print lines in a range. The docs say "history [first [last]]" I've tried "history a b" but that gives a too many arguments error. I've also tried ...
-3
votes
3answers
256 views

Why is “shebang” called “shebang”?

Does "shebang" mean "bang she"? Why not "hebang" as "bang he"?
3
votes
1answer
120 views

Can somebody list the earliest public source-code repositories and when they opened? [closed]

Nowadays people only know github, some people know gitlab, some people know bitbucket (mercurial) but other than that people seem to have forgotten there were others as well. I know about freshmeat ...
6
votes
3answers
204 views

When were the first graphical app installers created for Linux distributions

Having a discussion at work with a colleague, and he is claiming graphical installers for *nix environments have only been available for the last few years, but I can't find any solid information on ...
0
votes
3answers
1k views

Who wrote the “Linux kernel” (Linus Torvalds and his team)?

Who are the authors of the pure Linux kernel from scratch, which was integrated with GNU tools and formed the full GNU/Linux Operating system in the 1990s? I have read some wiki articles but I haven't ...
0
votes
0answers
21 views

history - bash, dash, zsh and .profile [duplicate]

For a long time I have been wondering about the existence of many shells in GNU/Linux. To make the question a bit focused I have used only three shells - bash, dash and zsh. From wikipedia articles ...
9
votes
1answer
142 views

Why didn't GNU Info succeed man?

As per my knowledge/understanding both help and man came at the same time or have very little time difference between them. Then GNU Info came in and from what I have seen is much more verbose, much ...
25
votes
4answers
2k views

What is GNU Info for?

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?
535
votes
2answers
121k views

Why was '~' chosen to represent the home directory?

I have often wondered why the ~ represents the home directory of a user. Is there a reason behind this, or is it just some infrequently used character?
22
votes
5answers
2k views

What aspects of Plan 9 have made their way into Unix?

Plan 9 was developed by Bell Labs as a successor to Unix. Although for various reasons it never quite materialized as such, a fair amount of development still went into Plan 9. My question is, what ...
1
vote
1answer
73 views

Use case for /usr/bin/lessecho

I can not come up with an example of how I could/would use lessecho. The description in the man page is fairly straight forward but is not helping me come up with a use case: DESCRIPTION ...
30
votes
3answers
6k views

What is the purpose of the hash command?

If you run hash it shows the path of all commands run since the hash was last reset (hash -r) [root@c04c ~]# hash hash: hash table empty [root@c04c ~]# whoami root [root@c04c ~]# hash hits ...
3
votes
1answer
66 views

BSD Net/1 was a free fully operating system?

I think that the old BSD Net/1 was not a fully operating system, but an add-on to 4.3BSD for VAX, as I realize from http://gunkies.org/wiki/Net/1 and http://gunkies.org/wiki/Net/2 Is it right? In ...
2
votes
3answers
76 views

Why is NetworkManager package name upper case?

All other software packages are lower case, so why NetworkManager upper case?
11
votes
1answer
794 views

What do all the pictures on the front of the “Unix and Linux System Administration Handbook” represent? [duplicate]

I'm a newcomer to Unix and Linux, and I've been trying to get up to speed on everything. One of the guides I've used is the "Unix and Linux System Administration Handbook" It's a pretty great book, ...
4
votes
2answers
241 views

What are all the items on the cover of the “Linux Administration Handbook”?

As I mentioned in What do all the pictures on the front of the "Unix and Linux System Administration Handbook" represent? I'm fairly new to Linux and Unix. @jasonwryan provided an excellent ...
10
votes
2answers
505 views

/usr/bin/ptx: Can you provide a use case or two?

I was going through the list of files included in coreutils and I was able to come up with an example of how I could personally use all of the commands provided except for ptx. Can you give one or two ...
1
vote
2answers
188 views

Is the GNU Coreutils copied from Unix?

Linux itself is not a copy of Unix because one can argue it simply conforms to the POSIX standard. However, how about the GNU Coreutils which contains utilities like ls, cd and rm, etc...? Is there ...
10
votes
4answers
523 views

The future of OpenSolaris

since OpenSolaris is more or less abandoned by Oracle, is there a nice alternative that implements the unique features of OSOL? ZFS is one thing, but I liked the image creation system, that let you ...
21
votes
1answer
486 views

When and how was the double-dash (--) introduced as an end of options delimiter in Unix/Linux?

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 ...
6
votes
2answers
205 views

Regex `/pattern/g` and ed `:g/pattern/`: which came first, and why `g`?

The g option (e.g. s/pattern/replacement/g) for many tools that use regex-style pattern matching and the :g command in ed, ex, vi, and vim have pretty similar usage and meaning: match the given regex ...
17
votes
2answers
2k views

Why is JFS so obscure?

When I first got into using Slackware years ago I quickly learned to love JFS over ext3 or reiserfs given that it was reliable and if there was an unclean shutdown, its disk checking was very very ...
1
vote
1answer
93 views

How would you get all users history

I know there is the $HISTFILE variable where i can find the currently logged in users history-file, but how can i be sure to get every history file on the server I was thinking of the ...
16
votes
2answers
2k views

Who is responsible for the Linux kernel?

As of today, there are many Linux distributions like Ubuntu, Fedora, Gentoo, Mint, Debian, etc. These distributions update at different cycles. Ubuntu seems to update its kernel weekly or monthly, ...
31
votes
5answers
842 views

How to save a command you entered without executing it? [duplicate]

Every Linux user has experienced this annoying thing: you begin typing a long and boring command, then realise you should have executed another one before. How to save the first one to execute it ...
75
votes
3answers
11k views

Why are tar archive formats switching to xz compression to replace bzip2 and what about gzip?

More and more tar archives use the xz format based on LZMA2 for compression instead of the traditional bzip2(bz2) compression. In fact kernel.org made a late "Good-bye bzip2" announcement, 27th Dec. ...
3
votes
3answers
140 views

History of Bash globbing

Is there a historical reason why Bash "globbing" and regular expressions are not identical? For example, I believe that in Bash [1-2]* matches anything that starts with a 1 or a 2 followed by anything ...
18
votes
1answer
948 views

If chown can change groups, why was chgrp created?

So there's chown which lets you change the owner and group of files and/or directories. But there's also chgrp which only changes the group. Why was chgrp created? Isn't it redundant?
29
votes
3answers
7k views

What did Ken Thompson mean when he said, “I'd spell create with an 'e'.”

Ken Thompson, the creator of Unix, was once asked what he'd do if he had it to do over again. He said, "I'd spell create with an 'e'." What is Ken referring to? Is there a "creat" command?
10
votes
4answers
4k views

Evolution of Operating systems from Unix

Can you explain the evolution hierarchy of operating systems (Linux and Windows) from Unix?
3
votes
1answer
64 views

what is the original command to create a file? [closed]

we can create a file by a lot of commands: cat > foo.txt echo 'This is a test' > foo.txt touch foo.txt vi foo.txt (or any text-editor) my questions are: What is the original command to ...
85
votes
6answers
26k views

Where did the “wheel” group get its name?

The wheel group on *nix computers typically refers to the group with some sort of root-like access. I've heard that on some *nixes it's the group of users with the right to run su, but on Linux that ...
44
votes
4answers
4k views

Why does no one use the true Bourne shell as /bin/sh?

I've noticed that basically no system I've ever worked with has /bin/sh as a real executable. It's always a symlink to dash, bash in POSIX mode, or something similar. Why? What are the disadvantages ...
4
votes
2answers
143 views

Why wasn't `creat` called `create`? [duplicate]

Was it just to save typing one letter? I don't think C function names were limited to five characters at the time, as strcmp and unlink are probably just as old. I'm hoping someone who was involved ...
4
votes
1answer
241 views

Presentation Tools Back In The Day

Which tools were around »back in the day« to aid presentation Unix/Linux environments? I just wondered how somebody would accomplish something like slides in a e.g. text-based environment or low-end ...
0
votes
1answer
668 views

What does chmod stand for?

In order to memorize a command, it is usually a good idea to learn where it's name comes from. For example, cp comes from copy. usermod means "User Modifiy" (at least I guess so). Where does chmod ...