CODE_SATURNE(1) Code_Saturne commands CODE_SATURNE(1)NAME
code_saturne - Main user script of Code_Saturne.
SYNOPSIS
code_saturne [-h|--help] <command>
DESCRIPTION
The code_saturne script is the main user script of Code_Saturne.
OPTIONS -h, --help
Help message.
COMMANDS
Further information will be obtain with code_saturne <command> --help
check_consistency
The code_saturne check_consistency command checks the consistency between the user files and the Xml file (from the Graphical User
Interface) provided by the user and, if needed, that the chosen options are compatible with parallel calculations. Lastly, it prints
the chosen specific physics.
check_mesh
The code_saturne check_mesh command verify the quality of a given mesh. The following options will be passed to Code_Saturne pre-
processor.
compile
The code_saturne compile command can be used to generate the cs_solver executable needed for running a Code_Saturne study.
create The code_saturne create command sets up a directory structure for a Code_Saturne study or case. The different directories created
are MESH for meshes, POST for user post-processing and a case directory (or several) containing a DATA, SRC (to store user files),
RESU (to store results) and SCRIPTS directory.
info The code_saturne info command is a wrapper for an easier look at Code_Saturne documentation.
SEE ALSO cs_io_dump(1), cs_partition(1), cs_preprocess(1), cs_solver(1)
2009-10-27 CODE_SATURNE(1)
Check Out this Related Man Page
SETUID(1) General Commands Manual SETUID(1)NAME
setuid - run a command with a different uid.
SYNOPSIS
setuid username|uid command [ args ]
DESCRIPTION
Setuid changes user id, then executes the specified command. Unlike some versions of su(1), this program doesn't ever ask for a password
when executed with effective uid=root. This program doesn't change the environment; it only changes the uid and then uses execvp() to find
the command in the path, and execute it. (If the command is a script, execvp() passes the command name to /bin/sh for processing.)
For example,
setuid some_user $SHELL
can be used to start a shell running as another user.
Setuid is useful inside scripts that are being run by a setuid-root user -- such as a script invoked with super, so that the script can
execute some commands using the uid of the original user, instead of root. This allows unsafe commands (such as editors and pagers) to be
used in a non-root mode inside a super script. For example, an operator with permission to modify a certain protected_file could use a
super command that simply does:
cp protected_file temp_file
setuid $ORIG_USER ${EDITOR:-/bin/vi} temp_file
cp temp_file protected_file
(Note: don't use this example directly. If the temp_file can somehow be replaced by another user, as might be the case if it's kept in a
temporary directory, there will be a race condition in the time between editing the temporary file and copying it back to the protected
file.)
AUTHOR
Will Deich
local SETUID(1)
I've been setting up a duplicate system to replace an ailing ultra 2, same os version, same file & directory structure, same databases, now I just wanted to doublecheck that for user info, to copy over exact user login info, i need to copy the etc/passwd, etc/group and etc/shadow files. THis will... (6 Replies)
Hello all
Can someone tell me I am running a script and the outputs directory is too small to contain the newly created file as a result of this script. How can I increase the directory size?
Thanks (9 Replies)
hi.i want to create a bash script called countfiles.sh, that will count the pack of files under the current file that their term satisfy a specific pattern. The script must show the total per file or on the whole.
thank tou (4 Replies)
Hi All,
I have shell script running on AIX 5.3 box. It has 7 to 8 "sed" commands piped(|) together. It has a an Xml file as its input which has many records internally. There are certain record which which have more than hundered tags.The script is taking a huge amount of time more than 1.5 hrs... (10 Replies)
I'm on a Linux machine and need a program that will display user information as follows: user name, user directory and current date & time.
I think we can compile C, C++ and Perl.
All help is appreciated. (4 Replies)
Hi,
I want to prepare and then appear for Unix admin certification. Please guide me for the study material and Exams that are required to be taken for UNIX certifcation.
Thanks in advance. (11 Replies)
Hi,
I'm executing the below command from user directory. user has the directory structure sys/aps/ess/mat/eut/web/cust/org/83422. 83422 directory has 10 files.
tar -cvf xyz.tar sys/aps/ess/mat/eut/web/cust/org/83422/*
It is generating xyz.tar with structure... (4 Replies)
Hi
I have wrote the small script, where $SRC=$HOME
the input file is simple text file having directories in my $SRC on pre line
desktop
download
myfiles
games
#!/bin/bash
FILENAME=$1
ERROR_LOG="$SRC/err.$$.log"
while read line
do
echo "########## strat Gmake $line... (6 Replies)
I have two files "SAL.lis" and "accts.fmt" i have to select data from few fields and store them in a seperate file as i explained below..script please????
SAL.lis
08231|53031-SC98|2497|105|0000|0000|000|CYACT|Pd_1|2728.48
accts.fmt
53031|Revenue - Cigarette Stamping|53000|||||
Logic
... (9 Replies)
Hi,
I am developing a script for writing out the failed jobs in file,
1)First step i need to create an empty file Status with today's date.
2)After that i need to execute the below command:
dsjob -server servername -user uname -password pwd -ljobs projectname
This will listout all... (5 Replies)
Hi,
I’m trying to do something I haven’t done before and I’m struggling with how to even create the command or script.
I have the following space delim file:
gene accession chr chr_st begin end
NN1 NC_024540 chr3 - 14000 14020
NN1 ... (10 Replies)
I want a script that change to a directory (the first param) and display all the files inside it
Why this really simple script don't change directory ?
#!/usr/bin/env bash
cd $1
dates=`ls`
echo $dates (25 Replies)
Hi,
After looking at the differents post on this forum, I am convinced that I will benefit from the experience of advanced Unix user on some script I have already done for an aeronautical study. Here is one of them :
Step 1 :
sed -e "s/??/00/g" Base_Awk.txt > Awk_Cut_00.txt4;
sed... (11 Replies)