I am trying to learn some unix here and i have some question that i would like to ask:
What's the most basic backup command?
What is the command to pause a backup?
What is the command to resume backup?
Can we backup a job that is running ?
How can we pause the backup of the job and than... (1 Reply)
Hello i am new to this forum. I signed up here really to ask one question. I recentaly got a old unix server from my work and i never really understood what unix is or what is does. Dont get me wrong i and very smart with computers as long as its windows, mac, or linux i can use them all but i... (4 Replies)
Hi all, This is my first post.
I am a complete noobie to the UNIX OS, I have an iMac G5 with the unix shell built in and am interested in learning how to use it to do things useful with it, but have no idea where to start. I have read over the basic commands but they haven't helped me much yet.... (3 Replies)
Hi all,
I am trying to write a shell script that will move files from one directory to another, the only thing is I want to to check loads of different source directory and move the files to loads of different directories.
I am totally new to shell scripts but not to UNIX (although I would... (16 Replies)
This is my first time in this forum so, Hello to all!!!
I have been supporting windows based machines for a few years now and I have been writing batch files to do certain tasks for what seems like an age.
I've recently started a new job (as it support) and my new colleagues have said,... (2 Replies)
Hey everyone
I am currently starting University, (Aus) and i am required to study Unix as apart of my study. We have gone through the basics in orientation but here at home they said i can access my files through the 'ssh' command.
All i need to know is:
- How will my wireless internet be... (2 Replies)
Hi
I'm really new to this so sorry if this is trivial
What I'm trying to do is take a file with 3 columns of numbers and cat all the entries of the second and third columns which have the same entry in the first column into a file with the number from the first column in the name. So say
1... (11 Replies)
i'm having trouble putting together a program :( any help would be much appreciated!
Write a Shell Program to automate the process of collecting assignments from the directories of students of any specified class.
The person running the program should be able to pass a parameter to the... (1 Reply)
hello,
sco openserver R5
the following error and it fails to load.
init: Command is respawning too rapidily
id: vm "/home/bin/stvm.sh"
init: Comand..etc
id: c02"/etc/start/autostart"
its trying to mount car diagnostic program in vmware, the program location
is in "start" i think? i... (1 Reply)
Hi guys!
Consider the following PERL script,
#!/usr/bin/perl
my $userID = `whoami`;
open(TMP, ">user.txt");
print TMP "$userID";
close(TMP);
Run on the command line it works no problem.
Run using crontab it doesn't work.
Where do I go to check errors from crontab?
I've read things... (25 Replies)
Discussion started by: Jaymoney
25 Replies
LEARN ABOUT DEBIAN
ppd_find_choice
ppd_find_choice(3) Library Functions Manual ppd_find_choice(3)NAME
ppd_find_choice, ppd_find_marked_choice, ppd_find_option_by_keyword - set of functions for returning pointers to choices from PPD files.
SYNOPSIS
#include <ppd.h>
PpdChoice *ppd_find_choice (PpdOption *o, const char *choice);
PpdChoice *ppd_find_marked_choice (PpdFile *ppd, const char *keyword);
PpdOption *ppd_find_option_by_keyword (PpdFile *ppd, const char *keyword);
DESCRIPTION
These three functions allow the programmer access options and choices within a PPD file.
PpdChoice *ppd_find_choice (PpdOption *o, const char *choice);
This function accepts two parameters. The first is a pointer to a PPD option structure and the second is the name of the choice to locate.
PpdChoice *ppd_find_marked_choice (PpdFile *ppd, const char *keyword);
This function accepts a valid PpdFile pointer (see ppd_file_new(3)) and a keyword or option name to locate in the PPD file.
PpdOption *ppd_find_option_by_keyword (PpdFile *ppd, const char *keyword);
This function accepts two parameters which are identical to those used when invoking the ppd_find_marked_choice() function. However, the
ppd_find_option_by_keyword() function does not mark the designated option as being selected.
RETURN VALUE
ppd_find_choice()
Return a pointer to an option choice; NULL in the case of a failure
ppd_find_marked_choice()
Return the marked choice for the specified option; NULL in the case of a failure
ppd_find_option_by_keyword()
Return a pointer to the specified option; NULL in the case of a failure
SEE ALSO ppd_file_new(3), ppd_emit_to_file(3), ppd_file_free(3), ppd_get_num_conflicts(3), ppd_check_option_is_marked(3), ppd_get_page_length(3)AUTHOR
This man page was written by Gerald Carter <gcarter@valinux.com>. It was updated by Mark Fasheh <mfasheh@valinux.com> to reflect changes
in libppd 0.5 Some of the code for these functions was originally part of the Common UNIX Printing System (CUPS).
ppd_find_choice(3)