Customize a script based on linux instead of rm command

The `rm` command in Linux is extremely powerful and irreversible. To prevent accidental deletion, you can create a custom script to replace the `rm` command. Here's how it works. This simple script avoids using the `rm` command directly and performs the following functions: 1. If the recycle bin doesn't exist, it creates one. 2. It removes the trailing slash (`/`) from folder names if present. 3. It appends a date to the file or folder name. If it's a folder, it packages it first and moves it to the recycle bin, while moving the original folder to `/tmp`. Save the script as `my_rm.sh` and place it in a hidden directory, such as `/home/fedora/.my_remove`. Next, modify your startup scripts. For Fedora, edit the `.bashrc` files in both your home directory and the `/root` directory. Add two lines to include this script in your environment and create an alias for `rm`, as shown in the image below. ![Customize a script based on Linux instead of rm command](http://i.bosscdn.com/blog/pI/YB/AF/py54SAJiIKAAAnPR4RgL8742.png) After making these changes, restart your system (you can use the `reboot` command) for the updates to take effect. Once everything is set up, you can check the alias by running the `alias` command. The result should look like the image below. ![Alias confirmation](http://i.bosscdn.com/blog/pI/YB/AF/py54SAW9MqAAAJh5ZBqLw036.png) Now, when you use the `rm` command to delete files or folders, it won’t permanently remove them. Instead, they will be moved to the recycle bin with a timestamp added to their names, making it easier to identify them later. ![Example of deleted file with timestamp](http://i.bosscdn.com/blog/pI/YB/AF/py54WAdeTNAACjPrj4jW8037.png) If you want to empty the recycle bin, navigate to it and run the following command. This will allow Linux to automatically clean up the `/tmp` directory after some time. ![Emptying the recycle bin](http://i.bosscdn.com/blog/pI/YB/AF/py54WAM64mAAADIg4-fqc403.png) This approach adds a safety layer to file deletion, reducing the risk of accidental data loss.

Customized Solar Panel

Customized Solar Panel, 100watt solar panel,200watt solar panel, big solar panel, high efficiency high quality solar modules

different power customized and OEM logo customized solar panel


Customized solar panel data

solar cell type mono crystalline half cut cell
power range 50watt to max 700watt
size and weight different size and different weight if the power is different
solar panel type monofacial or bifacial
solar panel color sliver or black

Product details and pic

1 Jpg5 Png5 Png

Customized Solar Panel,Noncrystalline Solar Panel Module,Cheap Price Pv Solar Module,Solar Photovoltaic Pv Panel

PLIER(Suzhou) Photovoltaic Technology Co., Ltd. , https://www.pliersolar.com