
The UNIX® Standard | www.opengroup.org
May 22, 2025 · Single UNIX Specification- “The Standard” The Single UNIX Specification is the standard in which the core interfaces of a UNIX OS are measured. The UNIX standard includes a rich feature …
What does the line "#!/bin/sh" mean in a UNIX shell script?
Sep 10, 2011 · When you try to execute a program in unix (one with the executable bit set), the operating system will look at the first few bytes of the file. These form the so-called "magic number", …
unix - What is the meaning of "POSIX"? - Stack Overflow
Nov 23, 2009 · Since every Unix does things a little differently -- Solaris, Mac OS X, IRIX, BSD, and Linux all have their quirks -- POSIX is especially useful to those in the industry as it defines a …
What is the proper way to exit a command line program?
2 Take a look at Job Control on UNIX systems If you don't have control of your shell, simply hitting ctrl + C should stop the process. If that doesn't work, you can try ctrl + Z and using the jobs and kill -9 …
shell - Listing only directories in UNIX - Stack Overflow
Sep 8, 2010 · I want to list only the directories in specified path (ls doesn't have such option). Also, can this be done with a single line command?
unix - Why is 1/1/1970 the "epoch time"? - Stack Overflow
Jun 23, 2011 · The definition of unix time and the epoch date went through a couple of changes before stabilizing on what it is now. But it does not say why exactly 1/1/1970 was chosen in the end.
unix - Why should text files end with a newline? - Stack Overflow
Apr 8, 2009 · I assume everyone here is familiar with the adage that all text files should end with a newline. I've known of this "rule" for years but I've always wondered — why?
unix - Sort 'ls' output by name - Stack Overflow
The beauty of Unix-like tools is you can combine them: ls -l | sort -k9,9 The output of ls -l will look like this -rw-rw-r-- 1 luckydonald luckydonald 532 Feb 21 2017 Makefile -rwxrwxrwx 1 luckydonald …
unix - mkdir's "-p" option - Stack Overflow
I'm confused about what the -p option does in Unix. I used it for a lab assignment while creating a subdirectory and then another subdirectory within that one. It looked like this: mkdir -p …
How to find out what group a given user has? - Stack Overflow
Dec 8, 2008 · In Unix/Linux, how do you find out what group a given user is in via command line?