06-17-2010
10 More Discussions You Might Find Interesting
1. AIX
Hi,
anybody know how to change the system date which the year is greater than 2037? is it posibble been done under aix machine??
thanks :) (1 Reply)
Discussion started by: Ricole
1 Replies
2. UNIX for Dummies Questions & Answers
Assume, I created one file three years back and I like to move the file to some other directory with the old date (Creation date)? Is it possible? Explain? (1 Reply)
Discussion started by: jee.ku2
1 Replies
3. Solaris
dears
any one know how to change system date in solaris (10 Replies)
Discussion started by: murad.jaber
10 Replies
4. UNIX for Advanced & Expert Users
I have this T5220 server with Solaris 10 installed on to it. Now when I fire the command "date" the o/p I get is as follows :
bash-3.00# date
Tuesday, February 9, 2010 7:25:24 PM IST
whereas I want the date to appear in this format:
bash-3.00# date
Tue Feb 9 19:26:06 IST 2010
... (3 Replies)
Discussion started by: ksahay@123
3 Replies
5. UNIX for Dummies Questions & Answers
Hello gurus,
I am hoping someone can help me with the required code/script to make this work. I have the following file with records starting at line 4:
NETW~US60~000000000013220694~002~~IT~USD~2.24~20110201~99991231~01~01~20101104~... (4 Replies)
Discussion started by: chumsky
4 Replies
6. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies
7. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies
8. UNIX for Beginners Questions & Answers
Can someone help me with the code wherein there is a file f1.txt with different column and 34 column have expiry date and I need to get that and compare with system date and if expiry date is <system date remove those rows and other rows should be moved to new file f2.txt .
I don't want to delete... (2 Replies)
Discussion started by: Stuti
2 Replies
9. Answers to Frequently Asked Questions
I m working on shell scripting and I m stuck where in my .txt file there is column as expiry date and I need to compare that date with system date and need to remove all the rows where expiry date is less than system date and create a new .txt with update. (1 Reply)
Discussion started by: Stuti
1 Replies
10. UNIX for Beginners Questions & Answers
Suppose i have a list of files in a directory as mentioned below
1. Shankar_04152019_ny.txt
2. Gopi_shan_03122019_mi.txt
3. Siva_mourya_02242019_nd.txt
..
.
.
.
.
1000 . Jiva_surya_02282019_nd.txt
query : At one shot i want to modify the above all filenames present in one path with... (4 Replies)
Discussion started by: Shankar455
4 Replies
LEARN ABOUT MOJAVE
lpinfo
lpinfo(8) Apple Inc. lpinfo(8)
NAME
lpinfo - show available devices or drivers
SYNOPSIS
lpinfo [ -E ] [ -h server[:port] ] [ -l ] [ --device-id device-id-string ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-
list ] [ --language locale ] [ --make-and-model name ] [ --product name ] -m
lpinfo [ -E ] [ -h server[:port] ] [ -l ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-list ] [ --timeout seconds ] -v
DESCRIPTION
lpinfo lists the available devices or drivers known to the CUPS server. The first form (-m) lists the available drivers, while the second
form (-v) lists the available devices.
OPTIONS
lpinfo accepts the following options:
-E Forces encryption when connecting to the server.
-h server[:port]
Selects an alternate server.
-l Shows a "long" listing of devices or drivers.
--device-id device-id-string
Specifies the IEEE-1284 device ID to match when listing drivers with the -m option.
--exclude-schemes scheme-list
Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results. Static PPD files use the "file"
scheme.
--include-schemes scheme-list
Specifies a comma-delimited list of device or PPD schemes that should be included in the results. Static PPD files use the "file"
scheme.
--language locale
Specifies the language to match when listing drivers with the -m option.
--make-and-model name
Specifies the make and model to match when listing drivers with the -m option.
--product name
Specifies the product to match when listing drivers with the -m option.
--timeout seconds
Specifies the timeout when listing devices with the -v option.
CONFORMING TO
The lpinfo command is unique to CUPS.
EXAMPLES
List all devices:
lpinfo -v
List all drivers:
lpinfo -m
List drivers matching "HP LaserJet":
lpinfo --make-and-model "HP LaserJet" -m
SEE ALSO
lpadmin(8), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
12 June 2014 CUPS lpinfo(8)