Useful Things

Today, I learned to check the last login of a person in remote server

lastlog |grep “username”

eg. lastlog |grep “amisha”

 

For running the command make in src/mod_tile you should install

sudo apt-get install libmapnik-dev

 

While running the command in terminal.

shapeindex land_polygons.shp

Terminal prompts

The program ‘shapeindex’ is currently not installed. You can install it by typing:
sudo apt-get install mapnik-utils

Then, I installed it.

 sudo apt-get install mapnik-utils

To copy a directory from one path to other that contain some folder and directories

cp -r /source/path  /destination/path

Here r means recursively.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s