Unix OS





Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

Share tech news, updates, or what's on your mind.

Sign up to Post


How to expand putty to full screen?

also i hae 20 server instances configured  named connection1, connection2 etc till connection20

when i connect it should say connection1 at the top than meaningless ip address etc at the top  of putty window. can i configure somewhere to do that?

also how to change text and background colors. please advise
Optimize your web performance
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Hi I have a  data like below format

Site	Variable	Units	Model	29/00Z	29/06Z	29/12Z
CQT	500mbHeight	dm	MASS	588.4	589 	588.9
CQT	500mbHeight	dm	NAM	589.4	589.5	588.2

Open in new window

How can i transpose as one below (like repeat first 4 columns for transpose of each row after 4th column
CQT	500mbHeight	dm	MASS	29/00Z	588.4
CQT	500mbHeight	dm	MASS	29/06Z	589
CQT	500mbHeight	dm	MASS	29/12Z	588.9
CQT	500mbHeight	dm	NAM	29/00Z	589.4
CQT	500mbHeight	dm	NAM	29/06Z	589.5
CQT	500mbHeight	dm	NAM	29/12Z	588.2
CQT	500mbHeight	dm	NAM	29/18Z	589.6

Open in new window

Looking for recommendations for patching/updates management solution across multiple platforms (win, mac, ubuntu).
Around 400 endpoints across multiple office globally.  
Considering:   Servicennow, Kace from Quest, patchlink/heat.   Any other recommendations from other folks?  Endpoing and asset management management.
Thanks in advance!
what is difference between below commands

$ cd xyz

it says no such file or directory

$ cd /xyz
says no such file or directory

where as when i say

$ cd /xyz/
it goes to xyz directory though

what is use or importance of /  and / at the beginning and end?

please advise
Hi Guys,

I would like to have a opensource software to perform following tasks on zimbra.

zimbra logging
per user email send receive count per day, week, month & year.
access log success & failure & Etc..

any help greatly appreciated.
thank you.
The maxage setting on an Aix server has been set to 4 but the server never prompts for a password reset after 4 weeks, Infact the server has never prompted for a password since the first time I have logged into the server which is more than 200 days

  I would like to know if there is a way to create a Symlink-like file but with the difference that the file it points to gets executed when the link is read and the output is what I get from reading it.
  It should work on freebsd/linux.


Best regards
I about 10 yrs back, there are CIS tools that we could download for free
that will flag out the date of the last OS patches.

Are these tools still available for free download & what's the URL?

Without these tools, how can we check in an OS (Windows 2008 R2, Win 2012,
Solaris 10 & 11,  AIX 6.1 & 7.1) , the date of the latest patches applied in the
I have installed 2 different IDM Ultrium-TD3 tape drives and in the 2nd case, I have ALSO installed the lin_tape and lin_taped (daemon).  I also have sg3_utils 1.42, built from source - all this are on x86_64 bit computers.

Many of the commands work, including sg_read_buffer for reading the cartridge memory.

The problem is, commands such as sg_read_attr/sg_write_attr (ioctl 0x8D, 0x8C) whether from a normal C program or from the sg approach, do not ever allow reading or writing the attributes - instead, it leads to an error, such as:

SG_WRITE_ATT_0803 command error: Host_status=0x05 [DID_ABORT]
Error : Write failed (try verbose opt)

I can try either generic /dev devices or /dev/IBM types of devices.  Each gives an error.  In one case, I have an idea for how to try to fix it, but I'm just wondering, is the firmware (mine is 6B20) just not implementing it?  I doubt that's the problem.  I can upload the firmware as hex code but I would like to see the source.

Also, I don't know whether or not running lintape/lintaped matters and whether or not the IBM-generic/IBM-specific/sg-generic drivers are the issue.  I'm trying to pin down what approach to go on next.  There are literally three sets of drivers.  And I don't know whether or not I should install Tivoli.

Given all the variables, I just want to know how to proceed to get to a working sg_read_attr/sg_write_attr command.  I even tried to start with the lowest numbered attribute.

I have also tried external …

In putty vi editor vi unix how to see later pages and change colors for bettwer view.

i open big property file not able to see what is at bottom.

how to search in vi editor for some text sat xyz.

setting i went i changed colors , font etc not reflecting.

what is best setting to give for better view

when i opened
abc.properties in vi
it says 536L, 28390C
what is L what is C
how to know how many lines there how many it is showing etc
can i use winscp free version for production servers viewing property files?
please advise
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

I run cat /dev/null /var/adm/lastlog and recovered space under FS but /var still showing pretty high, this is happening in Solaris 10 global zone.

Please advise how to recover space under /var in this case or do I need to restart some daemon to reclaim space under /var. Please reply.
Hi gurus,

I have AIX (7100-04-04-1717) lpar with installed following packets:
bos.cifs_fs.rte     C     F    Runtime for SMBFS
bos.cifs_fs.smit     C     F    SMIT Interface for SMBFS

This lpar was successfully mounting share on W2k8 R2 until recently change on windows server. Change on windows side was disabling smbv1 protocol. Since then, there is no way to mount this share again. I have asked my colleagues to turn smbv1 back on, until I figure out how to solve this. When they turn smbv1 protocol  on, I can mount the share again. IBM does not provide any support for cifs, and I can't find any official document claiming that this client can't be used for higher smb protocols than smbv1.

I even installed samba 4.1 on AIX, and with smbclient tool I can connect to windows share forcing higher protocol versions ( -m SMB3), but this is not a solution, because I must have permanent file system mounted on aix. So this is not a valid solution.  
Does anyone have a  idea on how to solve this, or any link to official documentation which I can use to prove that this is not supported?
Or if I am trying something in wrong way , please let me know.
Thanks in advance,
Hello All,

I am in a situation to push database audit XML logs to syslog server. Audit logs are getting generated when Audit_Trail is set to OS. The same is not happening when Audit_Trail is set to XML,EXTENDED. Please advice on this.

SQL> select banner from v$version;

Oracle Database 10g Enterprise Edition Release - Prod
PL/SQL Release - Production
CORE      Production
TNS for Linux: Version - Production
NLSRTL Version - Production

SQL> show parameter audit
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
audit_file_dest                      string      /u01/appldrch/DRCH_DB_audit_lo
audit_sys_operations                 boolean     TRUE
audit_syslog_level                   string      LOCAL1
audit_trail                          string      XML, EXTENDED

[root@appsdr ~]# cat /etc/syslog.conf
local1.warning /var/log/audit.log

Thank You.

John Marshal.A
We hvae created new policy to check particular vulnerabikity in unix. We have enabled all the required plugins however scan doesnt discovered the host even. So looking what are the other mandatory/ dependent plugins need to enable.
I want to send all my TSM events like backup failure, backup missed, scheduler stopped, and all other TSM warning and critical errors to be sent to HP monitoring solution. So that HP can get the TSM error or warning and raise ticket aromatically.

Please send me step by step procedure to configure n enable the same.

Since I m very new to Unix. Please send me easy/details to configure n enable TSM app alert.

Thanku very much
In advance
I had this question after viewing log.nmbd filling up /usr directory.
Getting Below error while configuring Samba on AIX and nmbd log file is getting filled out quikly which is causing the /var FS reach 100%
[2017/05/17 11:12:12,  0] lib/util_sock.c:667(open_socket_in)
  bind failed on port 137 socket_addr =
  Error = The socket name is not available on this system.
[2017/05/17 11:12:12,  0] nmbd/nmbd_subnetdb.c:127(make_subnet)
    Failed to open nmb bcast socket on interface for port 137.  Error was The socket name is not available on this system.
Hello experts,
I have a perl script that does the following::
-get log files from a directory;
-zip them
-send them over smtp to a given mailbox
-redownload them from the mailbox
-crypt them using pgp
-crypted files gets pushed on ftp
-delete the original file

What i would like to do is:
-Delete the ftp sending part, instead move the files in a local given directory

Attached you will find the script.

Thank you in advance!!!!
Hi Dears,
I want write a CLI for my centos, when a linux boot, it only accept my commands that i defined before,
is a sample for it?
Dears, I want transfer Oracle EBS 12.1.1 From IBM AIX 6.1 To Oracle Enterprise 5.10

That's Good Action for this issue

Get 15 Days FREE Full-Featured Trial
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

I have a customer with an old computer which was running OpenServer SCO 5.0.4 (circa 1995) with a custom built database and ordering system.  The hard drive is in working condition, but the computer itself is dead.  I would like to backup this HDD for safekeeping and also to convert it to a virtual machine.  Please offer suggestions to do get this accomplished.
i not able install zmap on centos 6

i see below error:

[root@mta3 ~]# yum install zmap
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.hosteurope.de
 * epel: epel.scopesky.iq
 * extras: ftp.hosteurope.de
 * updates: ftp.hosteurope.de
No package zmap available.
Error: Nothing to do
[root@mta3 ~]#

and i used below rpm, but not sovled
yum install epel-release -y
yum install zmap -y

Samba 2.2.7 installed on an AIX 5.3 stopped working after adding new share to smb.conf. Samba has been re-installed and smb.conf has been reset. the only error I come across is from smbclient command showing the following (attached).
Thank you in advance for any input you might have.
We are moving from Oracle to Exadata. In this scenario, do we expect change in Server Ipaddress and DNs names or just IP addresses.

Please help!
I need to change the date in a localzone (solaris 10), my LZ  in GMT+2 and my GLOBALE ZONE in GMT+1, how can switch my local zone to GMT+1 from local zone

Thank you !!
Hi ,

I have created one cloud image qcow2 for SLES 12U1 and inbuilt cloud-init too . but strange thing is this it boots sucessfully first time and we can work on it.but when we reboot it says unable to find /dev/sda1 or waiting for device.

I tried to change entries in fstab and grub.cfg with UUID but still same issue.

Please help might me i am nit changing it right but i refered links to do that and same issue.

same kind of thing happening with SLES11U4.

Unix OS





Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.