9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Dear Forum members,
I am having trouble getting the complete filename (and directory path) in a variable.
Output directory mentioned in the code have three files:
DISPLAY_CITY_DETAILS_15-05-2019-08-29-26_MIGRATE_london.out
DISPLAY_CITY_DETAILS_15-05-2019-08-29-26_MIGRATE_paris.out... (4 Replies)
Discussion started by: chetanojha
4 Replies
2. Shell Programming and Scripting
I have in one shell variable, op, a string which represents a "test operator" in a ] construct, for instance -d or -n or -s, an in another shell variable, arg, some arbitrary string. What I want to achieve, is basically this:
#This is INCORRECT code. I just want to get you the idea, what I'm... (7 Replies)
Discussion started by: rovf
7 Replies
3. UNIX for Advanced & Expert Users
Hi Guys
i have set the watch command on my shell
watch=all
but this will report when i open and close a shell, is there a way so that it will ignore me user but only when i am on my machine
i can set it to
watch=notme
but that will not detect if someone su -<my... (0 Replies)
Discussion started by: ab52
0 Replies
4. Shell Programming and Scripting
Hi there
is there a way i can add to my .zshrc so that when i type rsh <tab> it takes the name for a list of hosts
i know it looks in .ssh/know_hosts but i want it for rsh and for a list that i supply
thanks
A (4 Replies)
Discussion started by: ab52
4 Replies
5. Shell Programming and Scripting
Hi all
i am forced to use tcsh at work but i want to use zsh, so i have added this to my .cshrc
if (! $?STARTTCSH) then
if ("$tty" != "" && -x /bin/zsh) exec /bin/zsh
exit
endif
but this now stopped me going back to tcsh if i need to, is there a way to do this, i would... (7 Replies)
Discussion started by: ab52
7 Replies
6. UNIX for Dummies Questions & Answers
hi,
In bash,
$ bind -P | grep yank-last
yank-last-arg can be found on "\M-.", "\M-_".
this allows me to press ALT key and the period (.) to yank the last argument of
the previous command line into the current command line.
How can I get the same behavior in zsh ?
Thanks ... (0 Replies)
Discussion started by: Andrewkl
0 Replies
7. UNIX for Dummies Questions & Answers
With the if statement:
if
How can I make it so it accepts a wildcard after the ${CURR_DAY_MONTH} variable?
Putting
a -f /webtrends/SUN/mrw2/access.${CURR_DAY_DAY}${CURR_DAY_MONTH}*
won't work, right? I think I need some kind of special character so it knows the wildcard is... (3 Replies)
Discussion started by: LordJezo
3 Replies
8. UNIX for Dummies Questions & Answers
Z-shell (zsh) anyone use it and how do ya like it? (1 Reply)
Discussion started by: Bodhi
1 Replies
9. Shell Programming and Scripting
hi there
I'm looking for tutorials about zsh (beginners to experts)
can you give me addresses please?
thx a lot (3 Replies)
Discussion started by: SpY974
3 Replies