Profile cover photo
Profile photo
Vishal Lambe
81 followers -
Author | Blogger | Caricaturist
Author | Blogger | Caricaturist

81 followers
About
Communities and Collections
View all
Posts

Post has attachment
Feature Scaling - Subtract Mean and Divide by Standard Deviation
Supposing we are comparing two different features like Fahrenheit and Celsius. In such a case, we cannot directly compare these two features and arrive at a statistical judgement because, they both have diffrent measures of unit. Another example is that of ...
Add a comment...

Post has attachment
[How To] Run a script to plot a subplots in Octave
To demonstrate and perform POC's for some of the things that I learnt, I wrote a snippet of Octave script. The following is a very simple script to understand how to execute Octave script files and plot subplots. Following are some of the things to keep in ...
Add a comment...

Post has attachment
[How To] How to count the number of coulumns in each row in a text file
In this tutorial, we would be using awk command to count the number of columns in each row in a text file. The awk command has multiple built in variable that let us define the row, column delimiters. Supposing we have a pipe separated file called 'count_me...
Add a comment...

Post has attachment
[How To] Delete all but some files in UNIX
While deleting or removing files from orr file system, sometimes we wish to exclude files which satisfy a certain criteria. The below tutorial explains how to delete all files except the files that have a certain text in their file name. ::syntax:: $ rm !(*...
Add a comment...

Post has attachment
[How To] Unix command to replace all spaces in file names with underscore
rename command comes handy when one wishes to replace spaces in all the file names with underscore (or any other character for that matter). Below syntax tells the shell to substitute all spaces (' ') in the name of all the files in current directory with u...
Add a comment...

Post has attachment
[How To] UNIX one-liner to rename all files with a particular string in file name
One can use 'rename' command to rename the files. rename gives the user the flexibility of conditional renaming. We can use rename command to rename only the file names that contain a particular string to new filename. ::syntax:: $ rename 's/old_filename/ne...
Add a comment...

Post has attachment
[How To] Access ASCII table from UNIX command line
ASCII  is  the  American  Standard Code for Information Interchange.  It is a 7-bit code to uniquely represent each keyboard character. The ASCII table represents the corresponding Octal, Decimal, hexadecimal and Character values. The ASCII standard was pub...
Add a comment...

Post has attachment
[UNIX] apropos - Search all the man pages for a particular string.
Sometimes, you know what you wish to accomplish, but you don't know how to do it. Sounds philosophical eh..? Well, the great masters who designed UNIX have a solution for this too. The 'apropos' command comes in handy when you wish to search for a particula...
Add a comment...

Post has attachment
[Unix] Hardlinks vs Softlinks (Symlinks)
After reading a numerous blog posts and some articles, here is my understanding of hardlinks and softlinks. Both the paradigms are closely tied together by the concept of "inode" numbers. Let us first try to understand inodes. inodes are unique numbers allo...
Add a comment...

Post has attachment
[How To] Retrive Last Entered Command On IBM AIX
While once can directly view the last entered commands by pressing Up/Down arrow keys, IBM AIX does not support this. There is, however, a quirky solution to this. One can type 'r' to run the immediately previous command. $ r #runs the immediately previous ...
Add a comment...
Wait while more posts are being loaded