Bash SSH

2013.4.10.
1.
Creating and running a script:
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_02_01.html

Bash Beginners Guide:
 

2013.4.9.
Simple bash program:
http://www.pindari.com/bash.html
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_02_01.html

2013.4.8.
1.
-bash-3.2$ vi bash.ex
-bash-3.2$ cat bash.ex
#!/bin/bash
echo "Hello. This is a line of text"
-bash-3.2$ chmod +x bash.ex

-bash-3.2$ ./bash.ex

Hello. This is a line of text

-bash-3.2$

2.
-bash-3.2$ cat bash.ex

#!/bin/bash
echo "Hello $1. This is a line of text"

-bash-3.2$ ./bash.ex Tony

Hello Tony. This is a line of text

-bash-3.2$

 

3.
vi cheat sheet:
 
Introduction to the vi Editor
 
Mastering the VI editor
 
4.
-bash-3.2$ vi test.sh
-bash-3.2$ ll
total 0
-rw-r--r-- 1 Iusr_3579035 inetuser 21 Apr  9 07:06 test.sh
-bash-3.2$ cat test.sh
echo "hello world"
 
-bash-3.2$ bash test.sh
hello world
-bash-3.2$
 
5.
-bash-3.2$ echo "`bash --version`"
GNU bash, version 3.2.25(1)-release (i686-redhat-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
-bash-3.2$
 

 


Fatal error: Class 'FeedsHTTPCache' not found in /home/content/35/3579035/html/3wcollegeca/web/sites/all/modules/feeds/feeds.module on line 82