10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm new in Shell Programming and Scripting, I would like to ask some questions.
ps -ef | grep $appNAme | grep -v grep <-- what will it return when it find a process is running? return 1 or 0
if
then
exit 1 <--- if = 0 , run this ?
else
continue <--- if = 1 , run this ?... (5 Replies)
Discussion started by: LoAlex
5 Replies
2. Shell Programming and Scripting
Any ideas how to clear this error as it seems I dont understand if,do,while and els commands
#!/bin/ksh
set -x
print "This script creates test messages"
print "Please enter test case name"
read testcasename
echo $testcasename
skipfield=Y
while
print "Do you want to skip this field... (4 Replies)
Discussion started by: andrew.p.mcderm
4 Replies
3. UNIX for Dummies Questions & Answers
Has anyone installed on the ZOTAC IONITX-A-U Atom 330 1.6GHz Dual-Core 441 NVIDIA ION Mini ITX platform?
If so, what if any, were the challneges that you had? What went smoothly
I want to get this board because it looks like a stellar system and perfect for Linux.
I'm quite curious about... (2 Replies)
Discussion started by: sarfraz
2 Replies
4. SuSE
good friends I am new to linux and I have the following
TELNET service problem entering data devo
telnet to a Windows server 2003 server and passes
will not let me since the move to this server by
telnet tells me the characters and thus invalidates me
income, I have a service application... (1 Reply)
Discussion started by: pepetico
1 Replies
5. News, Links, Events and Announcements
Just wanted to let you know that Intel's published the beta SDK for the Intel Atom Developer Program. That means you can now submit your Windows or Moblin apps for netbooks so you're ready to make money when the OEM stores go live next year. There are some big prizes (holiday, car) on offer for the... (0 Replies)
Discussion started by: Becky_Moblin
0 Replies
6. Shell Programming and Scripting
Hello, I have the following piece of code that tries to retrieve the result of a .sh:
. $HOME/prueba/Scripts/Recogida/recogida_sedra.sh
resultado=$?
echo "el resultado es : $resultado"
if ; then
echo "Se va a preprocesar los archivos"
In the code of recogida.sh I have the... (8 Replies)
Discussion started by: danietepa
8 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am having problems with using less on
Linux version 2.6.18-92.1.17.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)). I am using csh but have the same problems on bash.
If I pipe something to less it works perfectly i.e. cat file | less... (9 Replies)
Discussion started by: z1dane
9 Replies
8. UNIX for Dummies Questions & Answers
I'm having problems uses "if"
it works fine when i do this.
#!/bin/sh
a= 10
qw= 2
w= 20
{
if && ;then
echo 3
fi
}
However if i try to do
#!/bin/sh
a= 10 (5 Replies)
Discussion started by: THM
5 Replies
9. UNIX for Dummies Questions & Answers
Hi
how can i do this?
1) shell script which writes data and time on to a file if filesystem exceeds 70% of space.
2) make entry to cron table to run a script every 15 mins.
and can anyone expplain or demonstrate the difference between variables used in inside a function and outside a... (3 Replies)
Discussion started by: vivekshankar
3 Replies
10. UNIX for Advanced & Expert Users
I'm trying to compile and install both most recent version of 'make' and the
most recent version of 'openssh' on my Sparc20.
I've run into the following problems... and I don't know what they mean. Can
someone please help me resolve these issues?
I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies
XLSATOMS(1) General Commands Manual XLSATOMS(1)
NAME
xlsatoms - list interned atoms defined on server
SYNOPSIS
xlsatoms [-options ...]
DESCRIPTION
Xlsatoms lists the interned atoms. By default, all atoms starting from 1 (the lowest atom value defined by the protocol) are listed until
unknown atom is found. If an explicit range is given, xlsatoms will try all atoms in the range, regardless of whether or not any are unde-
fined.
OPTIONS
-display dpy
This option specifies the X server to which to connect.
-format string
This option specifies a printf-style string used to list each atom <value,name> pair, printed in that order (value is an unsigned
long and name is a char *). Xlsatoms will supply a newline at the end of each line. The default is %ld %s.
-range [low]-[high]
This option specifies the range of atom values to check. If low is not given, a value of 1 assumed. If high is not given,
xlsatoms will stop at the first undefined atom at or above low.
-name string
This option specifies the name of an atom to list. If the atom does not exist, a message will be printed on the standard error.
SEE ALSO
X(7), Xserver(1), xprop(1)
ENVIRONMENT
DISPLAY to get the default host and display to use.
AUTHOR
Jim Fulton, MIT X Consortium
X Version 11 xlsatoms 1.0.2 XLSATOMS(1)