X Windows components:
- X Server (www.xfree86.com)
- Window Manager (control look and feel)
Most popular Window Managers:KWM,Sawfish
- Desktop Environment (add utilities and config programs)
Most popular desktop environments: KDE (key desktop environment), Gnome, CDE

Xconfigurator

Shell Scripting
-mini-programs using shell commands
cat,useradd
-used for repetitive tasks (backups, startup, adding users)
-good for inexperienced users

Any script should have extension .sh
#! /bin/bash -- path of the shell
# <-- comment This is a silly script
echo "this is a script"
echo "what do you think?" # this is also a comment

bash demo1.sh <-- run the script
./demo1.sh <-- also run the script



#! /bin/bash
echo "Hello $1." #parameter of the progrma
NUMBER1=234 # local variables
NUMBER2=456
let NUMBER3=$NUMBER1+$NUMBER2
echo "The answer is $NUMBER3"

./demo2.sh perry
Hello perry
The answer is 690


du -s - summary folders size

Comments

  1. # ./exec
    PRIVVVVET
    # bash exec
    PRIVVVVET
    # ksh exec
    PRIVVVVET
    # csh exec
    PRIVVVVET

    ReplyDelete

Post a Comment

Popular posts from this blog

HAproxy logging

tomcat catalina coyote jasper cluster

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all