Make your pen drive bootable
#chmod o+t mydir
This feature is extremely useful for group projects where multiple users are using the content from one single directory.
Changing port of ftp and ssh
Here is a simple tip to change the default ports of ftp and ssh.
/etc/ssh/sshd_ con g and add the following line:
Port 222
listen_port=2100 ##add this line
ftp localhost 2100
ln -s /home/test ~/Desktop/abc
—Tulika Narang, n.tulika@gmail.com Restart the service of ssh to make the changes effective. Now you need to specify the port number using option
#ssh localhost -p 222
In order to change the port of ftp server, / etc/vsftpd/vsftpd.conf Restart the service of ftp. Now run the following command to check if the listening ports have been changed or not:
You can even check the open port using the netstat or nmap commands.
—Sumit Chauhan, sumit1203@gmail.com
Creating a desktop shortcut in Ubuntu
Here is a command to create a desktop shortcut for any folder:
This will create a shortcut of the folder named test / home/test abc.
not only to Ubuntu.
—Shakir Memon, shakir22cs@gmail.com
but can boot using a USB device such as a USB pen drive, the following alternative method can be used to boot Linux.
following command:
#fdisk -l
/dev/sdb diskboot.img for redhat installation
dvd to root of the USB disk.
execute the following command:
#dd if=/root/diskboot.img of=/dev/sdb
Log in message
—Suresh Jagtap, smjagtap@gmail.com
Here is how to get greeted with a welcome message every time you log in. Create a shell script in your home directory as welcome.sh:
Now add welcome.sh command in Linux prints a random epigram.
—Sachin Selokar, sachinselokar@gmail.com