03-27-2006
not sure what you're after, but.... 'man tee'
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm a new to UNIX/LINUX. I just put cygwin on my laptop and I can navigate around the directories, but I can't open files (.doc, .ppt, .html or .exe). Is there an explicit command to do this? I know that in Solaris when it does not recognize the file, it brings up the list of available viewing... (4 Replies)
Discussion started by: AJA
4 Replies
2. UNIX for Dummies Questions & Answers
I am very new to unix. I want to open a file and read one line in at a time. Can anybody help? (3 Replies)
Discussion started by: saarshad001
3 Replies
3. UNIX for Dummies Questions & Answers
when i try to open a txt file in lynx I need to provide the filename or use wildcards to open. Autocompletion doesn't work for some reason.
Also, trying to open files like: .sh, .py etc. ends up in the following error:
lynx: Start file could not be found or is not text/html or text/plain ... (0 Replies)
Discussion started by: riwa
0 Replies
4. Shell Programming and Scripting
I tried opening the files in a directory and print thier names.
But it was thowing the error "unable to open directorty at t5.pl line 2."
Can u plz correct this error in below mentioned code.
#!/data/scoredev/perl
opendir(HOMEDIR,"c:\vin") || die("unable to open directorty");... (3 Replies)
Discussion started by: vinay123
3 Replies
5. Shell Programming and Scripting
Hy
I've got a little problem:
I work with ksh...
The application I start should write its output to a log file. It works but the problem is that as I have to run this application few times in a loop it overrites the file every time.:confused:
/proj/bre/tools/bin/bretestdriver... (2 Replies)
Discussion started by: lucae
2 Replies
6. Web Development
Im aware under IE, javascript uses ActiveX Objects to open up and manipulate text files, excel files etc..
How abouts would I open a text file using javascript in Firefox ?
thanks (1 Reply)
Discussion started by: JamesGoh
1 Replies
7. Shell Programming and Scripting
Hi All,
I have a total of ten file to open in the Perl script and i am using a for loop to open each file and capture some strings inside each file.
Unfortunately, i encounter the below syntax error.
I think there should be something wrong with this term reports_${counting}_${_}.txt but i do... (4 Replies)
Discussion started by: Raynon
4 Replies
8. Programming
In C, given a name or path to a file, how do I check if the path is valid, and how can I check its permisions will let me read from it, and how do i check if its an empty file? (15 Replies)
Discussion started by: omega666
15 Replies
9. Shell Programming and Scripting
Hi,
is it possible to append some codes in a file without opening it.
Basically i am working on a script that will add a variable's value in a file (contained within a directory). (2 Replies)
Discussion started by: mukulverma2408
2 Replies
10. Programming
Hello everybody I'am trying to open a File with an Filedeskriptor. After Opening the file I want to append Data to the File!
I have the following code now, but I only overwrite the data from the file and did not append it!
void Buffer::writeIntoFile(std::string name, int length, std::string... (2 Replies)
Discussion started by: pk543450
2 Replies
LEARN ABOUT PHP
dbase_open
DBASE_OPEN(3) 1 DBASE_OPEN(3)
dbase_open - Opens a database
SYNOPSIS
int dbase_open (string $filename, int $mode)
DESCRIPTION
dbase_open(3) opens a dBase database with the given access mode.
Note
When safe mode is enabled, PHP checks whether the files or directories being operated upon have the same UID (owner) as the script
that is being executed.
Note
This function is affected by open_basedir.
PARAMETERS
o $filename
- The name of the database. It can be a relative or absolute path to the file where dBase will store your data.
o $mode
- An integer which correspond to those for the open() system call (Typically 0 means read-only, 1 means write-only, and 2 means
read and write).
Note
You can't open a dBase file in write-only mode as the function will fail to read the headers information and thus you can't
use 1 as $mode.
EXAMPLES
Example #1
Opening a dBase database file
<?php
// open in read-only mode
$db = dbase_open('/tmp/test.dbf', 0);
if ($db) {
// read some data ..
dbase_close($db);
}
?>
RETURN VALUES
Returns a database link identifier if the database is successfully opened, or FALSE if an error occurred.
SEE ALSO
dbase_create(3), dbase_close(3).
PHP Documentation Group DBASE_OPEN(3)