10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys,
Can you tell me what value would additional knowledge of PERL and CGI scripting will add to my skill set of UNIX shell scripting and ORACLE PL/SQL?
I understand that PERL is a good tool for text processing. (1 Reply)
Discussion started by: yabhi_22
1 Replies
2. Shell Programming and Scripting
OK I have a simple awk script:
$ awk '/03\/11\/10/' foofile|awk -f finderrors.awk
I want to use in the ksh script to so that I can do something like this:
#!/bin/ksh
TODAY=`date +"%D"`
awk /$TODAY/ foofile|awk -f finderrors.awk
The problem I am having is (I believe) is with the special... (3 Replies)
Discussion started by: bike4life
3 Replies
3. AIX
Hi all,
I'm a Solaris/linux sysadmin with a good general UNIX skills and with a little tiny background on AIX with no exposure to IBM's hardware ( just reading ) , but i think i can cope with it .
UNIX jobs nowadays are rare here ( i mean hp-ux , solaris , aix ) not linux specially after the... (6 Replies)
Discussion started by: h@foorsa.biz
6 Replies
4. Shell Programming and Scripting
Hi guys, looking for a little bit of help. I have been given a task to sift through this massive config of events. I need to find out which event is set up for which ID and each entry looks a little like;
<test1
CONNECT_TYPE = COPY
HOST =
USER =
PASSWORD =... (1 Reply)
Discussion started by: JayC89
1 Replies
5. Red Hat
Hi everyone. I must admit up front that I am not very strong when it comes to Linux. I am actually a Windows guy, but don't let that count against me. :) I work for a very small company so we do not have a Server/Linux Admin on staff. Most of our needs have been handled by our WebHost. We have... (2 Replies)
Discussion started by: liquidstyleb
2 Replies
6. UNIX for Dummies Questions & Answers
i am currently running windows vista home premium, i want to install unix because i just started a computer programing course, i am just wondering if i install unix will i still have vista?? how does it work? will i get a choice of which os to run on system startup?? (1 Reply)
Discussion started by: naner9
1 Replies
7. Shell Programming and Scripting
Hi.
First of all, Im an msoft guy, and when it comes to linux/unix, I'm retarded.
Here is what I'm trying to do.
I want to
start
I want to automatically connect to a remote server.
Then I need it to login(https)
-insert the licensce in the box(vi)
-based on that licensce, the... (1 Reply)
Discussion started by: bravo24601
1 Replies
8. Shell Programming and Scripting
Hello everyone,
This is my first post here and this is the first time I am using UNIX OS (Slackware). I find it really useful and powerful and would like to master it but as you may guess I am expreicing quite a few problems.
I've been reading a few documentations about it and bash this week... (17 Replies)
Discussion started by: sanchopansa
17 Replies
9. UNIX for Dummies Questions & Answers
I have a while read loop cycling through a fixed-length csv file and I'd like to use an if statement to check two fields in each line. I'm basically asking for your suggestions on the best and easiest way to check two fields in each line. I'm sure many of you may be thinking just use awk, but if... (1 Reply)
Discussion started by: yongho
1 Replies
10. UNIX Desktop Questions & Answers
I am looking for some advice on wether to use unix or red hat linux? I have played with most windows OS and Mac OS up to in and including OS X. any and all advice would be appreciated (4 Replies)
Discussion started by: justawind
4 Replies
VOP_ADVISE(9) BSD Kernel Developer's Manual VOP_ADVISE(9)
NAME
VOP_ADVISE -- apply advice about use of file data
SYNOPSIS
#include <sys/param.h>
#include <sys/vnode.h>
int
VOP_ADVISE(struct vnode *vp, off_t start, off_t end, int advice);
DESCRIPTION
This call applies advice for a range of a file's data. It is used to implement the posix_fadvise system call.
Its arguments are:
vp The vnode of the file.
start The start of the range of file data.
end The end of the range of file data.
advice The type of operation to apply to the file data. Possible values are:
POSIX_FADV_WILLNEED Initiate an asynchronous read of the file data if it is not already resident.
POSIX_FADV_DONTNEED Decrease the in-memory priority of clean file data or discard clean file data.
If the start and end offsets are both zero, then the operation should be applied to the entire file. Note that this call is advisory only
and may perform the requested operation on a subset of the requested range (including not performing it at all) and still return success.
LOCKS
The file should be unlocked on entry.
RETURN VALUES
Zero is returned if the call is successful, otherwise an appropriate error code is returned.
ERRORS
[EINVAL] An invalid value was given for advice.
SEE ALSO
vnode(9)
BSD
October 3, 2013 BSD