Bash
Ubuntu – restore large file from trash
If you are trying to restore really large file from the ubuntu trash, you could experience some nautilus freeze. You can do easily using shell in a few seconds
If you are trying to restore really large file from the ubuntu trash, you could experience some nautilus freeze. You can do easily using shell in a few seconds
How to capture loopback traffic using wireshark and rawcap. Windows quick tutorial. If you are trying to capture traffic from a machine to itself, that traffic will not be sent over a real network interface, even if it’s being sent to an address on one of the machine’s network adapters. Read more…
Just a list of the common commands that I use on cmd console Copy a file Robust copy – file and folders Delete file Delete recursive a folder Netstat – Connections check Process kill using PID number Tail
In some cases the program Robo3t, the useful user interface for Mongo DB, it displays by default really small fonts that make it almost useless. In my case I fix it creating a bash script (in the robo3t root installation folder) that launch the following command. In this case I Read more…
If you are using a system with dual boot (windows + ubuntu) you can experience a painful bug. Ubuntu, and other unix system, uses a different way to display the time to the user. A quick fix could be install the service timesyncd that provide an internet sync with the Read more…
Useful command to clean all files content of a directory without removing it… Use cases: you have an application running and you don’t want to stop you don’t want to think about reset file permission that somebody else has configured in a bad way
Sometimes you need to move your develop from a branch to another; in this case the cherry pick command is your friend. Definition: given one or more existing commits, apply the change each one introduces, recording a new commit for each. This requires your working tree to be clean (no Read more…
Rsync, which stands for “remote sync”, is a remote and local file synchronization tool. It uses an algorithm that minimizes the amount of data copied by only moving the portions of files that have changed. Here an example