Sponsored Content
Full Discussion: Having trouble with .bashrc
Top Forums UNIX for Dummies Questions & Answers Having trouble with .bashrc Post 302250922 by oxoxo on Friday 24th of October 2008 03:08:43 PM
Old 10-24-2008
Ok, ls -a finds all files in my home directory structure.

.bashrc is there meaning that i've found all the .bashrc files that are within the home directory.

My next ask is to "add a line to change the PS1 varaible to >"

I guess i've done that by simply typing, PS1='>'
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

from bashrc to sh..??

:) as soon as i installed my software a couple of weeks ago.. (fedora core 2 vs, 2.6.8-1.521) i decided to switch the shell to sh shell and i know that .bashrc is the bash profile file(???) i want to use the sh version of the same file and make it the main profile file.. how can I switch it and... (3 Replies)
Discussion started by: moxxx68
3 Replies

2. UNIX for Dummies Questions & Answers

history -c in my .bashrc

Hi, I come into unix with csh, but i switch to bash . I want to clear my command history for each session, history -c, but for some reason this doesn't work in the .bashrc file. I know that the file is running after I type bash on my csh command line because I get the hello back. If I am already... (1 Reply)
Discussion started by: yankee428
1 Replies

3. UNIX for Dummies Questions & Answers

sourcing the .bashrc

Hello, I am quite new to Linux... I need to set some aliases and I can't get it to work. Can somebody tell me what's wrong? I modified the .bashrc file in my home directory. I added: alias pmv= '/home/vera/MGLTools-1.4.5/share/bin/pmv' saved it and ran source .bashrc The shell... (3 Replies)
Discussion started by: Nusy
3 Replies

4. Ubuntu

/etc/bashrc umask

Hi, I got this redhat ent 4 assigned to me now. /etc/bashrc if ; then umask 022 else umask 077 fi What does it mean? I created already three user and it never had 022 umask, always 077. Thank you in advance. (3 Replies)
Discussion started by: itik
3 Replies

5. Shell Programming and Scripting

how do i look for my .bashrc file

hi i am using cygwin and would like to modify my .bashrc file. How can search to find where it is? I have looked at multiple bashrc file in /etc but none of them seemed to work..thanks (12 Replies)
Discussion started by: npatwardhan
12 Replies

6. Shell Programming and Scripting

bashrc

i have made a few changes to my bashrc file...have set a few environmental variable that my shell scripts use. Is there any way that these changes can reflect in evryone else's bashrc who are in the network or do all of them have to copy those changes to their own bashrc file. (2 Replies)
Discussion started by: lassimanji
2 Replies

7. Shell Programming and Scripting

.bashrc file

Hi experts, I am using bash shell and I cant find any .bashrc file in my home dir. Can anybody please help me out here.... If .bashrc file is not there, from where my shell config operates? Also I want to set my prompt like... $ Please advice. (5 Replies)
Discussion started by: gentleDean
5 Replies

8. Shell Programming and Scripting

bashrc not saving changes

I am trying to do some changes at bashrc file located at /etc directory of my server. First I tried to edit bashrc via FTP downloaded on my pc changed it and loaded back, but it seems like changes are not reflecting. Therefore I tried to change it via putty shel using vim bashrc command. but... (4 Replies)
Discussion started by: ninadgac
4 Replies

9. UNIX for Dummies Questions & Answers

how to get $1 parameter in ~/.bashrc

Hi, i am trying to convert windows path to linux and do some action on equivalent mounted one for the same in linux. echo '\\server1\source\path\needed_files' | sed -e 's!\\!/!g' | sed -e 's!^//!/!' | sed -e 's!\(/server1/source/path\)\(.*\)!/home/$USER/mount/server1\2!'output: ... (5 Replies)
Discussion started by: greet_sed
5 Replies

10. Shell Programming and Scripting

Modifying the .bashrc

I have modified the .bashrc. The problem is that when I write a long command, it does not write on the next line but continues to write on the same line. # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for... (1 Reply)
Discussion started by: kristinu
1 Replies
autojump(1)						      General Commands Manual						       autojump(1)

   NAME
       autojump - a faster way to navigate your filesystem

   SYNOPSIS
       Load autojump:

	      . /usr/share/autojump/autojump.sh

       Jump to a previously visited directory `foobar':

	      j foo

       Show all database entries and their respective key weights:

	      jumpstat

   DESCRIPTION
       autojump is a faster way to navigate your filesystem.  It works by maintaining a database of the directories you use the most from the com-
       mand line.  The jumpstat command shows you the current contents of the database.  Directories must be visited  first  before  they  can	be
       jumped to.

   OPTIONS
       Options must be passed to `autojump' and not the `j' wrapper function.

	      -a, --add DIR	  manually add path to database

	      --stat		  show database entries and their key weights

	      --version 	  show version information and exit

   INTERNAL OPTIONS
	      -b, --bash	  enclose directory with quotes to prevent errors

	      --completion	  prevent key weight decay over time

   ADVANCED USAGE
       o Prefer Symbolic Links

	 Default  behavior is to evaluate symbolic links into full paths as to reduce duplicate entries in the database.  However, some users pre-
	 fer a shorter working directory path in their shell prompt.  To switch behavior to prefer symbolic links, export the following configura-
	 tion in your ~/.bashrc:

		export AUTOJUMP_KEEP_SYMLINKS=1

       o Change Directory Weight

	 To  manually  change  a  directory's key weight, you can edit the file $XDG_DATA_HOME/autojump/autojump.txt.  Each entry has two columns.
	 The first is the key weight and the second is the path:

		29.3383211216	/home/user/downloads

	 All negative key weights are purged automatically.

   KNOWN ISSUES
       o zsh (bug #86)

	 Tab completion does not work.

       o jumpapplet (bug #59)

	 Does not work in Gnome 3 shell or LDXE.

   FILES
       If installed locally, autojump is self-contained in ~/.autojump/.

       The database is stored in $XDG_DATA_HOME/autojump/autojump.txt.

   REPORTING BUGS
       For any issues please visit the following URL:

       https://github.com/joelthelion/autojump/issues

   THANKS
       Special thanks goes out to: Pierre Gueth, Simon Marache-Francisco, Daniel Jackoway, and many others.

   AUTHORS
       autojump was originally written by Joel Schaerer, and currently maintained by William Ting.

   COPYRIGHT
       Copyright (C) 2012 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.  This	is
       free software: you are free to change and redistribute it.  There is NO WARRANTY, to the extent permitted by law.

release-v20							   10 April 2012						       autojump(1)
All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy