Shell Scripting with Bash (EE378)

Programme: 

B.Tech (E&E)

Semester: 

Sixth

Category: 

Programme Specific Electives (PSE)

Credits (L-T-P): 

04 (3-1-0)

Content: 

The Linux environment: Files and filesystems, directories, inodes and links, pipe and socket files, device files. Operating the shell, Bash keywords, Command basics, Command-line editing; Files, users and shell customization, working with files. Script basics, Creating a well-behaved script, Basic redirection, Standard output, error and input, Built-in versus Linux commands.

Variables: Basics and attributes, Bash pre-defined variables, Expressions, Arithmetic and logical expressions, Relational, bitwise and self-referential operations, substitutions.  Compound commands, Debugging and revision control, Shell archives, Parameters and subshells, Job control and signals. Text file basics, Text file processing, Console scripting, Functions and script execution. Shell security aspects and network programming. Related shells and the IEEE 1003.2  POSIX shell standard.

References: 

1. Cameron Newham, Bill Rosenblatt, Learning the Bash Shell, O'Reilly Media, 2005.
2. Arnold Robbins, Nelson H. F. Beebe, Classic Shell Scripting, O'Reilly Media, 2005.
3. Ken O. Burtch, Linux Shell Scripting with Bash, Sams Publishing, 2004.
4. Stephen G. Kochan, Patrick Wood, Unix Shell Programming, 3rd Edition, Sams Publishing, 2003.
5. Mendel Cooper, Advanced Bash-Scripting Guide,2005.(Available on-line in pdf at http://www.tldp.org/)
6. http://www.gnu.org/manual/

Department: 

Electrical and Electronics Engineering
 

Contact us

Venkatesa Permul
Associate Professor and Head of the Department
Department of Electrical and Electronics Engineering
National Institute of Technology Karnataka, Surathkal
Srinivasnagar, Surathkal, Mangalore-575025. Karnataka, India.
Ph : +91-824-2473045
Fax: +91-824-2474039
E-mail: hodee[AT]nitk[DOT]ac[DOT]in

Connect with us

We're on Social Networks. Follow us & get in touch.