diff --git a/Operating_Systems/Devices.md b/Operating_Systems/Devices.md index 150c4fb..bc14d7f 100644 --- a/Operating_Systems/Devices.md +++ b/Operating_Systems/Devices.md @@ -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 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: @@ -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. +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/ diff --git a/_meta/Topic_Log.md b/_meta/Topic_Log.md index b65ce95..17de264 100644 --- a/_meta/Topic_Log.md +++ b/_meta/Topic_Log.md @@ -9,10 +9,14 @@ - Read up properly about `find` and `read` - `.list` file extension - Error handling - +- Splitting strings - Awk - https://dane-bulat.medium.com/the-awk-programming-language-an-introduction-7035d343cd30 +## Linux + +- `/dev/null` in greater depth + ## SQL - What is a _schema_ in MySQL/ SQL ?