Currently browsing category

Operating Systems

WhatIsAndroid

What is Android? A beginner’s guide

Android is an open source and Linux-based Operating System for mobile devices such as smartphones and tablet computers. Android was developed by the Open Handset Alliance, led by Google, and other companies. Android offers a unified approach to application development for mobile devices which means developers need only develop for …

vicheatsheet

Basic vi Commands

General Startup To use vi: vi filename To exit vi and save changes: ZZ or :wq or : x To exit vi without saving changes: :q! To enter vi command mode: [esc] Counts A number preceding any vi command tells vi to repeat that command that many times. Cursor Movement …

terminator2

Ubuntu Terminator Useful Shortcuts

  Ctrl+Shift+X – Toggle between showing all terminals and only showing the current one. Ctrl+Shift+O – Split terminals Horizontally. Ctrl+Shift+E – Split terminals Vertically. Ctrl+Shift+Right – Move parent dragbar Right. Ctrl+Shift+Left – Move parent dragbar Left. Ctrl+Shift+Up – Move parent dragbar Up. Ctrl+Shift+Down – Move parent dragbar Down. Ctrl+Shift+W – Close …

linuxlogo3

The Search Path

It may happen that you know there is a program by a particular name on the system, but when you try to start it from the command line, you are told that the file is not found. Because you just ran it yesterday, you assume it has gotten removed or you …

linux_file_permissions

Linux ls command

This command of Linux lists the contents of a directory. By default current directory. -a Shows you all files, even files that are hidden (these files begin with a dot.) -A List all files including the hidden files. However, does not display the working directory (.) or the parent directory …

linuxlogo3

Adding a Directory to the Path

Executive Summary Adding a directory to the path of a user or all users would seem trivial, but in fact it isn’t. The best place to add a directory to the path of a single user is to modify that user’s.bash_profile file. To add it to all users except user root, add …

Linux Core Dump Files

Linux sometimes dumps a huge file when a script crashes. These core files can build up and eat away valuable disk space. Some other methods of deleting core files will damage your server. Here are a few simple commands I use to find and delete these core dump files safely. …

Linux Typical Dot Files

There is some redundancy across these programs. For example, the look and behavior of emacs can be customized by usinng the .emacs file, but also by adding the appropriate modifications to the .Xdefaults file. Default versions of these files are often installed in users’ home directories when the software packages …

Install A Loopback Adapter In Windows 7

The Microsoft Loopback adapter is a groovy little tool originally designed for testing network configurations.  Over time however, many other uses have been found for it such as networking two computers together without using a cross-over Ethernet cable, and connecting virtual machines to the internet.  We’ve covered setup for the …

Set your PATH variable under Linux

This article explains how set your PATH variable under Linux. This has the same use as that of setting the PATH variable under DOS. Under Linux too, modifying the PATH would add these new directories to your default search path. So in case you have a particular executable in a …

Basic Linux Commands

Command Example Description cat Sends file contents to standard output. This is a way to list the contents of short files to the screen. It works well with piping. cat .bashrc Sends the contents of the “.bashrc” file to the screen. cd Change directory cd /home Change the current working …