Is there a utility or command I can use to tell the number of decimal places a number has. For instance, if the number is 432, it will give hundred as the number of decimal places. (7 Replies)
Good Day
I mistakely renamed the dld.sl file in the /usr/lib directory. When i try to ls/ftp into the box i get this error :eek:
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002
I have tried to rename it back from the renamed file to the original file name, but it gives me the... (2 Replies)
Hii All,
I am using openldap v2.3 on redhat El-4. When i run ldapsearch it returns all the entries. The command runs successfully. But when I run the ldapsearch with following filter option it doesnt work and immediately returns to the shell.
ldapsearch uidNumber>=2000
I've started slapd... (0 Replies)
Hi all. Could anyone explain me why this simple cron job doesnt work:
% whoami
system
% crontab -l
* * * * * /usr/bin/touch /home/system/foo (3 Replies)
It just does the break...even though the files are not the same...
# Compare extracts
#==========================================
count=0
while (( count < 5 ))
do
(( count+=1 ))
echo "Try $count"
file1=$(ls -l /tmp/psjava.xml|... (5 Replies)
this is my file I have written.
// My first C++ program
#include <iostream>
int main()
{
std::cout << "Hi there!" << std::endl";
std::cout << "This is my first C++ program" << std::endl";
return(0);
}
This is the error I get, why?
$ g++ first.cpp
ksh: g++: not found (1 Reply)
Hi Guys,
I have a strange problem.( AIX 6.1) "vi" is not working at all..Whenever i #vi <anythin> ,, it returns the prompt back. Any clues folks?? (14 Replies)
I am trying to print out two fields in a file using awk. So, I have got
awk -F '\t' 'NF = 2 {print $1 $2 "]"}' two.txt
in a script called what.awk
When i run this version like this - ./what.awk then it runs however I want to run the program like this
awk -f what.awk two.txt.
When I... (8 Replies)
Hello,
I really appreciate any help on this.
Have to connect to external server via sftp. Our server is Linux machine
Linux our.server.com 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I generated the keys, put them in /root/.ssh, sent... (3 Replies)
Discussion started by: billy5
3 Replies
LEARN ABOUT OPENSOLARIS
volcopy
volcopy(1M) System Administration Commands volcopy(1M)NAME
volcopy - make an image copy of file system
SYNOPSIS
volcopy [-F FSType] [-V] [generic_options]
[-o FSType-specific_options] operands
DESCRIPTION
volcopy makes a literal copy of the file system. This command may not be supported for all FSTypes.
OPTIONS
The following options are supported:
-F FSType Specify the FSType on which to operate. The FSType should either be specified here or be determinable from
/etc/vfstab by matching the operands with an entry in the table. Otherwise, the default file system type
specified in /etc/default/fs will be used.
-V Echo the complete command line, but do not execute the command. The command line is generated by using the
options and arguments provided by the user and adding to them information derived from /etc/vfstab. This
option should be used to verify and validate the command line.
generic_options Options that are commonly supported by most FSType-specific command modules. The following options are
available:
-a Require the operator to respond "yes" or "no" instead of simply waiting ten seconds before the copy is
made.
-s (Default) Invoke the DEL if wrong verification sequence.
-o FSType-specific_options Specify FSType-specific options in a comma separated (without spaces) list of suboptions and keyword-
attribute pairs for interpretation by the FSType-specific module of the command.
OPERANDS
The following operands are supported:
operands generally include the device and volume names and are file system specific. A detailed description of the operands can be found
on the FSType-specific man pages of volcopy.
EXIT STATUS
The following exit values are returned:
0 Successful file system copy
1 An error has occurred.
FILES
/etc/vfstab list of default parameters for each file system
/etc/default/fs default local file system type. Default values can be set for the following flags in /etc/default/fs. For example:
LOCAL=ufs.
LOCAL: The default partition for a command if no FSType is specified.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO labelit(1M), vfstab(4), attributes(5) Manual pages for the FSType-specific modules of volcopy.
SunOS 5.11 20 Mar 1995 volcopy(1M)