Professional Documents
Culture Documents
UNIX WK 6 Notes
UNIX WK 6 Notes
UNIX WK 6 Notes
source code
interpretted language - perl, python
-not prepared immediatley for execution
#!/bin/bash - she-bang
which bash - /bin/bash
which perl - /usr/bin/perl
.. parent directory
pwd
/home/u301263435/work
cd ../../../
pwd output: /
. current directory
./sctipt - ./ -means lookup the file in the current directory
set nu
u301263435@s301263435:~/work$ ./script.sh
Hello world