UNIX

Stay ahead with the latest trends in custom software development. Explore how AI, automation, and cloud solutions are shaping the future of business technology.

SCCS – script header

SCCS – script header While sccs checked out a file, add these lines to the top of your script to preserve versions and file information. [bash] # Master: %P% # SCCS id: %Z% %M% %I% %E% [/bash]
Continue Reading

VNC server on Unix

VNC server on Unix Starting the VNC server on Unix for the First time VNC Server installs in /usr/local/bin, you need to make sure you have both /usr/local/bin and /usr/openwin/bin in your path, also the first time you run vnc you need to setup a vnc password, this is done with the /usr/local/bin/vncpassword command. After […]
Continue Reading

Solaris Zones

Solaris Zones 1 Overview 1.1 Global Zone – overview 1.2 Non-Global Zone – overview 2 Considerations before choosing zones 2.1 When should I consider using zones? 2.2 Can Solaris 8 be provided in a zone? 3 Resource Management 3.1 CPU capping 3.2 Memory capping 3.3 Process capping 3.4 Global Zone Capping 4 Configuration 4.1 Supported […]
Continue Reading

A Tutorial on Wget

A Tutorial on Wget Basics Wget is one of the powerful tools available there to download stuff from internet. You can do a lot of things using wget. Basic use is to download files from internet. To download a file just type [bash] wget http://your-url-to/file [/bash] But you cannot resume broken downloads.use -c option to […]
Continue Reading

Shell, KSH Read Variables

Shell, KSH Read Variables Read in a Variable From a user we read with: read var. Then the users can type something in. One should first print something like: [bash] print -n “Enter your favorite haircolor: “; read var; print “”. [/bash] The -n suppresses the newline sign. Read into a File Line for Line […]
Continue Reading

change passwd – permission denied (NIS)

Change passwd – permission denied (NIS) I setup a new NIS server and put the NIS source files in /var/yp/src/ The command line “passwd” gave me a permission denied when changing an NIS user’s password. A restart of yp fixed the problem for me.. Eventually I restarted NIS with: [bash] /usr/lib/netsvc/yp/ypstop /usr/lib/netsvc/yp/ypstart [/bash]
Continue Reading