Programming Tutorials

linux Tutorials

51. How to print or access value of user defined variables in Linux Shell Script

By: Vivek G. : 2011-01-09

Description: To print or access UDV use following syntax


52. echo Command in Linux Shell Script

By: Vivek G. : 2011-01-09

Description: Use echo command to display text or value of variable.


53. Arithmetic in Linux Shell Script

By: Vivek G. : 2011-01-09

Description: Use to perform arithmetic operations.


54. Quotes in Linux Shell Script

By: Vivek G. : 2011-01-09

Description: There are three types of quotes in Linux Shell Script


55. Exit Status in Linux Shell Script

By: Vivek G. : 2011-01-09

Description: By default in Linux if particular command/shell script is executed, it return two type of values which is used to see whether command or shell script executed is successful or not.


56. read Statement in Linux Shell Script

By: Vivek G. : 2011-01-09

Description: Following script first asks user, name and then waits to enter name from the user via keyboard. Then user enters name from keyboard (after giving name you have to press ENTER key) and entered name through keyboard is stored (assigned) to variable fname.


57. Input - Output redirection in Linux Shell Script

By: Vivek G. : 2011-01-09

Description: Mostly all command gives output on screen or take input from keyboard, but in Linux (and in other OSs also) it's possible to send output to file or to read input from file.


58. Pipes in Linux

By: Vivek G. : 2011-01-09

Description: A pipe is nothing but a temporary storage place where the output of one command is stored and then passed as the input for second command. Pipes are used to run more than two commands ( Multiple commands) from same command line


59. Filter in Linux

By: Vivek G. : 2011-01-09

Description: If a Linux command accepts its input from the standard input and produces its output on standard output is know as a filter. A filter performs some kind of process on the input and gives output. For e.g.. Suppose you have file called 'hotel.txt' with 100 lines data, And from 'hotel.txt' you would like to print contains from line number 20 to line number 30 and store this result to file called 'hlist' then give command:


60. Mounting cdrom in cent os 5 linux

By: Virendra : 2010-11-09

Description: I had this simple issue of mounting the CDROM and accessing the files from the CD. Here are the steps to manually mount the cdrom and access the contents. Hope this helps someone out there.