11-26-2007
Have not got a Solaris 5.8 system to hand but this syntax works on a OpenSolaris 5.11 system and gives the expected output.
How is it not working for you? Invalid syntax or unexpected output?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI all,
i want to run various Unix cmds thru a java prg. following is the code which i have written.
-------------------------------------------------------------------
import java.io.*;
class Run
{
public static void main(String args)
{
String ls_str;
try{
Process cmd_su =... (1 Reply)
Discussion started by: sonbag_pspl
1 Replies
2. Shell Programming and Scripting
Hi,
i wan to search the file starting with Admin into the directory Output. I am running below command:
find /appl/Output -name "Admin*" -prune
but this command is going into the sub directories present under output. I do not want to search under sub directories. Any help will be highly... (6 Replies)
Discussion started by: Vishal123
6 Replies
3. Shell Programming and Scripting
i have a list of files below:
rwxrwxrwx 1 pipe pipe 180 Mar 4 22:47 del_0n_Date
-rwxrwxrwx 1 pipe pipe 472 Mar 4 22:58 mail_Check
-rw-r--r-- 1 pipe pipe 92 Mar 4 22:58 minfo.txt
-rwxrwxrwx 1 pipe pipe 609 Mar 5 05:12... (6 Replies)
Discussion started by: ali560045
6 Replies
4. Shell Programming and Scripting
I am trying to copy 2 types of files so I can archive them. I tested with a set of commands:
touch -t $(date -d "-60 day" +%Y%m%d) WORKDIR/REF
find TARGETDIR/ -type f -maxdepth 1 -iname \*.out\* -or -iname \*.log\* ! -newer WORKDIR/REF -exec ls -l {} \;
This correctly lists any files in the... (2 Replies)
Discussion started by: prismtx
2 Replies
5. Programming
Hello, I want know about building a product on Sun solaris and Redhat Linux.
Product would contain C,C++, Java, UNIX Shell scripts and so on. It will not be a client server programme.
Thanks!
Shafi (5 Replies)
Discussion started by: shafi2all
5 Replies
6. UNIX for Advanced & Expert Users
Can someone please help me out here.
I have SunSolaris server that has a ridiculous about of space on it. several hundred gigabytes of space. There are lots of partitions on this server that has at least 100Gs on them.
I want to mount just one of these partitions on my Linux server so I can... (4 Replies)
Discussion started by: SkySmart
4 Replies
7. Red Hat
how unix users able to change their password even if they have only read permissions and how backend process will be happening can u explain me which are files need to involved in this process (3 Replies)
Discussion started by: ponmuthu
3 Replies
8. Windows & DOS: Issues & Discussions
Hi,
I am trying to connect to a remote server using Plink tool. Both my local and remote machines are Windows. On remote server, I have OpenSSH server installed. I am able to run commands on remote machine but there is some problem with long UNC path, which I noticed today.
For... (3 Replies)
Discussion started by: Technext
3 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I'm having a trouble with the find cmd.
I would like to find all the java versions on my systems.
I have solaris 9 & 10 RHEL and SUSIE.
java -version
doesn't give all the versions on the server.
So I am trying to use the find command to find them all
find / -name java
I would... (7 Replies)
Discussion started by: bitlord
7 Replies
10. Shell Programming and Scripting
Hi,
I am having trouble in sending a mail with html body and attachment (csv file). We don't have uuencode or mutt (not allowed to install as well)
The below code is perfectly working for sending the html body alone:
export MAILTO=abc@xyz.com
export CONTENT="/home/abc/list.html"... (2 Replies)
Discussion started by: close2jay
2 Replies
LEARN ABOUT OPENSOLARIS
ospm-pm
ospm-pm(1) User Commands ospm-pm(1)
NAME
ospm-pm - OpenSolaris Print Manager
SYNOPSIS
ospm-pm [gnome-std-options]
DESCRIPTION
The OpenSolaris Print Manager application enables you to control and manage print queues and print jobs. Currently, it supports on Solaris
LP print system. You can use OpenSolaris Print Manager to perform the following tasks:
o Create printer groups from a static list or based on some attributes of the printers
o View print jobs on each printer, and remove print jobs that are queued
o Add new printer queues manually
o Integrate Print queues which were Auto-detected or auto-discovered into its GUI
The tool can be invoked from the command line, but it is typically invoked from the desktop menu.
OPTIONS
The following options are supported:
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more infor-
mation.
EXAMPLES
Example 1: Launching OpenSolaris Print Manager.
example% ospm-pm
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/ospm-pm
The executable file for OpenSolaris Print Manager application.
$HOME/.ospm-printer-groups.xml
Configuration file for printer groups.
$HOME/.printers
It supports printer(4) when user saves queues into the Favourites printer group.
ATTRIBUTES
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWprint-monitor |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
gconf-editor(1), gconftool-2(1), ospm-preferences(1), libgconf-2(3), printer(4), gnome-std-options(5)
NOTES
Written by Evan Yan, Sun Microsystems Inc., 2008.
SunOS 5.11 07 Aug 2008 ospm-pm(1)