subject - print file date on solaris as format: yymmdd ( yy - year , mm - month , dd - day )
on Linux machine I type the following command in order to get: file date
as the following:
ls -l --time-style=+%Y%m%d /etc/hosts | awk '{print $6}'
20121107
.
please advice what the syntax for Solaris ?
on Linux machine I use this syntax , in order to match all VALID ip's
my question what need to change for egrep command in order to run the egrep on Solaris
According to egrep manual page "-o" isn't illegal option
what the alternative for Solaris ?
regex="(1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.(1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.(1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.(1?[0-9]?[0-9]
|2[0-4][
the command
find /tmp -name 'core*' -type f -print0 | xargs -0
works fine on linux
but "xargs -0" option isnt illegal on solaris
what the equivalent option ( xargs ?
Hello, I looking for becoming a Solaris system administrator. Background: I consider myself an entry-level Linux system administrator.
I don't know if I start my studies with Solaris 10 or 11.
I'm about to buy a used Sun Sparc machine (Sun Blade 2500 Ultrasparc IIIi 1,28Ghz) in order to use it as a personal development server. Problem is, it is sold without any OS. I would like to install a Solaris system on it, but I don't know what I'm looking for. I think Solaris 10 should work, since it was released the same year than the machine, but I'm not sure.
Greetings all,
My name is Miguel and Im a new member. I post this question because I didnt find an answer for it after googling for an hour (if you do find the answer, please point me to it)
My problem is that I have a job interview and theyre requiring basic knowledge of Solaris. Now, Ive never seen a SPARC machine or Solaris other than at a friends office.
Hi Guys,
I need some assistance with getting vnc viewer from an WinXP machine to be able to connect to a vncserver on Solaris.
I have run vncserver on Solaris and i get the following message:-
Is this right ? i see there are a couple of errors in the log file.
I can actually connect to the Solaris machine but when i do i just get a grey screen with a cursor and nothing else.
Hi all. Im new to programming and Unix. Want to start learning to use Solaris 11. I have 2 boxes currently and want to run an all in one Solaris Box to act as a file server, web server ect. I want to use the second box as my main programming box that is as close to a Solaris OS as possible that has better Browser support. Seems with Solaris Firefox is the only browser I am able to use.
I've got a Solaris 10 workstation that I'd like to create a full image backup from. The machine has 2 drives, one UFS for system root, and 1 ZFS for data storage.
I intend to add a third HD to keep the backup images of both primary drives (including any zfs snapshots).