Questions tagged [unix]

Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.

Excerpt from the Wikipedia page

Unix was originally written in assembly but has since been rewritten in C. It has been branched many times both commercially and open source. One popular variant is the BSD variant which originated from the University of California, Berkeley. It also gave rise to Linux.

Notable variants

  • Silicon Graphics - Irix
  • IBM - AIX
  • Sun Microsystems - Solaris
  • Hewlett Packard - HP-UX

Unix is officially trademarked as UNIX.

Unix on Wikipedia

1949 questions
14
votes
5 answers

What are the practical differences between Interix and Cygwin?

Both Interix and Cygwin appear to provide a Unix-like user environment in Windows. What are the practical differences between the two, in terms of, for example: Unix-like "feel" Performance Package availability/ease in compiling random software…
ithinkihaveacat
  • 1,624
  • 3
  • 14
  • 18
13
votes
2 answers

What's the purpose of setgid directory?

I know how setgid works, but I don't know why it is designed, is there any example to illustrate what problems it solves?
Lenik
  • 792
  • 8
  • 13
  • 27
13
votes
6 answers

How do i find out which Fedora version I'm running from the cli (not uname -a)?

I want to know if the box is Fedora Core 4 or Redhat 9, or CentOS, etc... not if it has Kernel 2.6.x
Zak
  • 1,032
  • 2
  • 15
  • 25
13
votes
3 answers

Is "sudo su -" considered a bad practice?

Background I know the difference between su -, sudo su -, and sudo : su - - switches user to root, requires the root password sudo su - - switches user to root, requires only the current user's password sudo - grants root access…
Kingand
  • 253
  • 1
  • 2
  • 6
13
votes
6 answers

How to properly shutdown or reboot a Unix/Linux server

What is the correct way to turn off a Unix/Linux server? From my googling, I have learned (hopefully) the following: shutdown: I should use this, with the parameter -h to halt, or the parameter -r to reboot halt: halts the computer (stops the…
Tony Stark
  • 287
  • 1
  • 5
  • 10
13
votes
1 answer

Can you help me with my software dependency issue?

This is a Canonical Question about Compile Dependencies and Package Management. I have a question regarding compiling ports/software or installing RPMs on my *nix server. When I try to do this I receive lots of messages about missing…
dunxd
  • 9,632
  • 22
  • 81
  • 118
13
votes
6 answers

Where do you normally keep your UNIX/Linux scripts?

There are numerous scripts that I have written for my server. Some of them are in my ~/scripts and some of them are in application directories. I am just wondering is there a directory that you would normally use to keep your shell scripts?
Kiril
  • 271
  • 1
  • 2
  • 7
13
votes
4 answers

TCP monitoring on a server: comparing netstat vs lsof?

I'm monitoring the TCP stack on a server hoping to generically infer problems with application on the box. My first inclination is to measure the number of sockets in all reported states (LISTEN,ESTABLISHED,FIN_WAIT2,TIME_WAIT, etc) and detect some…
ericslaw
  • 1,572
  • 2
  • 13
  • 15
13
votes
9 answers

How do I master the UNIX find command?

I think I am fairly advanced in my use of find but EVERY time I use it I cannot for the life of me remember the method to close the -exec option. I spend a good deal of time reading every time I use it. Am I simply not using it enough or expecting…
ojblass
  • 646
  • 1
  • 9
  • 17
13
votes
14 answers

Is it possible to prevent SCP while still allowing SSH access?

Using Solaris and Linux servers and OpenSSH, is it possible to prevent users from copying files using "scp" while still allowing shell access with "ssh"? I realize that 'ssh $server "cat file" ' type file accesses are much harder to prevent, but I…
Jason
13
votes
5 answers

What are the benefits of the Logical Volume Manager

What are the features and potential benefits of Logical Volume Manager beyond what is detailed on its Wikipedia page?
LanceBaynes
  • 3,087
  • 9
  • 29
  • 31
13
votes
9 answers

Securing an Entry-Level Admin Job

Possible Duplicate: What a beginner should know/learn for sysadmin job? I have been looking for over a year for a network admin position. I have a degree in computer networks, as well as A+ and Network+ certifications. I have worked with a UNIX…
Joshua Nurczyk
  • 748
  • 6
  • 17
12
votes
2 answers

execute su -c over ssh

I am trying to check the BIOS version of a server over SSH, a command that requires root privileges: ssh remote-server su -c dmidecode but this of course fails with the error: standard in must be a tty How do I make this work? I cannot use sudo,…
aaron
  • 741
  • 3
  • 10
  • 19
12
votes
11 answers

Unix Legendry (and other *nix as well)

This is the twin to this question. Most obscure/upvoted answer will get the answer vote! Most Unix and Unix-like systems have a "traditional history" that is passed down with each generation, so that newcomers can see and understand some of the more…
Avery Payne
  • 14,536
  • 1
  • 51
  • 88
12
votes
11 answers

Best way to go about changing a root password on 3000+ Solaris, AIX, and Linux servers?

Long story short: Big old corporation, lots of UNIX/Linux servers. I inherited responsibility for a bunch of scripts that that left a few years ago. One of them was a script that would be run every $X amount of months to globally update the root…
fizzlepapers
  • 305
  • 1
  • 2
  • 10