10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
tcsh: have the following in .cshrc (or .tcshrc)
set prompt=": "
zsh: have the following in .zshrc
PS1="%# "
bash: have the following in .bashrc
PS1='\$ 'Lacking direct support this is a good approximation. (0 Replies)
Discussion started by: MadeInGermany
0 Replies
2. UNIX for Dummies Questions & Answers
There are two Korn Shell scripts :
script_1.ksh ( located in /home/dir1 )
script_2.ksh ( located in /home/dir2 )
Content of script_2.ksh is
#!/usr/bin/ksh
echo "Hello world.."
The script_2.ksh is called from within script_1.ksh using the following command :
./home/dir2/script_2.ksh
but... (7 Replies)
Discussion started by: kumarjt
7 Replies
3. Shell Programming and Scripting
I am new to write scripts.
I want help to write a shell script to create 10 users and passwords to users.
Can any please help me. (9 Replies)
Discussion started by: DONFOX
9 Replies
4. Shell Programming and Scripting
Hi fellas,
I have a file that contains text something like this
SNAPSHOT snap-021ede4a vol-bc3f89c0 completed 2012-11-19T06:05:26+0000 100% 170495546006 850 Created by CreateImage(i-6adc0515) for ami-977dfafe from vol-bc3f89c0
TAG snapshot snap-021ede4a project PAC
TAG snapshot... (5 Replies)
Discussion started by: Kashyap
5 Replies
5. Shell Programming and Scripting
hello team -
anyone can help shwoing how to grep a file showing the lines above and below?
Thx
Bragabio (7 Replies)
Discussion started by: bragabio
7 Replies
6. Shell Programming and Scripting
Hi Friends,
Please help me with the following problem:
I have a text file with the following lines:
Dated: 8/11/2011
<br>
Time : 0000
<br>
==============
<br>
--------------------------------------<br>Data Upload Time =4:51:52... (2 Replies)
Discussion started by: anuajay1988
2 Replies
7. Shell Programming and Scripting
Can we create the master file that show the whole tree structure of the directory till a particular folder?
Database that contains four sub repository Sybase,sql,oracle,mysql and sql and oracle contains two subrepostories Siebel and plsql and each repositories contains three folders... (1 Reply)
Discussion started by: rohit22hamirpur
1 Replies
8. UNIX for Dummies Questions & Answers
Hello all, i'm stumped.... I need to list all directories with all there info and exclude the files, then vice versa. I am not sure if I need to string several ls commands together or how to even do that. I believe I need to do some variation of ls -l but need to figure out how to take out the... (5 Replies)
Discussion started by: citizencro
5 Replies
9. Shell Programming and Scripting
Hi,
#!/bin/ksh
result='/TIA/app/UniQP/queue/document/CSB'
i=0;
while ;
do
i=`expr $i + 1`
if ($i -lt 5);then
echo "THerrFile_$i.err";
else
break;
fi
done
... (0 Replies)
Discussion started by: sudhir_83k
0 Replies
10. SuSE
QUESTION:
Write shell script using menu-driven approach to show various system configuration like
1) Currently logged user and his logname
2) Your current shell
3) Your home directory
4) Your current path setting
5) Your current working directory
6) Show Currently logged number of... (1 Reply)
Discussion started by: bboyjervis
1 Replies