how to
Change the hostname or computer name in linux
1. Open a terminal window. 2. Type the following command and hit Enter: sudo gedit /etc/hostname 3. Replace the current computer name with the desired new name and save. 4. Type the following command: sudo gedit /etc/hosts 5. Change the old 127.0.1.1 line to your new hostname. 6. Reboot
How to partition disk using fdisk
List partitions on the disk device sudo fdisk -l /dev/sda Enter command mode to work on disk’s partitions sudo fdisk /dev/sda Type m and press Enter to see a list of available commands Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag [...]
Start or Stop Windows Service using batch file
Start Windows Service Open notepad and create a new file named for ex start_my_service.bat. Paste in file the following lines: @echo off echo "starting my_service" net start "my_service" echo "done" @echo on pause Save the file, right click on it and select “Run as administrator..” to run it! Stop Windows Service Open notepad and [...]
Setting Up Your Android Development Environment
1. Confirm that your computer meets the System Requirements. 2. Download and install eclipse ide classic. 3. Download the Android SDK Package. 4. Install the ADT Plugin for Eclipse. You can find here a step-by-step installation guide. After restarting your eclipse, a window will be shown up asking you to install sdk platform tools and [...]