Breaking News
You are here: Home / Tag Archives: unix

Tag Archives: unix

Feed Subscription

write script, using case statement to perform basic math operation

write script, using case statement to perform basic math operation

Write Script, using case statement to perform basic math operation as follows + addition – subtraction x multiplication / division The name of script must be ‘q4’ which works as follows $ ./q4 20 / 3, Also check for sufficient command line arguments   if test $# = 3 then case $2 in +) let z=$1+$3;; -) let z=$1-$3;; /) let ... Read More »

write a script in which counting the no. of characters in particular line as well as counting the no. of lines in a file

write a script in which counting the no. of characters in particular line as well as counting the no. of lines in a file

$vi count.sh echo -e "\n Enter file name :\c" read name echo -e "\n Enter line number :\c" read lno x=`wc -l < $name` echo -e "\n There are $x lines in $name file\n" y=`head -$lno $name | tail -1 | wc -c` echo -e "\n Line number $lno has a $y chracters \n" :wq Read More »

Unix Shell Programming

unix shell programming

Unix Shell Programming is a tutorial aimed at helping Unix and Linux users get optimal performance out of their operating out of their operating system. It shows them how to take control of their systems and work efficiently by harnessing the power of the shell to solve common problems. The reader learns everything he or she needs to know to customize ... Read More »

MASTERING UNIX SHELL SCRIPTING, 2ND ED

unix shell scripting

Market_Desc: · Computer science professionals, serious shell scripters and UNIX gurus who need to understand how the different shell environments work and how to automate specific tasks that are repetitive or reoccurring· Students Special Features: · Scripting books as a whole have very respectable Bookscan weekly sell through, averaging 50 copies per week for the top 5· 2e includes 50% ... Read More »

Scroll To Top