Profile cover photo
Profile photo
The UNIX School
78 followers -
Come, walk with us, let us explore the beauty of Unix.
Come, walk with us, let us explore the beauty of Unix.

78 followers
About
Posts

Post has attachment
Perl - Connect to Oracle database and SELECT
How to connect to a database from a Perl program? Let us see in this article how to connect to Oracle and read from a table.  As a pre-requisite, we need to have the DBI and DBD::Oracle packages installed.    In this article, we are going to see how to read...
Add a comment...

Post has attachment
grep vs awk - Part 2
In this article, we will see more awk alternatives for the frequently used grep commands. This is in continuation to the grep vs awk - Part 1 .
Let us consider a sample file as shown below: $ cat file
Unix

Linux
Uniix
Solaris
AIX
ArchLinux
Ubuntu 1. Search...
Add a comment...

Post has attachment
How to use arrays in ksh?
  Array, as in any programming language, is a collection of elements. These elements need not be of the same type. One important difference here is shells support only one-dimensional arrays. 1. Creating an array :    Creating an array is pretty simple. $ t...
Add a comment...

Post has attachment
Perl : Find files using File::Find
H ow to find the list of files in Perl  like the UNIX find command? The answer is  File::Find  CPAN module. Let us see in this article how to use the File::Find module. File::Find :    File::Find module contains 2 modules: find and finddepth. Both are used ...
Add a comment...

Post has attachment
sed - 20 examples to remove / delete characters from a file
In this article of sed series , we will see the examples of how to remove or delete characters from a file. The syntax of sed command replacement is: $ sed 's/find/replace/' file  This sed command finds the pattern and replaces with another pattern. When th...
Add a comment...

Post has attachment
How to use SUID for shell scripts in Linux?
Question : How to write a shell script which will read the required passwords/connect strings from a config file? Other users should be able to execute the scripts, however they should not be able to read the config file. Say, I have a config file, myconfig...
Add a comment...

Post has attachment

Post has attachment
Add a comment...

Post has attachment

Post has attachment
Wait while more posts are being loaded