2020-03-13 18:23:41 +01:00
|
|
|
# insert
|
2019-10-03 12:57:04 +02:00
|
|
|
|
|
|
|
This command adds a column to any table output. The first parameter takes the heading, the second parameter takes the value for all the rows.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
```shell
|
2020-01-30 14:15:20 +01:00
|
|
|
> ls | insert is_on_a_computer yes_obviously
|
2019-10-03 12:57:04 +02:00
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━
|
2020-03-13 18:23:41 +01:00
|
|
|
# │ name │ type │ readonly │ size │ accessed │ modified │ is_on_a_computer
|
2019-10-03 12:57:04 +02:00
|
|
|
───┼────────────────────────────┼──────┼──────────┼────────┼───────────┼───────────┼──────────────────
|
2020-03-13 18:23:41 +01:00
|
|
|
0 │ zeusiscrazy.txt │ File │ │ 556 B │ a day ago │ a day ago │ yes_obviously
|
|
|
|
1 │ coww.txt │ File │ │ 24 B │ a day ago │ a day ago │ yes_obviously
|
|
|
|
2 │ randomweirdstuff.txt │ File │ │ 197 B │ a day ago │ a day ago │ yes_obviously
|
|
|
|
3 │ abaracadabra.txt │ File │ │ 401 B │ a day ago │ a day ago │ yes_obviously
|
|
|
|
4 │ youshouldeatmorecereal.txt │ File │ │ 768 B │ a day ago │ a day ago │ yes_obviously
|
2019-10-03 12:57:04 +02:00
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━┷━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━
|
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
2020-01-30 14:15:20 +01:00
|
|
|
> shells | insert os linux_on_this_machine
|
2019-10-03 12:57:04 +02:00
|
|
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━
|
2020-03-13 18:23:41 +01:00
|
|
|
# │ │ name │ path │ os
|
2019-10-03 12:57:04 +02:00
|
|
|
───┼───┼────────────┼────────────────────────────────┼───────────────────────
|
2020-03-13 18:23:41 +01:00
|
|
|
0 │ X │ filesystem │ /home/shaurya/stuff/expr/stuff │ linux_on_this_machine
|
|
|
|
1 │ │ filesystem │ / │ linux_on_this_machine
|
2019-10-03 12:57:04 +02:00
|
|
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
```
|