MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

Recovering a Recently opended deleted files

rajeshkumar created the topic: Recovering a Recently opended deleted files Recovering a Recently opended deleted files By using lsof, you can recover a deleted file that was opened already. This comes very handy when attacker gain access to the systems and has executed commands or has done some configuration changes, and then removes the log … Read more

Securing a directory

rajeshkumar created the topic: Securing a directory Securing a directory Here is a tip that uses the sticky bit feature of Linux to secure a directory. A sticky but ensures that no user other than the owner and the super can delete files in the directory. When a sticky bit is applied to a directory, … Read more

Changing port of ftp and ssh

rajeshkumar created the topic: Changing port of ftp and ssh Changing port of ftp and ssh To Change the port of ssh, edit the file /etc/ssh/sshd_config and add the following line: port 222 Restart the services of ssh to make the changes effective. Now you need to specify the port number using option ‘-p’ whenever … Read more

Make your pendrive bootable

rajeshkumar created the topic: Make your pendrive bootable Make your pendrive bootable if you can not boot from the DVD/CD-ROM drive, but can boot using USB device such as a USB pen drive, the following alternative method can be used to boot Linux. 1. Check the name of your pen drive by issuing the following … Read more

How to check ssh is working with public key / private key

rajeshkumar created the topic: How to check ssh is working with public key / private key Code – ssh serverhostname -o ‘BatchMode=yes’ -o ‘ConnectionAttempts=1’ true Every time a ssh attempt fails, it rights a string “Failed” to the /var/log/secure. Maybe you can just count that number, and if it goes above a threshold you can … Read more

How to check ssh is working with public key / private key

rajeshkumar created the topic: How to check ssh is working with public key / private key Code – ssh serverhostname -o ‘BatchMode=yes’ -o ‘ConnectionAttempts=1’ true Every time a ssh attempt fails, it rights a string “Failed” to the /var/log/secure. Maybe you can just count that number, and if it goes above a threshold you can … Read more

Create a script haven’t been accessed for a week, then delete them

rajeshkumar created the topic: Create a script haven’t been accessed for a week, then delete them Create a script for a cronjob that checks a special directory for files with the extension .tmp that haven’t been accessed for a week, then delete them. Also remove all empty directories. #!/bin/bash usage() { echo “Usage: $0 [-d … Read more

Questions to test your linux shell Script

rajeshkumar created the topic: Questions to test your linux shell Script www.scmgalaxy.com/index.php?option=com_k…34&id=427&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=426&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=425&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=424&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=423&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=422&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=419&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=421&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=420&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=418&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=431&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=430&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=428&Itemid=442 Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn sribhavani_u replied the topic: Questions to test your linux shell Script #assignment question1 #You have a number of C programs that certain comment lines … Read more