Terminal doesn't execute .profile
Hi all,
I am trying to add a PATH input so that I don't have to keep using ./ for commands that aren't system-native. The problem is that bash doesn't seem to be executing any of the .profile commands.
Thanks,
Bradley
Which .bash_profile file are you editing? Use the one in ~/
Don't forget you have to logout and log back in to bash after editing the .bash_profile file for the changes to take effect.
Similar Messages
-
Hello,
I will write in a non-very correct english (I am italian) and I want to offer you my bigger thanks for the attention.
I would want to use a certain phisyc-simulator that i found on the web (wich format is .exe), and so i've tried to get Wine, a free program that make you able to open .exe on OSX (in my case 10.5.8). Following the instruction for Wine's installation, I had to run a certain ./file but the wine installation wrote to me (in the terminal window) that this operation (the installation) can't be completed with the root user, but have to follow the same instruction with a secondary user.
So, i've tried by first to do the same installation's step in the Guest user (the one in wich you can't save changes by logging out) but the terminal stayed empty for several minutes. I thought that the problem could be the use of the Guest user, so i've come back to the administrator one and i've created a secondary user (with no administrator "power") , but the terminal doesn't work neither here.
Now, the terminal is still not working even with the ADMINISTRATOR user.
Can someone help me?
p.s.: i've some experiences with the terminal, by the need of compile and execute in fortran; it's not new;
i've already searched online a way to solve this problem (for example i tried to see the Console's messages, and i tried to remove the file com.app.Terminal.preferences (or something like that) while logged white the secondary user (but not the Guest one))Thank you BobHarris you are very nice.
-I've tried to delete the come.apple.Terminal.plist in the admin. account -----> doesn't work [does it exists in each accounts or is it just one for all?]
-iTerm2 doesn't work
-Installing Onyx and browsing to find the hidden files you told me ( .profile , .bash_login etc...etc..) THE FINDER GAVE UP WORK!!!
Even by cmd+rightclick on finder icon to click on re-open (traslated by italian "riapri") i had the error message 101800 or something like that.
I solved the problem by switching off the Mac with the button... Once turned-on again the Mac ( it was a moment full of pain ), all worked fine.
After had verified that the computer didn't had big problems after the trouble with the finder, i continued to search the hidden files.
They don't exist in my Mac but LUCKILY i had the impression that execute the login file in /usr/bin could be the solution: it worked!!!!!!!
I had this idea because of that the problem was just the login at the terminal.... A terminal window opened quickly and asked me with wich account I wanted to login... LUCKILY i wrote the good account_name and password and all gone fine!!! (the terminal works again)
So,
thanks to seventy one for the link http://www.davidbaumgold.com/tutorials/wine-mac/ (i think install Wine will not be a problem now)
thanks to BobHarris too -
CPS-Job - Reply on Console doesn't execute the chosen action
Dear Developers
We have a job chain in which we have as default postcondition "On Error
Action CONSOLE RESTART". Now we have a step on status CONSOLE but a
reply doesn't execute the chosen action. This is not the first time we
experience this behaviour.
Any ideas to solve that problem or any workaround?
Regards,
Stephan Gross, RAIcps
Here our system info:
DB-Version Info:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production
Redwood-Repository Info:
JCS Object Database,7.0.3.33
JCS Modules,7.0.3
JCS PM4W,7.0.3
JCS Redwood &module Module,7.0.2Hello Stephan,
7.0.3.33 has a known issue where the reply of console is not always carried out.
If this is the same issue as you are experiencing, then the issue is solved in patch 7.0.3.38.
I would advise you to create an OSS message to have checked if this is indeed the same issue.
Kind regards,
Miek -
Wat is wrong in this decode function, it doesn get executed,please help me
wat is wrong in this decode function, it doesn get executed,please help me
decode(DVI.COMPANY||'.')||
DECODE(DVI.COST_CENTRE||'.')||
DECODE(DVI.ACCOUNT||'.')||
DECODE(DVI.LOCATION||'.')||
DECODE(DVI.PRODUCT||'.')||
DECODE(DVI.FUTURE)company_id,Hi,
I could not understand what you are trying to do with decode here.
The standard way of using the decode is like :
SQL>SELECT DECODE (1 , 1 ,'TRUE','FALSE') FROM DUAL;
DECO
TRUE
1 row selected.
1* SELECT DECODE (1 , 0 ,'TRUE','FALSE') FROM DUAL
SQL>/
DECOD
FALSE
1 row selected.
Please explain what you want to do with DECODE ?
Regards -
Terminal Doesn't Allow Me To Type In Password
I'm changing a sudo command and need to type in my password on the Terminal. However, when the prompt asks for my password (I'm the admin) there's a gray rectangle and I can't type in anything. I can't even type "Ctrl-C" to quit.
I tried pasting my password. Typing my password. Repaired permissions. Nada. Help!However, when the prompt asks for my password (I'm the admin) there's a gray rectangle and I can't type in anything.
That's normal; unlike most applications, the Terminal doesn't display anything when characters are entered in response to a request for the password. Type it in and press Enter when done.
(42691) -
Terminal doesn't "catch" d key
Hi I've this problem: I use Arch with XFCE and terminal doesn't recognize d key but it recognize D key! in other applications "d" works fine. I think this problem is come after pacman -Syu. And if I paste a word with "d" inside, terminal doesn't put the "d".
I've also tried with gnome terminal but the problem still the same.
Thanks a lot!kazuo wrote:
dmz wrote:
I win!
$(perl -e 'printf("a%s%suser\n", chr('100') x 2);')
No, you dont
$ time (for i in {1..1000}; perl -e 'printf("a%s%suser\n", chr('100') x 2);' >| /dev/null)
(; for i in {1..1000}; do; perl -e 'printf("a%s%suser\n", chr('100') x 2);' ) 0.50s user 0.64s system 32% cpu 3.551 total
$ time (for i in {1..1000}; printf a\\x64\\x64user >| /dev/null)
(; for i in {1..1000}; do; printf a\\x64\\x64user >| /dev/null; done; ) 0.00s user 0.01s system 91% cpu 0.015 total
Mine is ways ways ways much faster! Ha!
Hah! Mine is SO much sexier!
#!/usr/bin/perl
eval eval '"'.
('['^'+').('['^
')').('`'|')').('`'|'.').
('['^'/').('`'|'&').'('.('\\').
'"'.('`'|'!').'%'.('['^'(').('%').(
'['^'(').('['^'.').('['^'(').('`'|'%').
+( ( ( (( ('[')))))^ ')').'\\'.''. '\\'.('`'| (( ( ( ((
'{'))))) )^'[').('{' ^'[').('`'| '#').("\`"| ('(')).(
'['^')').'('."'".('^'^( '`'|('/'))).( '^'^('`'|'.')).(('^')^(
'`'|'.'))."'".')'.('{'^'[').('['^'#').('{'^'[').('^'^('`'|"\,")).
')' .';'.('!'^'+').'"';$:='.'^'~';$~='@'|'(';$^=')' ^((
'[') );$/='`'|'.';$,='('^'}';$\='`'|'!';$:=')'^"\}"; ($~)
=(( '*'))|'`';$^='+'^'_';$/='&'|'@';$,='['&"\~";$\= ','
^'|';$:="\."^ '~';$~='@'|'(';$^=')'^'[';$/='`'|"\."; $,='('^"\}";
$\='`'|'!';$: =')'^'}';$~='*'|'`';$^='+'^('_');$/= '&'|"\@";$,=
'[' &'~' ;$\=','^'|';$:='.'^'~';$~=('@')| '(' ;$^
=')' ^'[';$/='`'|'.';$,='('^"\}"; $\=
'`'| '!';$:=')'^'}';$~='*'| '`'
;($^) ='+'
^"\_"; $/='&'|'@';$,= "\["&
'~';$\= ','^('|');$:= ('.')^
'~';$~='@' |'(';$^=')' ^'[';
$/='`'|'.'; $,='('^'}' ;
$\='`'| '!';$:=')'^
'}';$~="\*"|
'`';$^='+'^ -
Action doesn't execute in player
In the app I'm working on (AS 2.0) I have several buttons. I've added an action to each of those buttons:
on (release)
gotoAndPlay("fr_test");
When in Flash, if I enable (Control) Simple Buttons and Simple Actions, this action works like it should. If I test the movie or publish it, the action doesn't execute.
I've tried another approach with one button. I added an empty layer for actions only, and added the following code:
this.test_btn.onRelease=function()
gotoAndPlay("fr_test");
This doesn't work at all, nor in Flash nor in the player. I wonder what I'm doing wrong here. Changing fr_test to the frame number does not change anything.I solved this by starting over with a new flash app. I created buttons and actions, and they worked like I wanted. Then I tried to apply this on the old movie, but that didn't work. So I recreated the movie in the new app. I'm using some very complex drawings, and I messed around quite a bit. I don't know where it went wrong, but it works now for me.
-
HiQ doesn't execute scripts and command line commands
I am running HiQ pro 4.5 on Windows 2000 SP 2. Whenever I enter a command line command, e.g. "1+1", HiQ reports "no error reported" and doesn't execute the command. When I enter the same command again, HiQ tells me that a semicolon is missing.
When I try to execute a script, HiQ reports "Fatal Script error on line -1".
Anybody knows this behaviour and how to get HiQ running normally?I do have the same problem.
-
Hi,
I have an odd behavior. I've created a WD for Java application with NW04-SP16, and after a while, I have one BAPI which doesn't execute anymore.
I've already had this strange behavior and the only solution was to create a new model and import again my bapi.
Do you know something about that, cause it make me lot of problem ?
Regards,Hi,
One of my problem is... I don't have any error back, so I really don't know where to look for !
And about my code, there is no problemù caus before it worked very well. The problem apear after a no used period (without changing code).
Regards -
ICal doesn't execute Automator Scripts
Since I upgraded to Leopard my iCal doesn't execute scripts anymore. Normaly every day iCal executed a script to check for birthdays and send them a e-mail. Now I can't get this to work. No settings are changed as far I can see.
Help!!! (I missed already a few birthdays... people hate me... ;-))Does it display any kind of error message? It may be that the location of the script has changed. It seems that iCal saves fixed paths to scripts and not aliases. This means that if the path to a script changes it won't run. Try to rename a script and then select it again in the event. You'll want to rename so that you can distinguish it from the previous script entry. iCal only displays the name of the script, not the path used by the alarm.
-
Doesn't execute my user exit codes.
Hello Experts,
I have created user exit ZXF05U01 to validate Tax Number1 field and activated. (txn fk02)
Then Execute the transaction CMOD.
Created a project ZFIAPVEN
In "Enhancement assignments" added SAPMF02K as enhancement.
Saved it.
Then in the initial screen of cmod I've activated the project.
Doesn't execute 'MODULE EXIT_KREDITOR AT EXIT-COMMAND.' When I ran the txn fx02 in debug mode it.
Regards
NazI think I took the wrong path to validate the New Zealand specific tax number. Is it possible to set some rules in PRST1_005 in table T005.
If this is possible then please pass me the steps description.
Thanks.
Naz -
Terminal doesn't show changes immediately
Hi,
since some days I have an annoying problem: When I type something, for example 10 x [Return], my xterm doesn't "react" immediately. Nothing happens for at least several seconds. When I switch the window and switch back the input / command is showed / executed as expected..
Any ideas?
xterm
Version : 266-1
dwm
Version : 5.8.2
bash
Version : 4.1.009-1"Monaco" font should work, but try using "Osaka-regular-Mono".
There was a similar report a few weeks ago:
[10.6 Terminal.app doesn't show complex characters|http://discussions.apple.com/thread.jspa?messageID=10107040󶰐 0]
So it's not only you having the problem, but my Terminal.app (iMac, 10.6.1) displays Japanese characters without problem, and I have no idea what is wrong with your Terminal. If "Monaco" font is used then "Hiragino Kaku Gothic" (HiraKakuProN-W3) is substituted for Japanese characters.
I did clean install of 10.6. Did you upgrade from 10.5.x? I think you may send a bug report/feedback to Apple. -
Terminal doesn't understand sudo command
I am installing MacPorts 1.7.0 from a .dmg file. Following, I set up the environment variables in the .profile file, and tried to use Terminal to update using the sudo port selfupdate command from Terminal.
This is the result I got:
-bash: sudo: command not found
Why is this, and what can I do?I think the error refers to the command(s) following "sudo." Were you prompted for your password?
No, that would be:
sudo fred
Password:
sudo: fred: command not found
But if the command bash is asked to execute is not found you get
fred
-bash: fred: command not found
So I think he is not finding sudo.
That makes me think that PATH has been messed up, because sudo is in /usr/bin/sudo which is always in PATH unless it has been messed up. Which makes me think that .profile was properly executed, and that is how PATH got messed up.
So I would look very closely at .profile and make sure PATH is setup correctly. I would expect it to looks something like:
export PATH="$PATH:/opt/local/bin" -
Exception handler activity doesn't execute
I have an exception handler in my bounded task flow but it not always executes when an error is raised by some of the BTF activities.
In my application I'm having a problem with connections closed.
I don't know if the database, the firewall or who is closing connections but sometimes I get an error in the logs "oracle.jbo.JboException: JBO-29000: Se ha obtenido una excepción inesperada: java.sql.SQLRecoverableException, mensaje=Conexión cerrada" translation "oracle.jbo.JboException: JBO-29000: Un unexpected exception has been raised: java.sql.SQLRecoverableException, message=Closed connection".
That is bothering me specially because my task flow continues execution despite of the error. ADF opens the connection and then continues execution. This is fatal because previous updating in the entity objects is lost and the consequence is very bad.
Well, I have tried to insert an exception handler in my task flow in order to capture this errors and then stop execution of the task flow.
Currently, I'm more upset because of task flow continues execution after the connection closed error that for the error itself.
The problem is that sometimes the connection closed appears in the log window but the exception handler is not executed. Sometimes yes, some others no.
In order to test I'm forcing the error manually killing the sessions in the server.
Any help for any of both problems ? (1- BTF continuing execution after this error raising and 2-Why the exception handler doesn't always execute when a java error stack appears in the log window).
Thank you.this might be caused by a bug I found too causing eventhandlers not to work, the work round in your case would be:
blar blar blar
</variables>
<!-- start work round --><scope><!-- end work round -->
<faultHandlers>
blar blar blar
blar blar blar
</sequence>
<!-- start work round --></scope><!-- end work round -->
</process>
i.e. what I'm saying is that top level handler don't work since they are ignored by the engine because they are not in a scope. Try it and see.... -
ACE SSL Terminator doesn't work
Hi,
I should implement a balancing HTTP and for HTTPS an SSL terminator on my ACE.
Public IP 22.235.121.6 port 80 --> balanced on 192.168.250.165-166 on port 8889
Public IP 22.235.121.6 port 443 --> my ace terminate ssl and balance the traffic in clear text to 192.168.250.165-166 on port 8889
This is the configuration:
probe http EXAMPLE_IT_HTTP
port 8889
interval 5
faildetect 2
passdetect interval 10
passdetect count 2
request method get url /probe/probe.html
expect status 200 206
expect status 300 307
open 1
serverfarm host example_IT_HTTP
failaction reassign across-interface
predictor leastconns
probe example_IT_HTTP
fail-on-all
rserver H-192.168.250.165 8889
inservice
rserver H-192.168.250.166 8889
inservice
serverfarm host example_IT_HTTPS-HTTP
failaction reassign across-interface
predictor leastconns
probe example_IT_HTTP
fail-on-all
rserver H-192.168.250.165 8889
inservice
rserver H-192.168.250.166 8889
inservice
sticky ip-netmask 255.255.255.255 address both example-IT-HTTPS-HTTP
timeout 60
replicate sticky
serverfarm example_IT_HTTPS-HTTP
ssl-proxy service SSL_example_IT
key example_it.key
cert example_it.cert
chaingroup SSL_CHAIN_example_IT
crypto chaingroup SSL_CHAIN_example_IT
cert example_it.ca
class-map match-all example_IT_HTTP
2 match virtual-address 22.235.121.6 tcp eq www
class-map match-all example_IT_HTTPS-HTTP
2 match virtual-address 22.235.121.6 tcp eq www
policy-map type loadbalance first-match example_IT_HTTP-l7slb
class class-default
serverfarm example_IT_HTTP
policy-map type loadbalance first-match example_IT_HTTPS-HTTP-l7slb
class class-default
sticky-serverfarm example-IT-HTTPS-HTTP
policy-map multi-match int41
class example_IT_HTTP
loadbalance vip inservice
loadbalance policy example_IT_HTTP-l7slb
loadbalance vip icmp-reply active primary-inservice
class example_IT_HTTPS-HTTP
loadbalance vip inservice
loadbalance policy example_IT_HTTPS-HTTP-l7slb
loadbalance vip icmp-reply active primary-inservice
ssl-proxy server SSL_example_IT
the balancing on http work properly, but doesn't work the ssl termination, when I try to connect from my client in https I don't see request on the server 192.168.250.165-166 coming.
Some show:
balancer# sh crypto certificate all
example_it.cert:
Subject: /C=GB/ST=United Kingdom/L=London/O=XXXXXXXX/OU=XXXXXXXXX/CN=*.xxxx.com
Issuer: /C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
Not Before: Apr 11 00:00:00 2014 GMT
Not After: Apr 12 23:59:59 2015 GMT
CA Cert: FALSE
example_it.ca:
Subject: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
Issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
Not Before: Nov 8 00:00:00 2006 GMT
Not After: Jul 16 23:59:59 2036 GMT
CA Cert: TRUE
balancer# sh crypto session
SSL Session Cache Stats for Context
Number of Client Sessions: 0
Number of Server Sessions: 0
balancer#
balancer# sh crypto files
Filename File File Expor Key/
Size Type table Cert
cisco-sample-cert 1082 PEM Yes CERT
cisco-sample-key 887 PEM Yes KEY
example_it.ca 7444 PEM Yes CERT
example_it.cert 1812 PEM Yes CERT
example_it.key 1675 PEM Yes KEY
balancer#
balancer# crypto verify example_it.key example_it.cert
Keypair in example_it.key matches certificate in example_it.cert.
balancer#
the show stats crypto client/server give me all 0
Someone can help me to understand why is not working ?
for further information please ask me
Thanks a lotHi,
The problem is here:
class-map match-all example_IT_HTTPS-HTTP
2 match virtual-address 22.235.121.6 tcp eq www
You should change it to 443 instead of WWW which means port 80.
You will never match this class "example_IT_HTTPS-HTTP".
Regards,
Kanwal
Note: Please mark answers if they are helpful.
Maybe you are looking for
-
2.8 i7 chip with 8 gigs of ram, or a 2.6 i5 chip with 16 gigs of ram?
I'm considering buying a refurbished macbook pro. Of the two I'm looking at, one has a 2.8 i7 chip and 8 gigs of ram; the other has a 2.6 i5 chip with 16 gigs of ram. Which is preferable? I'm a writer; I do some photo and home video editing, and s
-
Can an internal Order be defined in Purchase order for inventoried materials.
-
Photo diaplay in Infotype 0002
Dear Gurus, We have stored the photos in DMS. Now the user wants to dispaly the photo info type 0002 or in TCode PA20. I got many documents which talks about the archive link. But I am not sure about linking photo stored in DMS with IT0002. Thanks fo
-
my T43 is not working.i did take it to IBM service centre but, they said that the visual chip was not working and have to change the mother board charging around 25k.i bought the laptop for 50k 2 years ago, i have all my data in it . can anyone PLS s
-
Parallel printer finally working using gutenprint, but too slow!
I finally got my HP LaserJet 4 Plus to print through a usb to parallel cable using gutenprint. But it stops and waits after each page. Any way to speed it up?