Category: UNIX TUTORIAL
Quite a number of programmers learning scripting on a PC running DOS. Even the crippled DOS batch file language allowed writing some fairly powerful scripts and applications, though they …
Below post explained in following sections. How to declare a function in shell script How to call a function in shell script Function with parameters Scope of Variables Return …
The sed (stream editor) editor reads text from the standard input, edits it according to a set of given commands (in a script or on the command line), and …
cd means ‘Change Directory’ in unix. cd command is used to change the current directory in unix session. However if you want to check the current directory before issuing …
While loop statement continually executes a block of statements while a particular condition is true. Syntax for while loop in shell script is: After evaluating shell command, if the …
mtime, atime, and ctime are timestamps associated with the modification, access and change of any file in unix. A common misunderstanding is ‘ctime is file creation time’, but this …
While you are working on Unix environment, sometimes you might need to troubleshoot the errors/issues that caused the abnormal behavior of scripting and commands that related to Unix. In …
wget is a utility for download files/content from the Web servers. It supports most of the protocols that are related to the Web such as HTTP, HTTPS, and FTP …