07-11-2007
A few reasons off hand I can think of these two:
1. It is faster.
2. It carries across hidden files ( dotfiles )
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
I have a very simple question to ask :
How can I locate the files created the last "n" days?
(the find command has 3 options : -atime, -ctime, -mtime, but none of these returns the newlly created files ... am I wrong?)
Thank you. (3 Replies)
Discussion started by: ck-18
3 Replies
2. Shell Programming and Scripting
Hi,
I am using the following command.
nawk '$1==p{$2=sprintf("%09d",$2+1)};1' p=$JOB_NUM q=$LEN $VALUE_TABLE > ./TEMP_TABLE
As you can see the code above, I basically read a value from the table VALUE_TABLE and select a particular row based on searching the value JOB_NUM. Now Actually the... (2 Replies)
Discussion started by: Tux_Raju
2 Replies
3. Shell Programming and Scripting
Hi ,
I need your help to know the exact operation of this following code ..
cat file1 | ux2dos | tr -d ''>>file2
file1 contains only one line : "DTS-PO\SPECTRUM WO 56"
the data contains a META CHAR "\" .. look at the above line.
But , The file2 output contains :... (7 Replies)
Discussion started by: vparunkumar
7 Replies
4. Shell Programming and Scripting
Hi All,
can you please help me to get clarified about the 'write' command.
I have a script that sends a content of a file msg.txt to other user 'User B' using 'write' command.
Script:
------
.....
cat msg.txt | write "user B"
.....
Issue: I face a issue here, this scripts sends... (3 Replies)
Discussion started by: little_wonder
3 Replies
5. UNIX for Dummies Questions & Answers
I know the topic of getting yesterday's date has been covered ad nauseum, but I just want to be clear on something.
I recently started using the command
date --date='1 days ago' '+%m/%d/%y'
to get yesterday's date and it's been working great. I just want to be certain that it is going to... (1 Reply)
Discussion started by: DeCoTwc
1 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I have a file cleanlogs_imgp01_files which has the contents as follows,
cold_log|/opt/elf/cold_spool
get_orion_log|/opt/elf/logs
get_coldFiles_log|/opt/elf/logs
get_coldFiles_TuesToSat_log|/opt/elf/logs
get_coldFiles_MonToSat_log|/opt/elf/logs
And when i execute this, I get the... (1 Reply)
Discussion started by: DevM
1 Replies
7. HP-UX
Hi,
I want to use the "SU" command in script it is asking me to enter the password manually.
pleas the say the syntax of su command in single line that includes username/password. :) (3 Replies)
Discussion started by: vigneshwaran007
3 Replies
8. Shell Programming and Scripting
Hi,
I am checking below command to see the status of windows service from unix but due to "!" sign it is not accepting password. Please suggest alternative what should i do resolve the issue.
net rpc service status W32Time -I 10.1.1.1 -U "mydomain\admin%Passwod12!"
One more thing... (1 Reply)
Discussion started by: learnbash
1 Replies
9. Shell Programming and Scripting
Hi,
I'm a newbie to shell programming and have just written a small program to transfer files.
# job variables
RunMode=$1
export DATETIME=`date +%Y%m%d%H%M%S`
export STARTTIME=`date +%Y%m%d%H%M`
export ShellDir=/rosetlt/scripts/ksh
export LogDir=/rosetlt/scripts/log
export... (2 Replies)
Discussion started by: narayanv
2 Replies
GAC(1) User Commands GAC(1)
NAME
GAC - The GAP Compiler
SYNOPSIS
gac [-c|-d] [-o <output>] {-f<option>} <input>...
DESCRIPTION
GAC compiles the input files. Input files must be GAP source code (suffix '.g' or '.gap'), C source code (suffix '.c'), or compiled
code files (suffix '.o').
If neither -c nor -d is given, then 'gac' produces
a new kernel, which contains the compiled code for all the input files.
-c Compiles the input files to statically loadable object files, which must be linked together to a new kernel.
-d Compiles the input files to dynamically loadable object files, which can be loaded by a kernel at runtime.
-C Only compiles the input files to C code, which will require compilation and linking to be usable.
-r Statically compiled files will be assumed to be given by pathnames relative to the GAP root, and will be compiled for automatic
loading when files are sought relative to the GAP root.
-o <output>
Name the output file <output>.
-ffast-int-arith
Emit code for arithmetic operations, which works faster if both operands are small integers and slower otherwise.
-ffast-plain-lists
Emit code for list access, which works faster if the list is a plain list and slower otherwise.
-ffast-list-funcs
Inline the functions 'Add' and 'Length' the code, which makes it a bit faster.
-fno-check-types
Emit no error checks for list access, which makes it faster but may dump core if an error happens.
-p <option>
Pass the option <option> to the C compiler.
-P <option>
Pass the option <option> to the C linker.
SEE ALSO
gap(1)
You can read the complete manual in /usr/share/gap/doc or you can use the online help system. Type ?help inside GAP to access it.
AUTHORS
The GAP Group <http://www.gap-system.org>
COPYRIGHT
Copyright (1987--2006) by the GAP Group,
GAP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
The GAP team March 2003 GAC(1)