Monitor network (data) usage in linux
The amount of data sent (uploaded) & received (downloaded) can be found out using the following bash script.
🌗
The amount of data sent (uploaded) & received (downloaded) can be found out using the following bash script.
Do you sometimes forget the actual location of directories & have to juggle through cd
& ls
to know the right path?
In this short post, we discuss how to make a “smart” alternative to cd
command on Linux (& probably MacOS 🙄).
You may arrive in a situation where you may want to “extract” out text between two words.
For example to view the latest changelog (where x.x.x
is the latest version) in a CHANGELOG.md file.
Below are a bunch of easy one-liner commands that gives information about various aspects of your Linux machine.
If you are a developer then fixing bugs takes time because you have to shift from terminal to your fav browser & then type your query. (and then in between you open reddit/twitter 😅 for some reason, which wanders your attention).
Line discipline handles things like backspace and also generates various signals for special characters like Ctrl + C/Z etc.
So if you work with Python all day, you already know about Virtual Environments.
The only problem with me 😅 is that I end up creating a lot of them when using and making my side-projects.
We know that there is a activate
script that can be used for this purpose.
By default, go run
runs the compiled binary directly.
The binaries are stored in a temp
work folder, to see where they are stored use the -work
flag.