General :: Unable To Find .bash_profile
Dec 13, 2010I have installed oracle11g R2 on ubuntun 10.04, upon completing I need to set the profile with environment variables but, could not locate the .bash_profile
View 11 RepliesI have installed oracle11g R2 on ubuntun 10.04, upon completing I need to set the profile with environment variables but, could not locate the .bash_profile
View 11 RepliesWhenever I reboot my fedora core 12 box I find that my .bash_profile does not load... I have to issue source ~/.bash_profile
How do I get this to load automatically each time?
I have loaded oracle 10g. I have made a shell namely Menu and copied it inside the /home/oracle directory. In the .bash_profile, entry has been made sh ./Menu. I want to execute this Menu whenever I login as oracle user.My system does not executeell. However, I am able to activate this shell by typing sh ./Menu from $ prompt
View 2 Replies View Relatedthis is my situation,I'm taking backup for some files in that i need to append the sysdate so that i can easily identify which file has to restore at some point,I've tried the following In my bash_profile(RHEL4)
Code:
SYSDATE=`%d/%m/%Y`
export SYSDATE
i tried after relogin to another terminal ,but when i give the following command
Code:
[malick@home ~]$ echo $SYSDATE
[malick@home ~]$ source ~/.bash_profile
bash: fg: %d/%m/%Y: no such job
I don't know what to do ,once the sysdate is set i can add that element to my script where it takes the back up
I have installed Oracle Database server in Red Hat Linux for the first time. I edited the .bash_profile first time & defined some parameters like "export ORACLE_SID =orcl".I quit the editing. Then When I entered ". .bash_profile" it got error " not a valid identifier" it shows like "bash: export: '=orcl' : not a valid identifier for all the lines I edited it shows same error beacause I think I put a space in between "ORACLE_SID" & "=orcl".
So when I tried to edit that using "vi .bash_profile" being a normal user. It doesn't allow me editing.when I try to delete that space (because I think I have got error) using Backspace key on my computer,,it just moves the cursor to left in stead of deleting that space.
I'm logging in as a user at run level 3.I have my .bash_profile in my home directory
Code:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
[code]....
Where to write JAVA_HOME? In .bashrc or in .bash_profile? What's the difference?
View 1 Replies View RelatedI have some Flex and Java files which can be compiled with JDK1.5. My server was already loaded with 1.4 (at path /usr/bin/java) and our sys admin(I dont know why) copied another JDK, JDK 1.5 at path /usr/java/jdk1.5.0_16/. It seems very easy to use this java. Just set the path in .bash_profile. I did it and now if I run which java I still see the path for java 1.4 not java 1.5. Am I doing something wrong? Following is actual entry from bash_profile
Code:
PATH=$PATH:$HOME/bin
PATH=/usr/java/jdk1.5.0_16/bin:$PATH
JAVA_HOME=/usr/java/jdk1.5.0_16/
export PATH JAVA_HOME
I have installed Damn Small Linux on an old laptop.very boot reports that the SSH has loaded as I have configured it to do so but does not load startx as instructed in .bash_profile.After bootup, the following is reported by the system.-bash: /home/dsl/.bash_profile: line 12: syntax error: unexpected end of fileThis is the content of the .bash_profile
#!/bin/bash
export IRCNICK=DSL
export DISPLAY=:0
[code]....
I have tried changing permissions and I have looked for a solution, but the error still exists.In fact it gives me a different error every time I log in.
Could not chdir to home directory /home/rb27: Permission denied
here is a snippet of what I get when I use the command ls -al:
drwxr-xr-x 16 root root 0 Sep 8 18:28 .
drwxr-xr-x 23 root root 4096 Feb 5 2011 ..
d????????? ? ? ? ? ? ajd74
d????????? ? ? ? ? ? ban45
d????????? ? ? ? ? ? rb27
I cannot log in as root since the permission is denied
I have Ubuntu installed on my laptop. cfdisk shows 150GB hard disk which is correct. Baobab shows 56GB only. Also, wherever I try to download something using Transmission torrent client it complains that disk space is not sufficient. There is nothing on my disk except a few movies. Where is all the space?
View 3 Replies View RelatedI can't find my document where I am coding in yesterday, through "history" command, I am sure the path is right, to my surprise, yesterday I copy the whole /Document to my HDD,but I can't find it in it either.
View 3 Replies View RelatedWhat are the steps I should take to solve this problem? Each day one script running in CMS_UAT(Hostname os server) copies and renames branch file from CMS This script does two following function
1) Copies the file named CMS_CRM_yyyymmddhhminsec_1 (exampleCMS_CRM_20110206194510_1) from the K:ReverseMigrationprod-dd-mm-yyyy-xls ( example K:ReverseMigrationprod-06-02-2011-xls) to the folder Named backup/cms_crm)
2) It renames the file to CMS_CRM.CSV
This script is not running from the day CMS_UAT crashed and restored again. start running the script at around 8pm every night I am not able to find the script.
I had two OS win xp nd fedora10.i formated my xp nd was installing windows 7 in its place when i did the same my fedora got invisible i m unable to find whole partition where my fedora was installed. and i cant use fedora now.
View 5 Replies View RelatedI currently dont have the cd/dvd of RHEL 5. But i need to install gcc. I have been searching all day but wasnt able to find any rpm that is related to RHEL5. I download the following file
gcc-3.0.4.tar.gz
and extracted it, Then i run the following command
[root@WAN-Admin gcc-3.0.4]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/new/gcc-3.0.4 using "mt-frag"
/tmp/cNf11430/cNf11430.pos: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Now i am really hanged as what to do now. I added rpmfusion as my yum repo, i searched rpmpbone.net for gcc file for RHEL5 but it seems its not there for this version.
[Code]....
I am newbie and had just installed CentOS 5.4 in my system. Now I cannot play any music/video files. The error always shows that "You do not have a decoder installed to handle this file. You might need to install the necessary plugins." I have searched for decoders in Google, but I am confused of those many stuffs.
View 1 Replies View RelatedI have been asked to write a program to extract the width and height values from .gif, .jpg and .png files. For .gif I was able to find the values in the header records, but it is not so straight forward for the other two formats.
Does anyone know if there is a Linux utility that will do this for me?
I am unable to find other computers on my local network from my workstation.
Code:
nmap 192.168.0.*
shows me the workstation and the gateway(192.168.0.1)
My workstation has 2 interfaces: eth0 and eth1. both are checked in the "trusted interfaces" section of system-config-firewall. Network is currently connected to eth1. If I run the same nmap command from my laptop (also fedora), it outputs everything on the network but my workstation. The strange thing is that the workstation has functioning internet connection.
when a script in /etc/cron.d directory will be executed?. I know that scripts in cron.daily will be executed daily [ set in /etc/crontab file]? Cant able to find this directory listed in /etc/crontab file?
View 2 Replies View Relatedi recently changed my broadband provider and since then i havent been able to connect to the internet. I have configured all the settings on my laptop,(ive got puppy linux 4 on it). All the settings say i have a valid connection to the wireless connection and that its recognised the new provider but when i try to access the internet i get the page that says UNABLE TO CONNECT TO SERVER and it also says that i need to check my network connections etc etc. Ive done all that and it appears that i have everything in the right place. SO WHY wont it connect.
View 1 Replies View RelatedI am not able to use internet using wireless lan. I am Not able to find the hardware and install the drivers .Please help me.I am Using red hat linux 5.4.
View 3 Replies View RelatedThere are things that I want to have for all my users.For example, I want to set the java_home, the PATH, I want to mount a drive, etc ...I understand there is a .bash_profile file that does that, but it seems I need to copy the code for all users every time.Is there some kind of MASTER file that sets all those things before running the individual profile files?
View 3 Replies View RelatedI have just started using ubuntu and use the terminal a lot.I would like to edit it(blue username).I have tried changing the .bash_profile file, but my changes do not seem to affect it.I also added an alias to bash.bashrc but my computer started looping at login I reinstalled. I dont know if that caused it (I doubt it, but I didnt do anything else, though undoing it didnt work). what to put in the .bash_profile file. It is currently blank, and nothing I add seems to work (using online tutorials).Using ubuntu 10.10 (netbook) and normal - I would like to edit the netbook edition, though I thought they would be the same.
View 2 Replies View RelatedI'm trying to figure out how to operate a rather large Java program, 'prog'. If I go to its /bin/ dir and configure its setenv.sh and prog.sh to use local directories and my current user account. Then I try to run it via "./prog.sh start". Here are all the relevant bits of prog.sh:
[code]...
When I actually do ./prog.sh start, it starts. But I can't find it at all on the process list. Nor can I kill it manually, using the same command the shell script uses. But I can tell it's running, because if I do ./prog.sh stop, it stops (and some temporary files elsewhere clean themselves out).
[code]...
the process is running yet not in any way listed by the system. I can't find it in ps or /proc/, nor can I kill it. But the shell script can still stop it properly. So my question is, how can something like this happen? Is the process supremely hidden, actually unlisted, or am I just missing it in some fashion? I'm trying to figure out what makes this program tick.
I'm new to this and I'm sure I've just gone and done something silly. I used pendrivelinux.com's live usb creator to install ubantu 11.04 on my USB. I tried booting my laptop with this, and i get an error message saying "unable to find a medium containing live file system" and I cant get any further than that. The laptop I am using is a Dell XPS with an i7 processor and 6 gigs of memory.
View 6 Replies View Relatedlet me know where is iptables rules stored?
View 2 Replies View RelatedI am trying to do Multi_key composition...But not able to find which is my character encoding scheme under /usr/share/X11/locale/ I have several direcotries under this folder...How can i come to kno which is my character encoding scheme..Any command for this ?
View 1 Replies View RelatedI am curious since "Run command as a login shell" is UNTICKED (I think for all new users) under Gnome Terminal -> Menu Bar -> Profiles -> Edit -> Title and Command , BUT .bash_profile is sourced. I thought .bashrc should be sourced instead ?
View 6 Replies View RelatedI have installed Centos 5 for Oracle on my PC. I observe that everytime I have to execute .bash_profile. Otherwise I get command not found message.How to change this behaviour so that it executes automatically everytime I open a new terminal or a tab.The bash_profile is as follows. I notice that the same entry is in another Centos 5 installation in another PC, But I don't have to executeeverytime the bash_profile .
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
[code]....