Pramod T P

Search
Skip to content
  • Home
  • PHP
  • WordPress
  • Linux
  • Magento
  • My SQL
  • Profile
  • comments

Daily Archives: August 8, 2011

Linux

Set environment variables permanently – ubuntu linux

August 8, 2011 Pramod T P Leave a comment
You can set it usinf the “explore” command

For eg : export some_var=some_value

CommandLinuxUbuntu
Linux

list environment variable ubuntu linux

August 8, 2011 Pramod T P Leave a comment
Just type the command  “env”
The output will be

JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.06
GDM_KEYBOARD_LAYOUT=us
LANG=en_IN
GNOME_KEYRING_PID=1844
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
GDM_LANG=en_IN

 

 

CommandLinuxUbuntu
Linux

Ubuntu 10.04 : Make Pidgin run at startup

August 8, 2011 Pramod T P Leave a comment
Click System > Preferences > Start up Applications.Just click on the add button and fill the name and command fields with the value “pidgin”

and save the details .

CommandLinuxUbuntu
Linux

How To Find Out Your Ubuntu Version

August 8, 2011 Pramod T P Leave a comment

Just click System/About Ubuntu?

or

Got to Applications -> Accessories -> Terminal and type cat /etc/lsb-release

Then you could see the following

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=10.04

DISTRIB_CODENAME=lucid

DISTRIB_DESCRIPTION=”Ubuntu 10.04.2 LTS”

 

 

CommandLinuxUbuntu
Linux

Find out current working directory of a process

August 8, 2011 Pramod T P Leave a comment

Find out the process id ps aux | grep {process-name}

To find out current working directory of a PID 2234  pwdx pwdx

Output    /home/<user-name>

CommandLinuxUbuntu
Linux

Find out process id of a process – Linux

August 8, 2011 Pramod T P Leave a comment

ps aux | grep <process-name>

CommandLinuxUbuntu
Linux

Find out current working directory – Linux

August 8, 2011 Pramod T P Leave a comment

pwd

/home/<user-name>

 

CommandLinuxUbuntu

Zend | Magento Certified PHP | eCommerce Architect

For Latest Updates
Visit phpcodez.com

Categories

Recent Posts

  • Regular expression
  • preg_match
  • Redirect root domain to a subdomain .htaccess
  • Redirect root domain to a subfolder .htaccess
  • Force SSL htaccess
August 2011
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« Jul   Sep »

Recent Comments

togel online's avatartogel online on How to terminate the current s…
business funding's avatarbusiness funding on compare two strings – ja…
unsecured loans uk's avatarunsecured loans uk on Function to add an element int…
treating back pain's avatartreating back pain on Submit HTML form to pop up pag…
Pura Cleanse's avatarPura Cleanse on Add the block "Based on y…
  • RSS - Posts
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Pramod T P
    • Already have a WordPress.com account? Log in now.
    • Pramod T P
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar

Loading Comments...