Skip to main content

Posts

Graphic Drivers on Ubuntu

How to view which graphic drivers are in use in my Linux (Ubuntu) system . >jockey-text -help     Options:   -h, --help            show this help message and exit   -c, --check           Check for newly used or usable drivers and notify the                         user.   -u, --update-db       Query driver databases for newly available or updated                         drivers.   -l, --list            List available drivers and their status.   -a, --auto-install    Enable drivers that can be automatically installed.   --hardware-ids        List hardware identifiers from this system.   -e DRIVER, --enable=DRIVER                         Enable a driver   -d DRIVER, --disable=DRIVER                         Disable a driver   --confirm             Ask for confirmation for --enable/--disable   -C, --check-composite                         Check if there is a graphics driver available that                         supports composite and offer to enable it   -m free|nonfree|any, --m

OPEN SSH

What is ? OpenSSH  is a free open source set of computer tools used to provide secure and encrypted communication over a computer network by using the  ssh  protocol. Many people, new to computers and protocols, create a misconception about  OpenSSH , they think it is a protocol, but it is not, it is a set of computer programs that use the  ssh protocol . Why Open SSH ? The most important reason why should use  OpenSSH  tools over  ftp  and  telnet  is that all communications and user credentials using  OpenSSH  are encrypted, they are also protected from man in the middle attacks. If a third party tries to intercept your connection,  OpenSSH  detects it and informs you about that. Installation ?  sudo apt-get update $ sudo apt-get install openssh-server openssh-client $ sudo ufw allow 22 Links : https://help.ubuntu.com/community/SSH/OpenSSH/Configuring http://www.tecmint.com/install-openssh-server-in-linux/
Text Editors for Linux ...I prefer gEdit over Vim as its simple and no extra commands to memorize. gEdit Editor gedit is the default text editor for the GNOME desktop environment.  This is a UTF-8 compatible text editor. Home Page: http://projects.gnome.org/gedit/ Latest Stable Release: 2.26.2 Written in: C, Python Operating System: Cross-platform Read more about gEdit at Wikipedia Read more about Linux text editors 

Perl Hands on

To test if your system already has perl installed   $ which perl /usr/bin/perl To chcek which version of perl is installed  $ perl -v  This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level .....        

Settting up PATH Environment Variables

HOW TO EDIT PATH VARIABLES IN MAC -  1. Open terminal and enter the following command  -  touch ~/.bash_profile; open ~/.bash_profile This will open the bash_profile in text editor   2. Add the following line to the end of the file adding whatever additional directory you want in your path: export PATH="$HOME/.rbenv/bin:$PATH" 3. Save the .bash_profile file and Quit (Command + Q) Text Edit. 4. Force the .bash_profile to execute. This loads the values immediately without having to reboot. In your Terminal window, run the following command. source ~/.bash_profile Voila ! You are done.  Check your Path vars by typing echo$PATH in the editor.    Multiple path environment variable setup with bash - export PATH = "A" export PATH = "$PATH:B" export PATH = "$PATH:C"

Install apk file on your phone through adb command .

While I was trying to download an android app on my mobile phone, I was getting a error ( 498) . Tried looking for the solution but couldn't get the resolution of my problem. That's when I tweaked around and downloaded the app on phone through adb install command from my mac book .  Steps -  (Follow steps 1, 2 if Android SDK is not already installed on your system. ) 1. Download the Android Software Development Kit (SDK) from the Android SDK Download Site. 2. Once downloaded, find a safe installation location on your machine and simply extract the zipped files to this directory. For example, • on Mac or Linux, install in $HOME/ • on Windows, install in C:/ Make note of the full path to and directory name of this directory where the SDK files are unpacked on your system.  3.  If you are currently in the platform-tools directory, just call ./ adb -- help The dot is your current directory, and this tells Bash to use adb from there. Otherw