We all like to experiment with new programs and commands. Sadly though, we are not very sure what running those will do to our system at any given moment or what will happen exactly afterward. We will only know the results once we have executed them. That in itself is a problem since we could end up breaking the system or at the very least obtain unwanted results.
We want to show you how to experiment with any command knowing exactly what will happen before executing them. Fortunately yes. It is possible to know what commands or apps will do before you run them, keep reading.
Say hello to maybe this tool allows you to know exactly what will happen after executing a command or running a program but without actually doing it.
Before installing maybe you should first install “python-pip” since one depends on the other, to install python-pip execute:
sudo apt install python-pip
Install “maybe” in Linux by executing the following command:
sudo pip install maybe
Once installed it is really easy to use! just add maybe before the command you wish to use execute, for instance, we have created a folder in our desktop called “Test” with some files inside it, say we executed:
maybe rm -r Test/
We would receive the following output:
maybe has prevented rm -r Test/ from performing 6 file system operations:
Do you want to rerun rm -r Test/ and permit these operations? [y/N]
However as you can see it will warn you first of whatever actions it will be taking before asking to either accept or deny the execution of the command along with its actions. Please notice that replying “Y” will actually result in all commands and runs actually being processed, therefore please be cautious.
maybe can also be used with executable files types .deb .flatpak, .appimage etc etc. by means of executing them using the terminal rather than the graphical interface of your operating system.
Now you know how to find out what will happen exactly after playing around with those commands or apps before they cause harm to your system and do things you didn’t intend and we hope this article will be useful to you in the future.
Is this app absolutely secure?
The developer of the software Philipp Emanuel Weidmann does not claim it is %100, in fact he calls it beta-software. thus by no means should you ever consider this stable and error proofed because it isn’t. Please exercise caution and do not use this software to execute insecure code or applications, specially those from dubious origins or sources. There’s no warranties that the program will block absolutely all actions by the application or code being executed. You’ve been warned if you decide to play around with it.