cat command


 
Thread Tools Search this Thread
Operating Systems AIX cat command
# 8  
Old 09-15-2010
Keeping on topic for a minute... AIX grep doesn't have such "extensions" (and for TRB, most grep's I would imagine, are POSIX compliant, but AIX has extensions of its own (like -p, which make dealing with it's heavily-stanza-based system files easier)).

anbu23 had the correct answer - this question has been asked many times. Search the forums.
# 9  
Old 09-15-2010
Gentlemen,
First, if a read from disk once it was already in the cache disk, for the next reading was not reading from the disk.
Second, the time for entering commands from the keyboard to be unreasonably long, in scripts, in cron, it's OK.
In interactive mode I include the filename after command tail without a cat.

---------- Post updated at 08:30 PM ---------- Previous update was at 08:06 PM ----------

corona688:
It's formum AIX not intel8080 or z80 now 15 september 2010.

Last edited by john1212; 09-15-2010 at 03:14 PM..
# 10  
Old 09-15-2010
The principle is architecture-independent, and the cost remains large in the fastest machines -- extra process creation, double the reads and writes, much more I/O involving the kernel, many more context switches, and having to wait for it when its dead. If anything it's more important not to waste time and memory in large-scale machines expected to perform consistently under very high loads. You're wasting a core that'd otherwise be doing real work.
Quote:
The fact that the same thread ("but but but, I think it's cleaner / nicer / not that much of a waste / my privelege to waste processes!") springs up virtually every time the Award is posted is also Ancient Usenet Tradition.

Last edited by Corona688; 09-15-2010 at 04:17 PM..
# 11  
Old 09-15-2010
Hi,
Let's come back time when not allowed to start X, for a very charged the processor. Only character mode. I can laugh, I remember those time.
If you're teacher, you're right, young computer scientists should think, it's good trening.
Bye
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Need some help on using cat command

I have a file "sample.txt" with the content as below: Hi This is a Sample Text. I need a single command using cat which serve the following purpose. 1.display the contents of sample.txt 2.append some text to it 3. and then exit But, all should be served by a sinle... (1 Reply)
Discussion started by: ashok.g
1 Replies

2. Shell Programming and Scripting

Cat command help

I want to concatenate 100 files to one file and append file name in each record to find out which file it came from for a in $(<shal_group) do cat $a >> bigoutput.group The above code put all files in one file but i want file name appended to each file Record should be like this... (3 Replies)
Discussion started by: pinnacle
3 Replies

3. UNIX for Advanced & Expert Users

cat command

I believe I used the cat command to append a file beside another file (instead of below it) but I did not document it any where and I can't remember exactly how I did it. Has anyone else done this? I have tried all the cat options individually with no luck. It may be a combination of options. ... (2 Replies)
Discussion started by: nickg
2 Replies

4. Shell Programming and Scripting

cat in the command line doesn't match cat in the script

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

5. UNIX for Advanced & Expert Users

cat command

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

6. UNIX for Dummies Questions & Answers

Difference between cat , cat > , cat >> and touch !!!

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

7. AIX

cat command

I would like to append some statement into 1 single file so that it can be concatenate together in 1 word. I have tried >> but it will seperate my 2 statement into 2 rows. # cat abc.txt cde.txt > result.txt where abc.txt is "abcde" and cde.txt is "12345" the result should come out as... (3 Replies)
Discussion started by: kwliew999
3 Replies

8. UNIX for Dummies Questions & Answers

CAT command

All - how do i save the file after i used CAT command line to modify? Thanks :confused: (2 Replies)
Discussion started by: March_2007
2 Replies

9. Shell Programming and Scripting

cat command

What does the below command means $cat <<% >abc.txt (3 Replies)
Discussion started by: surjyap
3 Replies

10. Shell Programming and Scripting

the CAT command

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
Login or Register to Ask a Question