2020-05-13 08:02:41 +00:00
|
|
|
# update
|
2019-10-03 11:24:28 +00:00
|
|
|
|
2020-05-13 08:02:41 +00:00
|
|
|
Updates an existing column on a table. First parameter is the column to update and the second parameter is the value to put.
|
2019-10-03 11:24:28 +00:00
|
|
|
|
2020-03-13 17:23:41 +00:00
|
|
|
## Examples
|
2019-10-03 11:24:28 +00:00
|
|
|
|
|
|
|
```shell
|
|
|
|
> ls
|
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━
|
2020-03-13 17:23:41 +00:00
|
|
|
# │ name │ type │ readonly │ size │ accessed │ modified
|
2019-10-03 11:24:28 +00:00
|
|
|
───┼────────────────────────────┼──────┼──────────┼────────┼───────────┼───────────
|
2020-03-13 17:23:41 +00:00
|
|
|
0 │ zeusiscrazy.txt │ File │ │ 556 B │ a day ago │ a day ago
|
|
|
|
1 │ coww.txt │ File │ │ 24 B │ a day ago │ a day ago
|
|
|
|
2 │ randomweirdstuff.txt │ File │ │ 197 B │ a day ago │ a day ago
|
|
|
|
3 │ abaracadabra.txt │ File │ │ 401 B │ a day ago │ a day ago
|
|
|
|
4 │ youshouldeatmorecereal.txt │ File │ │ 768 B │ a day ago │ a day ago
|
2019-10-03 11:24:28 +00:00
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━┷━━━━━━━━━━━
|
2020-06-23 18:21:47 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
2020-05-13 08:02:41 +00:00
|
|
|
> ls | update modified neverrrr
|
2019-10-03 11:24:28 +00:00
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━
|
2020-03-13 17:23:41 +00:00
|
|
|
# │ name │ type │ readonly │ size │ accessed │ modified
|
2019-10-03 11:24:28 +00:00
|
|
|
───┼────────────────────────────┼──────┼──────────┼────────┼───────────┼──────────
|
2020-03-13 17:23:41 +00:00
|
|
|
0 │ zeusiscrazy.txt │ File │ │ 556 B │ a day ago │ neverrrr
|
|
|
|
1 │ coww.txt │ File │ │ 24 B │ a day ago │ neverrrr
|
|
|
|
2 │ randomweirdstuff.txt │ File │ │ 197 B │ a day ago │ neverrrr
|
|
|
|
3 │ abaracadabra.txt │ File │ │ 401 B │ a day ago │ neverrrr
|
|
|
|
4 │ youshouldeatmorecereal.txt │ File │ │ 768 B │ a day ago │ neverrrr
|
2019-10-03 11:24:28 +00:00
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━┷━━━━━━━━━━
|
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
|
|
|
> shells
|
|
|
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
2020-03-13 17:23:41 +00:00
|
|
|
# │ │ name │ path
|
2019-10-03 11:24:28 +00:00
|
|
|
───┼───┼────────────┼────────────────────────────────
|
2020-03-13 17:23:41 +00:00
|
|
|
0 │ X │ filesystem │ /home/username/stuff/expr/stuff
|
|
|
|
1 │ │ filesystem │ /
|
2019-10-03 11:24:28 +00:00
|
|
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
2020-06-23 18:21:47 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
2020-05-13 08:02:41 +00:00
|
|
|
> shells | update " " X | update path /
|
2019-10-03 11:24:28 +00:00
|
|
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━
|
2020-03-13 17:23:41 +00:00
|
|
|
# │ │ name │ path
|
2019-10-03 11:24:28 +00:00
|
|
|
───┼───┼────────────┼──────
|
2020-03-13 17:23:41 +00:00
|
|
|
0 │ X │ filesystem │ /
|
|
|
|
1 │ X │ filesystem │ /
|
2019-10-03 11:24:28 +00:00
|
|
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━
|
|
|
|
```
|