02-17-2014
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have a shell script which calls other shell scripts, depending on the input.
Within a.sh, I have a command which calls b.sh (ie. ksh b.sh)
Normally, we use the exit function to terminate a shell. However, if I choose to call exit from b.sh, I will return to the parent shell who... (4 Replies)
Discussion started by: rockysfr
4 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I am going through the semaphore concept and have a doubt regarding the same and hope to get a resolution here.
I have a file which has a number of records.
I want to write an application (in C) which will be able to do concurrent read/write on these records.
Of what I have... (8 Replies)
Discussion started by: maverix
8 Replies
3. UNIX for Dummies Questions & Answers
Hi all
This is my first thread here.i confused with the concept of thread.Can anyone tell me this concept in detail.my Quation may be at primary level.
Thanx in advance for help. (1 Reply)
Discussion started by: vishwasrao
1 Replies
4. Shell Programming and Scripting
I have the following script running with nohup on one of my servers:
#!/bin/bash
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#set log number
#i=1
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#Check if log exits, if so incrememnt log number up so we don't clobber
#while... (8 Replies)
Discussion started by: DeCoTwc
8 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
This is the basic question.
I have read many books which advised to avoid creating sub shells.
e.g: use wc -l<filename
rather than using cat file|wc -l.
So, how to identify whether a command creates subshell or not?
so,is it better to use tail -n+1 file in stead of using cat.... (3 Replies)
Discussion started by: pandeesh
3 Replies
6. UNIX for Advanced & Expert Users
Hi Gurus,
Please help me in below requirement.
Instance =5 (it is user parameter)
total=52 (it is user parameter
i need to split this to 5 and reminder as 1 instances totally 6
for example i need to splitt to each
52/5=10.4
1-10
11-20
21-30
31-40
41-50 (2 Replies)
Discussion started by: ragu.selvaraj
2 Replies
7. UNIX for Dummies Questions & Answers
Is wc -c and wc -m same ?
Shellscript::cat file1
hello
Shellscript::cat file1 | wc -c
6
Shellscript::cat file1 | wc -m
6
Shellscript::file file1
file1: ASCII text
Shellscript::uname -a
Linux was85host 2.6.27.45-0.1-vmi #1 SMP 2010-02-22 16:49:47 +0100 i686 i686 i386 GNU/LinuxAtleast... (5 Replies)
Discussion started by: shellscripting
5 Replies
8. Shell Programming and Scripting
Hi there,
Everyone knows that errexit is NOT inherited by subshells. But does anyone know why errexit still appears as set with set +o?
The following example highlights the fact that errexit appears set in a subshell (set +o) even though it's actually unset (it does NOT exit with false).
$... (0 Replies)
Discussion started by: chebarbudo
0 Replies
9. Shell Programming and Scripting
So i have a script that is like this:
#!/bin/sh
VARA="elementary 1
elementary 2
nursery A
nursery B
highschool AZ"
echo "${ContentOfADifferentSCRIPT}" | sh
i do not have control over the script that is inside the variable "${ContentOfADifferentSCRIPT}".
however, i know that the... (3 Replies)
Discussion started by: SkySmart
3 Replies
LEARN ABOUT DEBIAN
xchat-gnome
XCHAT-GNOME(1) User Commands XCHAT-GNOME(1)
NAME
xchat-gnome - a new front-end to the popular xchat IRC client
SYNOPSIS
xchat-gnome [OPTION...]
OPTIONS
Help Options:
-?, --help
Show help options
--help-all
Show all help options
--help-gtk
Show GTK+ Options
--help-bonobo-activation
Show Bonobo Activation options
--help-gnome
Show GNOME options
--help-gnome-session
Show session management options
--help-gnome-ui
Show GNOME GUI options
Application Options:
-d, --cfgdir=directory
Use directory instead of the default config dir
-a, --no-auto
Don't auto-connect to servers
-n, --no-plugins
Don't auto-load plugins
-u, --url=irc://server:port/channel
Open an irc:// url
-e, --existing
Open URL in an existing XChat-GNOME instance
-v, --version
Show version information
--display=DISPLAY
X display to use
SEE ALSO
http://live.gnome.org/Xchat-Gnome
AUTHOR
Marco Cabizza <marco87@gmail.com>
Guillaume Desmottes <cass@skynet.be>
xchat-gnome 0.14 August 2006 XCHAT-GNOME(1)