Questions tagged [solaris]

Solaris is a Unix operating system originally developed by Sun Microsystems (currently owned by Oracle) as a rebranding of SunOS 4.1.x in 1991.

According to Wikipedia. Solaris was originally developed as a collaboration of Sun Microsystems with major UNIX variants to develop a common platform unifying BSD, System V, and Xenix that has become known as System V Release 4. The first release of Solaris was SunOS 4.1.x which was retroactively renamed Solaris 1. The variant we commonly know as Solaris is actually Solaris 2, which started as SunOS 5 and until version 7 was known as Solaris 2.x (since version 2.7 the prefix 2 has been dropped).

Solaris is a highly scalable Operating System well suited for symmetric multiprocessing systems, which currently includes native virtualization tools called zones.

A Solaris variant called OpenSolaris was released by Sun in 2005, which eventually gave birth to the OpenIndana Project

337 questions
147
votes
26 answers

Why is my SSH login slow?

I'm seeing delays in SSH Logins. Specifically, there are 2 spots where I see a range from instantaneous to multi-second delays. Between issuing the ssh command and getting a login prompt and between entering the passphrase and having the shell…
Peter Lyons
  • 1,942
  • 2
  • 12
  • 16
93
votes
6 answers

Opposite of tail: all lines except the last n lines

How can I discard the last n lines of a file with a unix command line filter? That would be sort of the opposite of tail: tail discards the first n lines but pipes the rest through, but I want the command to pipe everything through except the last n…
11
votes
3 answers

what happens when you have 2 network interfaces to the same network in a Unix/Linux OS?

What will happen if you have 2 network interfaces to the same network where the default gateway/router is? e.g network interface e1000g0 - 192.168.1.50 network interface e1000g1 - 192.168.1.51 Gateway - 192.168.1.1 If I send a packet to 8.8.8.8,…
Noob
  • 1,675
9
votes
1 answer

How to let `man` utility to use `less` to display manual rather than `more`?

I've this Solaris 10 installation and it uses more to display manual content. Is there a way to make it using less to display manual? because more is really not convenient to use. Thank you.
Howard
  • 2,336
8
votes
2 answers

What is a ZFS legacy mount point?

I am trying to understand the way ZFS works when I do for example, a snapshot. When I use zfs list on machine I get some mount points and some paths. For example I get something like that: rpool/ROOT/s10x_u10_wos_17b 5.3gb 58.2gb 5.3gb …
8
votes
2 answers

Is there a ready-to-run Solaris virtual machine for VMWare?

I would like to test some scripting on a Solaris machine. Is there a VMWare virtual machine with Solaris that I can download and use directly?
Pim
  • 183
  • 1
  • 1
  • 5
8
votes
4 answers

How can I get numbers of CPU of Sun Solaris by command?

I can use 'prtdiag' to get number of CPU by prtdiag command. $ prtdiag System Configuration: Sun Microsystems sun4u Sun Fire 6800 System clock frequency: 150 MHz Memory size: 4096 Megabytes ========================= CPUs…
8
votes
2 answers

Untar on Solaris

I'm using a Sun Sparc System, aka Solaris. I have a .tar.gz file, and I can't figure out how to untar it. The command I usually use doesn't work: tar -xzvf file.tar.gz Anybody know how to do this? I can't be an answer anywhere!
Carl
7
votes
4 answers

How to build a NAS?

I have quite a bit of photos I'd like to organize and get away from sparse DVDs and move to a NAS solution. Ideally, this would let me have some level of redundancy and more easily find what I'm looking for. That being said, hard drives are…
Walter White
6
votes
2 answers

Replacing /bin/bash with /bin/false in /etc/passwd file

I am writing a program to disable users from a system, i want to replace /bin/bash to /bin/false. Example xxx:x:1:22:xx:/export/home/xx:**/bin/bash** replace to xxx:x:1:22:xx:/export/home/xx:**/bin/false** I want do with using bash script. I know…
user1212207
6
votes
3 answers

What are the strengths of OpenSolaris compared to Linux?

Please try to answer in these areas: For what kind of usage is OpenSolaris more suited than Linux? What are the useful OpenSolaris features that Linux lacks? Personal experiences are welcomed, but please don't start a flame war. Strengths of Linux…
netvope
  • 5,475
5
votes
1 answer

Solaris11 back to console boot

I installed Solaris 11 X86. I installed solaris-desktop. Then Solaris boots to GUI mode. How can I make the Solaris boots to console mode? (And then optionally starts X by hand?)
Jin Kwon
  • 336
5
votes
3 answers

Putty: login, execute command/change environment variable, and do NOT close the session

I would like to configure my PuTTY session in such a way that I could login to a remote host, and (a) start bash (b) change the PS1 variable (prompt content) (c) continue work in the session as normal. I tried: Connection -> Data -> Environment…
5
votes
4 answers

Path of a command

Could someone please let me know how to get to know the executable path of a command/utility in solaris?? like executable path of ls is /usr/bin
5
votes
3 answers

perl - translate sed to perl

The following command work fine on Solaris ( delete line only if last character is ":" ) sed -e '/:$/d' < foo > foo.new how to do the same in perl ? ( the reason for that because I not want to create a new file ) perl -i -pe 's/:$/d' foo …
yael
  • 91
1
2 3
22 23