10 More Discussions You Might Find Interesting
1. Ubuntu
I am unfamiliar with below error and how to fix it, it happens when I start the terminal in Ubuntu 14.04.3. I do not send any command only press crtl+alt+T. It seems to indicate that something is missing from PATH but I’m not really sure what. Thank you :).
Command 'lesspipe' is... (24 Replies)
Discussion started by: cmccabe
24 Replies
2. Windows & DOS: Issues & Discussions
Dear All,
I want to run a shell script with out logging to putty but configuring it to a keyboard short cut it windows PC. Can this be done? I want this to rename a log in a specified folder in a system
Thanks (8 Replies)
Discussion started by: Chi_SL
8 Replies
3. Windows & DOS: Issues & Discussions
when I run C:\cygwin\bin\run C:\cygwin\bin\startxwin.exe it fires up a terminal by default. Can I eliminate that terminal and start the x server as a service silently and sits in my status bar just there? Thanks Jack (0 Replies)
Discussion started by: lucky7456969
0 Replies
4. Ubuntu
You probably know the answer to this, because I know it exists.
I have super long filenames with md5 hashes and I sucks to type the whole hash in the console. Because... just because :P
What is the shortcut for selecting a file in the current directory? Like you get a sort of loop through the... (1 Reply)
Discussion started by: hellfire1
1 Replies
5. Shell Programming and Scripting
I need to grab key combination from a bash script and store it in a variable. Is there any way to do this?
Thanks in advance! (1 Reply)
Discussion started by: prism1
1 Replies
6. OS X (Apple)
how can I do that?
I can paste a line with ctrl+p; but I dont know how to copy it?
ctrl+y - just deletes etc. (2 Replies)
Discussion started by: c_lady
2 Replies
7. Shell Programming and Scripting
Hello all,
I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal?
Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies
8. Programming
Could anybody tell me how I can detect a particular key combination and perform a particular task on that event. e.g. if I press Ctrl + L on the shell then it clears the screen. Please tell me how it can be performed on my shell.
And how the Arrow Keys can be detected. I tried but pressing a key... (11 Replies)
Discussion started by: mobile01
11 Replies
9. SuSE
I am using informix RDBMS over SUSE LINUX. In linux if you press control-c it acts as an interrupt key. In my program I have used control-c to perform certain functions but it is being overriden by interrupt function of control-c key combination of SUSE LINUX. Kindly suggest me a solution by which... (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am using the Korn-Shell (ksh) and would like to know all the shortcut keys. For example: Shift + Insert etc.
Thank you very much.
Take care (0 Replies)
Discussion started by: --crimson--
0 Replies
KVM_GETFILES(3) BSD Library Functions Manual KVM_GETFILES(3)
NAME
kvm_getfiles -- survey open files
LIBRARY
Kernel Data Access Library (libkvm, -lkvm)
SYNOPSIS
#include <kvm.h>
#include <sys/kinfo.h>
#define _KERNEL
#include <sys/file.h>
#undef _KERNEL
char *
kvm_getfiles(kvm_t *kd, int op, int arg, int *cnt);
DESCRIPTION
kvm_getfiles() returns a (sub-)set of the open files in the kernel indicated by kd. The op and arg arguments constitute a predicate which
limits the set of files returned. No predicates are currently defined.
The number of processes found is returned in the reference parameter cnt. The files are returned as a contiguous array of file structures,
preceded by the address of the first file entry in the kernel. This memory is owned by kvm and is not guaranteed to be persistent across
subsequent kvm library calls. Data should be copied out if it needs to be saved.
RETURN VALUES
kvm_getfiles() will return NULL on failure.
SEE ALSO
kvm(3), kvm_close(3), kvm_geterr(3), kvm_nlist(3), kvm_open(3), kvm_openfiles(3), kvm_read(3), kvm_write(3)
BUGS
This routine does not belong in the kvm interface.
BSD
April 19, 1994 BSD