Tuesday, 21 July 2015

Renaming multiple files in Linux

Some times we need to rename multiple files. Renaming multiple files takes more time when we are using regular ways. There is a easy way to rename multiple files.

rename tool is used to rename multiple files. Consider i am having following files

Now, we need to replace | (pipe) to s character. So that,

rename syntax is,
rename 's/\oldname/newname/' *

(Note: rename syntax is modified by our requirements)
Now, the pipe can be replaced by s character.

Thursday, 2 July 2015

Remote Desktop connection - Ubuntu PC

In this article, i will show you how to connect a remote Ubuntu PC to your PC. Generally Ubuntu has built in software called "Remmina Remote Desktop" software. 

Pre requirements

1. IP address of remote PC

2. Remote PC might be enabled to allow remote control sharing options

1. To know the IP address:

   Open terminal by pressing CTRL+ALT+T. then type ifconfig. it will show IP 

2. Enabling desktop sharing in remote PC

   Open ubuntu dash and search "Desktop sharing" 

you will get following window. In this window enable both options in the sharing window.


In your local machine, open dash and search "Remmina remote desktop client" 
then open the software

then click on add button as shown in above picture.

In the protocol section choose VNC - Virtual Network Computing. then in Server section type your remote pc ip address. Choose color depth "High color (16 bit) or High color (32 bit) inorder to get best performance. Choose Quality to Good then finally click connect button. Now you will get the remote pc to control.

Thanks for reading the article if you have any doughtor detecting problems then feel free to share your comments below.