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
this 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 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
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
I've been with Ubuntu since about 10.10 and a little before, but did a trial. I just installed 11.04 tonight, and my wireless driver is having an issue. I installed it, and reset my computer to complete the installation, but it still doesn't pick up anything wireless, just Ethernet.
There 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?
I 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.
I 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 ?
I 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
I can not get the Nvidia closed source driver to work..when i open the "Additional Drivers" it says that the driver is activated but not currently in use. Another problem...I can not see my grub nor the Plymouth screen.
I am trying to get my new computer to work with the proprietary nvidia drivers, but unfortunatly I am having some troubles. When I activate the nvidia drivers in jockey and restart the computer, the DE fails to load unity, and no compositing is actually being done. When I check jockey, it says:
"this driver is activated but not currently in use" I have an NVIDIA GT 550M. I can use unity with nouveau, however there are some problems that I have noticed, like not resuming from sleep and some freezing, which I suspect is a result of the open source drivers(could be fixed in an update later). But does anyone know how to get the proprietary drivers to work in the mean time?
I've got an issue where my nvidia drivers won't activate, which is a fairly large problem on my Asus G60VX. The reason it bugs me most is because it won't let me use a second monitor while the drivers aren't activated.
Here's my issue.
Now, I already tried going into Synaptic and removing all NVidia stuff manually, and then reinstalling, but this didn't fix my problem.
I just installed natty today after erasing the previous maverick and windows dual boot.Everything works fine.But there is one problem .The propriety driver for Nvidia seems to be activated but not in use.I still get unity desktop,(couldn't get it before installing the propriety driver).I have tried removing and activating it again but it ended up the same again.I know that this problem has been encountered lot of times,but I searched everywhere and didn't find anything.
I tried compiling a simple Hello World with gcc but didn't have any luck. I got this message: Code: junk.c:1:19: error: stdio.h: No such file or directory gcc was installed and configured correctly at one point but I think I changed the the .bash_profile since then. I checked where stdio.h lives. The path is:
im using opensuse 11.2 with kde and im having problems to use desktop effects differents from those default ones. For exemple, I cant enable the desktop cube! i check the box and click apply.... but nothing changes, even restarting the system. Maybe my graphics card is not working well..
Bus 001 Device 002: ID 0846:9040 NetGear, Inc.So I think it's correctly recognizing it, but for some reason it won't identify it as a wireless USB NIC. I'm trying to install without a wired connection (several rooms away from a wire, and this is an old tower), so any help there would be nice, if not, then any advice on what to do when I get it hardwired would be nice. I have the Live CD to try this with. I also have a second CD/DVD, and have it installed/working on XP on the box (which after I get wireless working I'll be replacing),so I have the .inf file if anyone can direct me to using ndiswrapper for it. Let me know what else you need to know.
System-->Admin-->Hardware Drivers States my STA driver is activated, but not in use... ug. having so many wireless issues with 10.04 i've been pulling my hair out for a week now. I assume this is why it says my network UNCLAIMED as well.
Haven't been able to boot here lately. Installed Lucid Lynx via Wubi. Tried reinstalling grub, with no avail. Tried using Lilo and now it says I have no activated partitions. I can only boot if I use a LiveCD or Super Grub Disk to find my Windows XP Loader. Here is my results.txt from the boot info script: