01-26-2012
Permanent Dynamic “View”
Is there a way to make a permanent pseudo-file, whose contents may dynamically change? I'm thinking of something like an SQL view here. I've been trying to do this with pipes, but I haven't been able to crack it.
For example, I have two files, “half1” and “half2”, which are subject to change at any time. I need a permanent file, “whole”, that always contains the concatenation of the current “half1” and “half2” files. And “whole” must appear to be a file (I can't just pipe it in on a command line) for this particular application.
I can obviously do a one-time concatenation (cat half1 half2 > whole) but subsequent changes in “half1” or “half2” won't be reflected in “whole”. Is there some way to make this live/dynamic?
I'm on SunOS 5.10
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to add a permanent route on my server, but whenever i reboot it dissapears.
Please does anyone know the correct command to use.
route add XXX.XXX.XXX.XXX DDD.DDD.DDD.DDD
the above is what i have done.
ednut:)
using IRIX SGI software. (2 Replies)
Discussion started by: Ednut
2 Replies
2. Solaris
How do I make a route permanent, other than default route on a Solaris server? (1 Reply)
Discussion started by: jontom
1 Replies
3. UNIX for Dummies Questions & Answers
On AIX 5.2 as root, installed Seamonkey and have to type
#/seakey/seamonkey/seamonkey to get it to run, which it does okay.
To set up a permanent alias, I did the following
(1) In a text editor
alias seamk='/seakey/seamonkey/seamonkey'
and saved it to /home/alias_file
(2) In a text editor... (7 Replies)
Discussion started by: farl
7 Replies
4. Solaris
Hi guys,
I'm running Solars 8 on a V100 server at home for testing.
If I switch user to root and do:
# echo $PATH
This is the output:
/usr/sbin:/usr/bin
I'm using rsync over ssh and need to add /usr/local/bin and /user/local/sbin.
I do this by running the line:
#... (3 Replies)
Discussion started by: Stin
3 Replies
5. AIX
I set my TERM variable to work with SMIT and everything works fine but when I logged out and log in again I have to set the variable again.
How can I set a permanent variable into the system so it will be as I wish even if a reboot is needed?
I set variables this way:
export VAR=value (7 Replies)
Discussion started by: agasamapetilon
7 Replies
6. UNIX for Dummies Questions & Answers
Hi mates, I want to make an alias permanent for a KShell, does someone knows how to do that?
Thanks! (4 Replies)
Discussion started by: agasamapetilon
4 Replies
7. UNIX for Advanced & Expert Users
I have a file that reads File (X.txt)
Contents of record 1:
rdrDESTINATION_ADDRESS (String) "91 971502573813"
rdrDESTINATION_IMSI (String) "000000000000000"
rdrORIGINATING_ADDRESS (String) "d0 movies"
rdrORIGINATING_IMSI (String) "000000000000000"
rdrTRAFFIC_EVENT_TIME... (0 Replies)
Discussion started by: magedfawzy
0 Replies
8. UNIX for Advanced & Expert Users
I read this article as a way to do a non-permanent of something.
I saw 2 problems. The first that my rm is located at /bin/rm. I would assume I would change the location to /bin/rm. The second my rm is a executable file and not a text file. So will replacing my rm file with the shellscript... (3 Replies)
Discussion started by: cokedude
3 Replies
9. UNIX for Dummies Questions & Answers
I try to understand the meaning of an inode. I wonder whether
an inode is unique (I'm pretty sure it is) and
whether it remains the same inode regardless of whatever happens to the file, dir or whatever?
I read somewhere that an inode stores info about the file, size... so changing the... (4 Replies)
Discussion started by: dakke
4 Replies
10. What is on Your Mind?
See attached video for a demo on how to move back and forth from the desktop view to the mobile view.
Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on.
Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies