Autosave: 2023-01-25 17:42:09
This commit is contained in:
parent
da4c4e2e49
commit
8e733409f8
2 changed files with 8 additions and 2 deletions
|
@ -9,7 +9,7 @@ tags:
|
||||||
|
|
||||||
Devices are hardware that require access to the CPU in order to function. Devices can either be external and plugged-in or internal to the motherboard. The most common type of device that you will work with are [disks](./Disks.md).
|
Devices are hardware that require access to the CPU in order to function. Devices can either be external and plugged-in or internal to the motherboard. The most common type of device that you will work with are [disks](./Disks.md).
|
||||||
|
|
||||||
Devices are files but they have some different capabilities than ordianry files. There are two types: **block** and **stream**. Device files reside in the `/dev/` directory.
|
Devices are files but they have some different capabilities than ordinaryq files. There are two types: **block** and **stream**. Device files reside in the `/dev/` directory.
|
||||||
|
|
||||||
Some of the most important device files are:
|
Some of the most important device files are:
|
||||||
|
|
||||||
|
@ -49,4 +49,6 @@ The [mode](/Programming_Languages/Shell_Scripting/File_permissions_and_execution
|
||||||
|
|
||||||
`/dev/null` is a virtual device: it doesn't actually exist as a piece of hardware on the system. It can be useful when [bash scripting](/Programming_Languages/Shell/Redirect_to_dev_null.md) as a place to direct output that you don't care about, for example errors or verbose program read-outs.
|
`/dev/null` is a virtual device: it doesn't actually exist as a piece of hardware on the system. It can be useful when [bash scripting](/Programming_Languages/Shell/Redirect_to_dev_null.md) as a place to direct output that you don't care about, for example errors or verbose program read-outs.
|
||||||
|
|
||||||
|
I like to think of `/dev/null` as being like earth in a circuit. It's an outlet to safely dispose of things you are not interested in.
|
||||||
|
|
||||||
> ! Make notes on this. Base on : https://linuxhint.com/what_is_dev_null/
|
> ! Make notes on this. Base on : https://linuxhint.com/what_is_dev_null/
|
||||||
|
|
|
@ -9,10 +9,14 @@
|
||||||
- Read up properly about `find` and `read`
|
- Read up properly about `find` and `read`
|
||||||
- `.list` file extension
|
- `.list` file extension
|
||||||
- Error handling
|
- Error handling
|
||||||
|
- Splitting strings
|
||||||
- Awk
|
- Awk
|
||||||
- https://dane-bulat.medium.com/the-awk-programming-language-an-introduction-7035d343cd30
|
- https://dane-bulat.medium.com/the-awk-programming-language-an-introduction-7035d343cd30
|
||||||
|
|
||||||
|
## Linux
|
||||||
|
|
||||||
|
- `/dev/null` in greater depth
|
||||||
|
|
||||||
## SQL
|
## SQL
|
||||||
|
|
||||||
- What is a _schema_ in MySQL/ SQL ?
|
- What is a _schema_ in MySQL/ SQL ?
|
||||||
|
|
Loading…
Add table
Reference in a new issue