01-13-2012
I think you should use nano for editing in console mode. Nano also supports highlight code like VIM, but you have to configure a bit. Nano have friendly and familiar shortcut keys than VIM which is very confuse for Windows users.
I use Nano and feel very comfortable.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been teaching myself unix a little here and a little there. I would like to learn emacs, or an editor that I would get the most use out of. What is the most used editor in unix? (1 Reply)
Discussion started by: macnix
1 Replies
2. Linux
I'd like to pass some exames to get certificates for Linux. Can someone advice me how to do it "on distance" and self studie?
thanks!
d. (4 Replies)
Discussion started by: diamond
4 Replies
3. Red Hat
dear friends
I am new in linux and i want to learn linux in dos-mode (note in gui mode).
Plz if you have any valuable link plz send me . i will really thankful for this anticipation.
irfan ahmad (4 Replies)
Discussion started by: itlhr@pharmax.c
4 Replies
4. Fedora
I want to learn (unix solaris), but someone advised me to learn (Linux fedora) before trying (unix solaris) and that they are almost the same.. So shall I go with his advise or is it better to start learning unix directly? (1 Reply)
Discussion started by: proud
1 Replies
5. UNIX for Dummies Questions & Answers
I understand emacs is an editor and unix is a os. however, we have different commands for unix and dif commands for emacs.. How are they related to each other? thanks in advance :b: (3 Replies)
Discussion started by: swathi123
3 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way..
How to use emacs editor? Also how to open existing emacs files with .cgi format?
I have the following link :-
http link i.e. url and path : /abc/xyz.dev/xyz/documents
What... (7 Replies)
Discussion started by: swathi123
7 Replies
7. Fedora
Hi all,
Noob here. I have been dabbling with Linux for years, basically installing different types of distros and becoming familiar with the default gui that came along with it.
At this point, I find myself wanting to learn alot more. It would be great if that knowledge helped me move forward... (2 Replies)
Discussion started by: Petros_K
2 Replies
8. Fedora
I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
9. UNIX for Beginners Questions & Answers
Hi ,
wanna learn native GUI programming in Unix-Linux instead of Gtk and Qt.
No problem. You don't need a cross platform Gui toolkit like Gtk and Qt.
And the code and syntax is also not more or less than others.
Check out this code for a simple mainwindow for your application that is openend in... (0 Replies)
Discussion started by: Sennenmut
0 Replies
LEARN ABOUT FREEBSD
vop_advise
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