11-14-2011
Quote:
Originally Posted by
sraj142
Hi Gurus,
In ksh we can check the existance of a file using wild card like ...
if [ -f /home/dbadm/clients/blocked/saltlake.txt.* ]
No, you can't. If there's more than one file that matches saltlake.txt.*, your program will have syntax errors.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I'm trying to use "read" to read in SQL lines and then apply to UDB. However KSH is expanding the *'s in the SQL into a list of all the files in the current directory...
Anyway to turn this off?
while read SQLStatement
do
echo "Running : " $SQLStatement... (8 Replies)
Discussion started by: gaijin 06
8 Replies
2. Shell Programming and Scripting
Hi -
I m prashant. I m new in UNIX&LINUX world. I want to ask that how can we define the shell in Linux like bash,ksh,csh in Linux. What is the use of these shells. I know there are mny experts on net if you can tell me then please do me this favour and tell me about this topic.
... (1 Reply)
Discussion started by: prashantsingh
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
Hi,
I am facing an issue while translating "*" character.
This is what I need
Input=/path/to/the/file/data_file*.txt*.tar.gz
Output=/path/to/the/file/data_file\*.txt\*.tar.gz
When I try - echo $Input | tr '*' '\*' nothing happens.
Is there a way to achieve the Output?
-dips (4 Replies)
Discussion started by: dips_ag
4 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
can you help me with "*" wildcard character in sed, i am a bit confused. I am going through a reference and found that below code
sed -n '/a*c/' file
will also return a line that contain the string
output :
close the window properly
how is that possible when there is no "a"... (11 Replies)
Discussion started by: mukulverma2408
11 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. UNIX for Advanced & Expert Users
Hi All
I am using GNU/Linux
This is regarding the get command to retrieve files (filename with wild card characters) from remote server.
I thought Get command can retrieve only 1 file irrespective of the files it has on the remote server And it is the function of mget to retrieve all... (7 Replies)
Discussion started by: sparks
7 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
ggz(6) GGZ Gaming Zone ggz(6)
NAME
ggz - GGZ Gaming Zone core client selector
SYNOPSIS
ggz [URI]
DESCRIPTION
The GGZ Gaming Zone allows people to play many games online using so-called GGZ core clients which are chat clients with integrated game
launchers.
The ggz tool can be used as a shortcut to start the most suitable core client without worrying which ones are installed. The tool is useful
for launching GGZ core clients from other software, but it will certainly also be used by experienced users who just want to connect to GGZ
quickly.
Currently, the KDE client kggz, the Gtk+ client ggz-gtk and the Java client ggz-java are supported for graphical environments. In text-
console mode, ggz-txt can serve as a fallback.
OPTIONS
Since the available program options varies between the core clients, only the common URL parameter is supported. This is a connection iden-
tifier of the form ggz://user@host:port and will in most cases be abbreviated to user@host.
AUTHORS
The GGZ Development Team <ggz-dev@mail.ggzgamingzone.org>
SEE ALSO
kggz(6), ggz-gtk(6), ggz-java(6), ggz-txt(6), ggz(7)
The GGZ Development Team 0.0.14 ggz(6)