8 More Discussions You Might Find Interesting
1. Answers to Frequently Asked Questions
not understand (1 Reply)
Discussion started by: scriptor
1 Replies
2. UNIX for Dummies Questions & Answers
#!/bin/bash
#this is script1
sleep 30
And
#!/bin/bash
#this is script 2
/path/to/script1.sh
echo im done
Running script 2 will give a 30 second pause and then echo Im done to the terminal. What behavior exactly, is responsible for waiting for script one to complete before the... (2 Replies)
Discussion started by: glev2005
2 Replies
3. Shell Programming and Scripting
dear All,
my awk system command isn't working or rather I'm missing something in my command. Appreciated , if anyone can assist me what exactly I'm missing ??
awk ' /^/ {
> c=split($3,a,"/") ;for(n=1; n<=c; ++n)
> {
> if (system("test -d" /home/cubedata/20120104/"$1"/"a")) {
> print... (5 Replies)
Discussion started by: manas_ranjan
5 Replies
4. Linux
I am trying to attach a patch file.The output I am getting is
patching file net/ipv4/ip_forward.c
Hunk #1 succeeded at 38 (offset -2 lines).
Hunk #2 succeeded at 113 with fuzz 2 (offset -2 lines).
Hunk #3 FAILED at 152.
Hunk #4 succeeded at 197 (offset 1 line).
1 out of 4 hunks FAILED --... (0 Replies)
Discussion started by: akaash1087
0 Replies
5. Solaris
Hi there,
files are being transferred via ftp to a folder in my machine which runs solaris 8. I would like to know if is possible to find out from my side if a file is completely transferred or not.
Is there a way to control this?
Thanks! (6 Replies)
Discussion started by: sickboy
6 Replies
6. Shell Programming and Scripting
I am using Sun Solaris 5.8
I am trying to run a system command such as ls and echo inside awk, but when I run the following code system echo is not displayed.
bash-2.03$ ls | awk 'BEGIN {
print "first print"
system("echo system echo")
print "second print"
... (1 Reply)
Discussion started by: rakeshou
1 Replies
7. UNIX for Dummies Questions & Answers
About associative nature of awk arrays i'm still confused, not able to understand yet how array element can be accessed based on a string, I got one example at gawk manual to illustrate associative nature of awk arrays, it goes here:
Codeawk '
# Print list of word frequencies
{
for (i = 1;... (3 Replies)
Discussion started by: nervous
3 Replies
8. UNIX for Dummies Questions & Answers
I have created symbolic links to several frequently used commands, for example:
"lt" is a link to "ls -ltrgo|tail". What can I do to make these links available system-wide, or at least in the directories my coworkers are in most of the time? I have copied the link to several directories, and... (6 Replies)
Discussion started by: jpprial
6 Replies