CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

openfoam commands "urgent help"

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 29, 2010, 08:05
Default openfoam commands "urgent help"
  #1
New Member
 
Muhammad reza hassani
Join Date: Apr 2010
Posts: 29
Rep Power: 7
mhassani is on a distinguished road
hello
I have installed openfoam 1.70 and I have added the line into the last line of ".bashrc" but in terminal the commands are not recognized. can someone help me, plz.
in addition to this, all files are secured by ownership of "root" and their owner must be changed in order to be manipulated. how owner of all sub folder of one folder can simply change without manually changing them one by one.(I use "chown" in order to change the owner of those files)
mhassani is offline   Reply With Quote

Old   June 29, 2010, 08:31
Default one problem solved
  #2
New Member
 
Muhammad reza hassani
Join Date: Apr 2010
Posts: 29
Rep Power: 7
mhassani is on a distinguished road
my problem with the commands have been solved but the thing with the ownership is still a big problem
mhassani is offline   Reply With Quote

Old   June 29, 2010, 09:09
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,516
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings mhassani,

Quite simple, the chown command has a -R option to recursively change permissions. Same goes for chmod. For example, in Ubuntu, using the Debian packages:
Code:
sudo chown -R username:username /opt/openfoam170
When in doubt, use the man command for help. Example:
Code:
man chown
Or, sometimes, the command itself has help information in it:
Code:
chown --help
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 29, 2010, 09:49
Default
  #4
New Member
 
Muhammad reza hassani
Join Date: Apr 2010
Posts: 29
Rep Power: 7
mhassani is on a distinguished road
thank you. I am new in ubuntu and I am not really familiar with the commands.It helped.
best regards
mhassani
mhassani is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 05:19
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 20:08.