One directory up (..) from where your script is (dirname $0), there is a directory called "config". In there is a file called "config". The line sources that file into your current shell environment.
Just a super quick question:
how do you put a link in your php code.
I want to make a link to something in /tmp directory.
i.e. how do you put a href into php, I think it's done a bit differently.
thanks
john (1 Reply)
Hi, I am new to UNIX, and am learning from this tutorial : http://www.ee.surrey.ac.uk/Teaching/Unix/index.html
It keeps telling me to files downloaded from the internet (like .txt files) to the directory, and I dont know how to.
How do I add .txt files to my directory? Thanks. (6 Replies)
Hi,
At best I'm a junior admin with a big problem.
My developers have got my root password and mgmt insists they need it.
I can't even change it when people knowing it leave.
I'm certain they've hardcoded it into routines. I've searched my servers and grepped everything & can't find it.
... (5 Replies)
I'm in .profile. I want to export a directory ( export MY_TOOL_HOME=/tools/my tool". Unfortunately for me, the directory I want to export to has a space in its name. So when I try to cd $MY_TOOL_HOME, i get a No such file or directory at the command line... thanks for the help (4 Replies)
When I have a file like this:
0084AF aj-123-a NAME Ajay NAME Kumar Engineer
015ED6 ck-345-c
020B25 ef-456-e
027458 pq-890-p NAME Peter NAME Salob Doctor
0318F0 xy-123-x NAME Xavier Arul NAME Yesu Supervisor
0344CA de-456-d
where - The first NAME is followed by... (6 Replies)
Hi guys
Quick question
Im creating an FTP server and im chrooting each user to there home directory blah blah. Ive also setup scponly so there locked etc.
Im a novice at unix and have just reaslised the primary group of scponly is the username of one of the ftp users... which im sure... (1 Reply)
I need to speed up this process. I would like for this script to spawn a sub-process for each line it reads and move on to the next without waiting for the data to be returned.
I know with a large list this can be dangerous and eat system resources. However I use this script only when I get a... (7 Replies)
Hello,
I have a quick reference question:
I have a very long, but fairly straigtforward script written in c-shell. I was wondering if it is possible to call this script from bash (for ex. having a function in bash script which calls the c-shell script when necessary), and if so, are there any... (1 Reply)
Discussion started by: lapiduslost
1 Replies
LEARN ABOUT CENTOS
cups-config
cups-config(1) Apple Inc. cups-config(1)NAME
cups-config - get cups api, compiler, directory, and link information.
SYNOPSIS
cups-config --api-version
cups-config --build
cups-config --cflags
cups-config --datadir
cups-config --help
cups-config --ldflags
cups-config [ --image ] [ --static ] --libs
cups-config --serverbin
cups-config --serverroot
cups-config --version
DESCRIPTION
cups-config is the CUPS program configuration utility. It should be used by application developers to determine the necessary command-line
options for the compiler and linker, as well as determining installation directories for filters, configuration files, and drivers.
OPTIONS --api-version
Displays the current API version (major.minor).
--build
Displays a system-specific build number.
--cflags
Displays the necessary compiler options.
--datadir
Displays the default CUPS data directory.
--help
Displays the program usage message.
--image
When used with --libs, adds the CUPS imaging library to the list of displayed libraries.
--ldflags
Displays the necessary linker options.
--libs
Displays the necessary librarys to link to.
--serverbin
Displays the default CUPS binary directory, where filters and backends are stored.
--serverroot
Displays the default CUPS configuration file directory.
--static
When used with --libs, shows the static libraries instead of the default (shared) libraries.
--version
Displays the full version number of the CUPS installation (major.minor.patch).
SEE ALSO
http://localhost:631/help
COPYRIGHT
Copyright 2007-2013 by Apple Inc.
23 October 2008 CUPS cups-config(1)