07-09-2013
if you are using
csh, set the PATH variable in
$HOME/.cshrc or
$HOME/.login ...
when you login as root either through
su - or directly on the console, you will get the environment set by
$HOME/.profile and/or
/etc/profile because root's default shell is
sh ...
however -- when you change your shell to
csh -- the environment set is based on the default PATH (see
man csh) if
$HOME/.cshrc or
$HOME/.login does not exist ...
setting csh path
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
i use bash and i added a path variable for 2 files /rscr and /uscr in /etc/profile
/rscr working fine but the other one shows command not found
and when i try to type whereis for scripts in /rscr it shows them but the other one shows nothing... thanks :b: (3 Replies)
Discussion started by: wir3d
3 Replies
2. Shell Programming and Scripting
Hello All,
I am somehow stumped with this ting.
'Find' will sure show me.. but I want only thepath of all the occurences of the file in any of the sub-dirs..
Any help will be sincerely appreciated.
thanx! (3 Replies)
Discussion started by: pranavagarwal
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Iam new to UNIX...My requirement is to create 3 dir as an hierarchy under /var/opt/temip.The output should be /var/opt/temip/GP_Int/GPTTS/AUTO.
I have tried the following script...But only GP_int folder is getting created and not other folders...Can someone help???
#!/usr/bin/ksh
#script... (1 Reply)
Discussion started by: Llb
1 Replies
4. Shell Programming and Scripting
Hi All,
My UNIX Version is:
OS Name Release Version
AIX appma538 3 5
I want to find certain files with some criterias under the given path. At the same time i want to find the files which resides under the given directory, but normal find traverse to its sub-directories... (4 Replies)
Discussion started by: Arunprasad
4 Replies
5. Programming
Hi.
im learning unix, and i have problem with my shell . i want to add hierarchical directories. so theshell have mkdir, rmdir and chdir commands.
the coding in C language.
i looked at the source of mkdir for example, and its very long and complicated. i need simple implementation... (9 Replies)
Discussion started by: evantheking
9 Replies
6. Shell Programming and Scripting
Hi,
I want to get ABC and 924 from this path. How can i do so?
The length of the path can vary from but end will we same.
/home/abs/cad/bad_BAD/vdhingra/testcases/ABC/924/work
Similarly, CBA and 234 from this path.
/home/abs/cad/aaa/bad_BAD/vdhingra/testcases/CBA/234/work (5 Replies)
Discussion started by: vdhingra123
5 Replies
7. Shell Programming and Scripting
Hi,
I want to grep a word say "fan" from a file and redirect those lines in a file with "#" before them.
eg
all
fan is on
i am you
you are me
i am on fan
Expected o/p
#fan is on
#i am on fan (2 Replies)
Discussion started by: vdhingra123
2 Replies
8. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
9. Shell Programming and Scripting
Hi guys :)
First of all Happy New Year :)
so i dont know if my doubt its already here posted by other person ...
i need to print to one file the path of few files that are in different directories, like this:
directory muscle
ATP6.aa.muscle.fasta
COX1.aa.muscle.fasta
.
.
.
... (2 Replies)
Discussion started by: andreia
2 Replies
10. Shell Programming and Scripting
Hi there,
I have the following in my path:
export PATH=/usr/bin:/usr/sbin
But I want to change it programmatically(for the purpose of JBoss automatic(ansible) installs) to:
export PATH=/usr/bin:/usr/sbin:/usr/jdk/jdk1.8.0_60
and after that I need to insert the JAVA_HOME programmatically,... (7 Replies)
Discussion started by: hvdalsen
7 Replies
HIME(1) hime input method platform HIME(1)
NAME
hime - an input method server
SYNOPSIS
hime [-h|-v|--version]
DESCRIPTION
hime is an input method(IM) server, which focused mainly on Traditional Chinese. It is also very useful for Simplified Chinese, Japanese,
and many other languages. IM table format of hime is almost as same as those of scim and xcin. Users may append their IMs to hime very eas-
ily.
If you are looking for configuration tool of hime, please see the manpage of hime-setup.
OPTIONS
-h, -v, --version
Show version of hime.
FILES
/usr/share/hime/table/gtab.list
Input methods available for hime. You may copy it to $HOME/.config/hime/ and edit it as you like. If you have no $HOME/.con-
fig/hime/gtab.list, /usr/share/hime/table/gtab.list will be used.
/usr/share/hime/script/utf8-edit
A file helps hime finding text editors when needed. You may add any UTF-8 compatible text editor to it.
ENVIRONMENT VARIABLES
LC_CTYPE
For bash: export LC_CTYPE=zh_TW.UTF-8
For csh: setenv LC_CTYPE zh_TW.UTF-8
XMODIFIERS
For bash: export XMODIFIERS=@im=hime
For csh: setenv XMODIFIERS @im=hime
GTK_IM_MODULE
For bash: export GTK_IM_MODULE=hime
For csh: setenv GTK_IM_MODULE hime
QT_IM_MODULE
For bash: export QT_IM_MODULE=hime
For csh: setenv QT_IM_MODULE hime
HIME_CONNECT_MSG_ON
Display messages for socket connections.
HIME_DBG_TMP
Display additional debug messages.
HIME_ERR_COREDUMP
Option for debugging.
HIME_IM_CLIENT_NO_AUTO_EXEC
Disable auto-evoke in hime protocol.
HIME_OUTPUT_FILTER
Assign output filter to process data before the IM server send them to clients.
HIME_TABLE_DIR
Assign directory for IM tables other then /usr/share/hime/table.
SEE ALSO
hime-setup(1), cin2gtab(1), hime-phoa2d(1), hime-juyin-learn(1), hime-message(1)
AUTHORS
Edward Der-Hua Liu
Wrote hime and associated tools.
Friend of Chanjei IM, Malaysia <www.chinesecj.com>
Author of original Chanjei IM version 5 table.
Dayi Co., Ltd. <http://www.dayi.com>
Author of Dayi IM.
HIME 0.8 2 FEB 2008 HIME(1)