ksh

How do I run “foo” command 10 times (or n times) under Linux or UNIX like operating systems?

{ 6 comments }

I have a file of that looks as follows:

foo bar
tom jerry
UNIX Linux

Each word and/or Linux is a different length. How do strip or remove the last character from each line using bash or ksh shell only?

{ 3 comments }

How do I change the default home page with Lynx browser under UNIX or Linux operating system? How do I set the startup page to http://google.co.uk with Lynx?

{ 0 comments }

UNIX: Read a File Line By Line

by Vivek Gite on January 26, 2011 · 2 comments

How do I read a file line by line under UNIX using KSH or BASH shell?

{ 2 comments }

Linux / UNIX: Run Commands When You Log Out

by Vivek Gite on November 23, 2010 · 0 comments

I’ve written a Perl script that connects to our central server for me and it allows me feed data so that I make a timesheet later. How do I run my script when I log out from Apple OS X or Linux / UNIX workstation using bash shell?

{ 0 comments }

How do I append current date (mm_dd_yyyy format) to a filename (e.g., backup_mm_dd_yyyy.sql) under UNIX like operating systems?

{ 0 comments }