Posts

Showing posts from 2015

How to Root Samsung Galaxy J7 with a few clicks

Image
How To Install TWRP Recovery & Root Samsung Galaxy J7 Samsung Galaxy J7 is a high quality Android smartphone, which comes with 5.5 inch super AMOLED touchscreen display powered by 1.5 GHz octa-core processor along with a 1.5 GB RAM and the device runs on Android 5.1 Lollipop operating system. If you have purchased this smartphone and looking for a way to gain root privileges, you are in the right page as I have given a tutorial to root Samsung Galaxy J7 here. Along with rooting tutorial, I have also provided a tutorial for installing TWRP recovery in Galaxy J7 using Odin. The advantages of gaining root privileges is that it will let you to install custom-built Android applications which only runs on rooted devices, custom ROM firmware’s, etc. WARNING: Rooting your Samsung smartphone will void its warranty and you won’t be able to claim it back until you unroot your device. Also, if your device gets damaged during the rooting procedure, don’t held me responsible

Bash Useful Tricks

Source: -  bash-shortcuts-for-maximum-productivity Really useful article. Practice until you remember these little tricks. This article will save you a lot of time Sharing this article on the blog, so that readers can get best tips at one location. Command Editing Shortcuts Ctrl + a – go to the start of the command line Ctrl + e – go to the end of the command line Ctrl + k – delete from cursor to the end of the command line Ctrl + u – delete from cursor to the start of the command line Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word) Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor Ctrl + xx – move between start of command line and current cursor position (and back again) Alt + b – move backward one word (or go to start of word the cursor is currently on) Alt + f – move forward one word (or go to end of word the cursor is currently on) Alt + d – delete to en

Writing alias in csh and tcsh - This is for .cshrc

Tutorial from http://home.adelphi.edu/sbloch/class/archive/271/fall2005/notes/aliases.html  Simple aliases The csh and tcsh shells provide an alias command that allows you to make up new commands as abbreviations for longer, more complex commands. For example, alias ll ls -l defines a command named ll which lists files in long form ( i.e. with protections, sizes, modification dates, etc.) You can use it by itself: ll total 20 -rw-r--r-- 1 sbloch users 4583 Oct 13 16:10 hw2.html -rw-r--r-- 1 sbloch users 3273 Oct 13 16:46 hw3.html -rw-r--r-- 1 sbloch users 540 Oct 11 13:49 index.html drwx------ 2 sbloch users 4096 Oct 11 12:01 old or with arguments: ll ~/html/class/271/assignments/h* -rw-r--r-- 1 sbloch users 4583 Oct 13 16:10 /users/staff/math/sbloch/html/class/271/assignments/hw2.html -rw-r--r-- 1 sbloch users 3273 Oct 13 16:46 /users/staff/math/sbloch/html/class/271/assignments/hw3.html Note tha

Basic Bash Scripting - How to get started with bash

Image
1. Hello World Bash Shell Script First you need to find out where is your bash interpreter located. Enter the following into your command line: $ which bash Open up you favorite text editor and a create file called hello_world.sh. Insert the following lines to a file: NOTE:Every bash shell script in this tutorial starts with shebang:"#!" which is not read as a comment. First line is also a place where you put your interpreter which is in this case: /bin/bash. Here is our first bash shell script example: #!/bin/bash # declare STRING variable STRING="Hello World" #print variable on a screen echo $STRING Navigate to a directory where your hello_world.sh is located and make the file executable: $ chmod +x hello_world.sh Now you are ready to execute your first bash script: ./hello_world.sh 2. Simple Backup bash shell script #!/bin/bash tar -czf myhome_directory.tar.gz /home/linuxconfig 3. Variables In this example we declare simple bash va

Time saving command line tricks in linux and mac for terminal lovers.

Image
 The original article is mentioned at become a command line ninja - lifehacker  The command line can be quite powerful, but typing in long commands and file paths gets tedious pretty quickly. Here are some shortcuts that will have you running long, tedious, or complex commands with just a few keystrokes. Power users love the command line for its ability to perform complicated tasks with just a few keystrokes. But for beginners who don't know the shortcuts and type everything out longhand, it can seem like it takes forever (I know this because I'm just past beginner myself, and I still didn't know most of these shortcuts). These commands apply primarily to *NIX-based command lines, which, out of the box, are included on systems like OS X and Linux. To use them on Windows, install Cygwin . (We highly recommend ditching Windows' crappy command line for Cygwin .)