Tag:
bashrc

Fix git-upload-pack and git-receive-pack errors on shared hosting

by
on
February 24, 2011

When pulling from a remote git repository located on shared hosting you will get the “git-upload-pack: command not found” error. A similar error occurs with the git-receive-pack when doing a push as well. This occurs when git is installed locally (in your home directory), and not system wide because git cannot locate these binaries. Normally [...]

Read More
No Comments
git

How to correctly use LD_LIBRARY_PATH

by
on
October 22, 2008

The LD_LIBRARY_PATH environment variable contains a colon separated list of paths that the linker uses to resolve library dependencies of ELF executables at run-time. These paths will be given priority over the standard library paths /lib and /usr/lib. The standard paths will still be searched, but only after the list of paths in LD_LIBRARY_PATH has [...]

Read More
5 Comments
system administration

Customize the BASH PS1 command prompt

by
on
October 19, 2008

The PS1 environment controls the appearance of the BASH command line prompt. There are a variety of default prompts but they usually include username, hostname, and working directory. You can easily customize your prompt to display information important to you as well as add color and style formatting. Here we can see the default prompt [...]

Read More
1 Comment
bash
Copyright 2008-2010 WiredRevolution.com. All rights reserved.