mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 10:56:29 +08:00
basic calculator
This commit is contained in:
parent
f8f812f8ad
commit
4e1abd4391
1 changed files with 5 additions and 0 deletions
|
@ -185,6 +185,11 @@ Notes:
|
|||
|
||||
- For running a command with privileges, use `sudo` (for root) or `sudo -u` (for another user). Use `su` or `sudo bash` to actually run a shell as that user. Use `su -` to simulate a fresh login as root or another user.
|
||||
|
||||
- For a basic calculator (and of course access to Python in general), use `python` interpreter. For example,
|
||||
```
|
||||
>>> 2+3
|
||||
5
|
||||
```
|
||||
|
||||
## Processing files and data
|
||||
|
||||
|
|
Loading…
Reference in a new issue