User Tools

Site Tools


os_cp:scripting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
os_cp:scripting [2023/05/31 02:20]
jkonczak utworzono
os_cp:scripting [2024/03/25 21:20] (current)
jkonczak [Parameters and variables in shell]
Line 54: Line 54:
 Notice that ''​./​file''​ (and ''​sh file''​) interprets the file in a new shell and Notice that ''​./​file''​ (and ''​sh file''​) interprets the file in a new shell and
 ''​. ./​file''​ (and ''​. file''​ if PATH contains a ''​.''​) executes the commands ''​. ./​file''​ (and ''​. file''​ if PATH contains a ''​.''​) executes the commands
-form the file in the current shell.+from the file in the current shell.
  
 ====== Processing an input line by the shell ====== ====== Processing an input line by the shell ======
Line 303: Line 303:
  
 |''​PATH''​|Colon-separated list of directories where binaries are looked up \\ Notice: it's the ''​exec…p''​ system call that looks up an executable files with a matching name in these paths | |''​PATH''​|Colon-separated list of directories where binaries are looked up \\ Notice: it's the ''​exec…p''​ system call that looks up an executable files with a matching name in these paths |
-|''​HOME''​|Katalog domowy bieżącego użytkownika|+|''​HOME''​|Path to the home directory of the current user|
 |''​PS1''​ \\ ''​PS2''​|The main [[https://​en.wikipedia.org/​wiki/​Command-line_interface#​Command_prompt|prompt]] \\ The prompt for next line of multi-line commands| |''​PS1''​ \\ ''​PS2''​|The main [[https://​en.wikipedia.org/​wiki/​Command-line_interface#​Command_prompt|prompt]] \\ The prompt for next line of multi-line commands|
 |''​PWD''​|Current working directory| |''​PWD''​|Current working directory|
os_cp/scripting.1685492408.txt.gz · Last modified: 2023/05/31 02:20 by jkonczak