10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Can anyone recommend any good guides on how to investigate what a hanging process is doing?
In fact I would be interested in any online guides that would improve my forensic skills on the Linux platform.
I have a script that occasionally hangs. Strace shows:
# strace -p 32370
Process... (13 Replies)
Discussion started by: bbq
13 Replies
2. Shell Programming and Scripting
Hi
on AIX systems (6.x and 7.x) I have ksh scripts redirecting I/O, and running another script script000.ksh ie :
# my script
...
>${LOG}
>${LOGCTRL}
exec >>${LOG} 2>>${LOG}
. ${PROJECT}/.../script000.ksh
# hereafter, restore default I/O
...
Is it possible at the end of the... (2 Replies)
Discussion started by: Fundix
2 Replies
3. UNIX for Dummies Questions & Answers
Greetings,
I made an extraction on 2 different databases. What I need to do is to compare those extractions to know what is on database1 which is not on database2 and vice versa.
In those files, there are only numbers. So each line is just a number witch should be present on both file. If... (6 Replies)
Discussion started by: Sekullos
6 Replies
4. Shell Programming and Scripting
Hi all ,
i am having a table which contains start date and end date
for ex ..
startdate enddate
12/03/2011 12/04/2012
11/03/2011 20/05/2011
11/04/2011 28/07/2011
how to grep startdate = 12/03/2011
enddate = 28/07/2011
i need output :-
startdate:12/03/2012... (4 Replies)
Discussion started by: Venkatesh1
4 Replies
5. Solaris
I just skimmed through the Administration Guide about LDAP and CIFS.
Well that's a whole lot of text. Does someone know a tutorial/introduction with some steps to make?
TIA (14 Replies)
Discussion started by: PatrickBaer
14 Replies
6. Shell Programming and Scripting
Hi folks,
How do we create a file using shell script?
i mean to say that do we use
is it a good approch to do
echo "abc" >file
echo "xxxx" >>file
or is there any better method?
Thanks,
Amit (5 Replies)
Discussion started by: amit4g
5 Replies
7. Windows & DOS: Issues & Discussions
Hi all!
How would you do the equivalent of find ! -type f..... under windows?
Meaning, how under a directory could you find all files except those named *.mp3 for example?
the command under linux would be:
find $DIR ! -name "*.mp3" what would be that under windows?
Thanx for any ideas... (3 Replies)
Discussion started by: penguin-friend
3 Replies
8. UNIX for Dummies Questions & Answers
Dear Members,
I was reading a few posts and saw something about installing two Nics so one could use Full Duplex. I remember back in the day of dial up, you could have two modems and use one for upstream and one for downstream. This was called shotgunning. It seems that you can now do the same... (4 Replies)
Discussion started by: Phobos
4 Replies
9. UNIX for Dummies Questions & Answers
Dear All ,
Kindly I have some questions , I need hints or answers please .
I have sparc4 , sun solaries 7 , mail server . i have about 5000 users , with no login shell , or home directories for the users .
they only have mail boxes in /var/mail dir .
now , I do not have any type of... (6 Replies)
Discussion started by: tamemi
6 Replies
10. UNIX for Dummies Questions & Answers
Hello ,
I have this RH6.2 box with sendmail8.9.3-20 (configured and running properly )
I have also (procmail3.14-2 , fetchmail5.3.1-1 ) installed but I don't know about them.
(( all installed as rpm packages))
okay ,,, here what I need:
I need to be able to use OUTLOOK or any other... (3 Replies)
Discussion started by: t_zone
3 Replies
echo(1B) SunOS/BSD Compatibility Package Commands echo(1B)
NAME
echo - echo arguments to standard output
SYNOPSIS
/usr/ucb/echo [-n] [argument]
DESCRIPTION
echo writes its arguments, separated by BLANKs and terminated by a NEWLINE, to the standard output.
echo is useful for producing diagnostics in command files and for sending known data into a pipe, and for displaying the contents of envi-
ronment variables.
For example, you can use echo to determine how many subdirectories below the root directory (/) is your current directory, as follows:
o echo your current-working-directory's full pathname
o pipe the output through tr to translate the path's embedded slash-characters into space-characters
o pipe that output through wc -w for a count of the names in your path.
example% /usr/bin/echo "echo $PWD | tr '/' ' ' | wc -w"
See tr(1) and wc(1) for their functionality.
The shells csh(1), ksh(1), and sh(1), each have an echo built-in command, which, by default, will have precedence, and will be invoked if
the user calls echo without a full pathname. /usr/ucb/echo and csh's echo() have an -n option, but do not understand back-slashed escape
characters. sh's echo(), ksh's echo(), and /usr/bin/echo, on the other hand, understand the black-slashed escape characters, and ksh's
echo() also understands a as the audible bell character; however, these commands do not have an -n option.
OPTIONS
-n Do not add the NEWLINE to the output.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), echo(1), ksh(1), sh(1), tr(1), wc(1), attributes(5)
NOTES
The -n option is a transition aid for BSD applications, and may not be supported in future releases.
SunOS 5.11 3 Aug 1994 echo(1B)