Archive

Archive for the ‘Linux’ Category

Install Komodo Edit Linux Ubuntu

Run the below given commands

1) sudo add-apt-repository ppa:mystic-mirage/komodo-edit
2) sudo apt-get update
3) sudo apt-get install komodo-edit

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: , , ,

install rar in linux ubuntu

# apt-get install unrar

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: , ,

How to run a php file geany editor linux

You can runa php file  by pressing  F5 key

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: ,

Linux command to list only files

ls -la  |grep ^-

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: , ,

Linux command to list only directories

ls -la -d */

or

ls -la  |grep ^d

 

 

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: , ,

Replace a string with another in vi editor

:%s/str1/$str2/g will replace all the occurance of str1 with str2

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: , , , ,

Go to a particular line VI Editor

Type the following

:45

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: , ,

vi editor show line number

Type any one of the following

set number  or set nu

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Categories: Linux Tags: , ,

Switch to our mobile site