10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I plan on building an expect script and a ksh script to acquire some information and pass to the expect script. I'm very new with expect and figured I would start off slow. However, I use the spawn telnet command, run the script, and it prints out "spawn telnet" rather than doing... (3 Replies)
Discussion started by: Neqtor
3 Replies
2. Shell Programming and Scripting
I have written a korn shell script .
I copy a file from one mounted directory to other using cp command.
This script runs daily at a time.
But sporidally it fails to copy the files. So I have missing files at the destination directory for some days.
Is my method a good one or is there some... (5 Replies)
Discussion started by: Golden Egg
5 Replies
3. Linux
Currently in a fresh install of arch linux and I have been trying to install some stuff with pacman. Every operation returns multiple errors such as no address record when using -Sy and unable to retrieve file when trying to install something. I have tried so many different configurations of... (5 Replies)
Discussion started by: a sandwhich
5 Replies
4. AIX
Hi.
How can i write a command on AIX like the one i did at linux that find string in a file and show me that string, and return 3 lines before and 4 lines after that string.
my linux command is:
/bin/cat <filename> | tail -150 | grep -B2 -A8 "<string to look for>"
Example:
/bin/cat ... (10 Replies)
Discussion started by: yechi_r
10 Replies
5. AIX
Hello Folks
We have following software installed on our AIX box
X11.vfb - Virtual Frame Buffer Software
We also see its process running
root 528406 1 0 06:27:18 - 0:00 /usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :1
Following is the o/p of 'lslpp'
X11.vfb 5.3.0.50... (4 Replies)
Discussion started by: ak835
4 Replies
6. Shell Programming and Scripting
Hello,
So I sorted my file as I was supposed to:
sort -n -r -k 2 -k 1 file1 | uniq > file2
and when I wrote
> cat file2
in the command line, I got what I was expecting, but in the script itself
...
sort -n -r -k 2 -k 1 averages | uniq > temp
cat file2
It wrote a whole... (21 Replies)
Discussion started by: shira
21 Replies
7. UNIX for Advanced & Expert Users
Dear All
I have two text files File1.txt and File2.txt . I am concatenating the two files and making it as single file Cat_File.txt. Now i need to keep joined file in two different path. that is I need to use cat command only once ,but store joined file in two different locations. Since... (3 Replies)
Discussion started by: tkbharani
3 Replies
8. UNIX for Dummies Questions & Answers
Hi
Can anybody tell the difference between Difference between cat , cat > , cat >> and touch command in UNIX?
Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies
9. Shell Programming and Scripting
What does the below command means
$cat <<% >abc.txt (3 Replies)
Discussion started by: surjyap
3 Replies
10. Shell Programming and Scripting
hi everybody,
how do i open a txt file writen in unix on to a web page
so when i want to view the txt file that was generated from a shell program, that file is open on a web page
do i use the cat > filename.html command to do this, or is there another way
many thanks
:D (2 Replies)
Discussion started by: alexd
2 Replies