Suggestions on quality reading


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Suggestions on quality reading
# 1  
Old 10-11-2012
Suggestions on quality reading

I try to search and read about bash scripting. So far Ive read a few of these:
The Beginner Guide to Writing Linux Shell Scripts
BASH Programming - Introduction HOW-TO
An A-Z Index of the Bash command line for Linux.
unix help

but I am a visual person that learns from repetition and errors. Are there any good reading material or tutorials to practice in Ubuntu's terminal??
# 2  
Old 10-12-2012
Reading explanations is OK, but there is a lot of value in dissecting examples and finally, in writing you own scripts. Make up your own applications to script, or follow the discussions here! The subtleties are best learned by making mistakes, by processing some input and examining some output.

A big part of shell scripting is knowing the tool applications, like sort, comm, grep, sed, ls, ps, find, etc. It is a bit like learning C; nice language but you need to learn the libraries. In fact, it is good to write some commands in C to see what your shell is up to and to understand the behavior of FILE* I/O. Understanding the UNIX system, with inherited duplicate FD, environment, signals and masks, umask, inodes, directories, symbolic links, named pipes, fork(), exec() and even threads can help you understand what the shell makes available to you. Learning how to read man pages for full understanding and how to research will be skills you will use over and over. I use it here, and it keeps me sharp. Remember that all of the LINUX source is available to read. I have posted C source for many small commands here. Try following some of the questions that got answered.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Reading and Writing a conf file - Suggestions and improvements?

Hello all As part of my TUI - (line based) Text User Interface, i do have 2 commands to assist working with conf files. Now, for me they work, but since i wrote them, i automaticly use them they way they should be used... you know what i mean. ;) Anyway, they are designed to read 'simple'... (3 Replies)
Discussion started by: sea
3 Replies

2. Ubuntu

Ubuntu Graphic Quality Issue?

Okay I have my computer dual booted with Ubuntu 9.04 and Windows Vista, when I play a game on Vista such as Soldier Front or Quake its smooth and very enjoyable, but when I try to get a simple game such as Scorched 3D, its glitchy, choppy, and the background seeps through to the game (I get a... (9 Replies)
Discussion started by: phoxly
9 Replies
Login or Register to Ask a Question