syntax

How do I check whether a directory is empty or not under Linux / UNIX using a TCSH / C shell script?

{ 0 comments }

How do I count and print particular character (say D or digit 7) in a string or variable under Bash UNIX / Linux shell?

{ 8 comments }

How do I open a text file using VIM or VI and go to specific line? How do I open a file using vim and go to specific function() in my source code?

{ 8 comments }

How do I use export command under Linux or Unix like operating systems to set variables?

{ 1 comment }

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?

{ 8 comments }

How do I pause for 5 seconds or 2 minutes in my bash shell script?

{ 4 comments }

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

{ 12 comments }