07-17-2001
Perhaps you have to log in as the root.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have AIX 5.1
I was wondering how to remove a file name with a space in it Say {tb lsv.csv} ? When I use the {rm} command if you have a space it thinks it is a new file. So it looks for {tb} and {lsv.csv} instead of the name as a whole.
Thanks in advance
Dave
By the way guys and gals the... (5 Replies)
Discussion started by: rocker40
5 Replies
2. Solaris
Hi Everyone , have a nice day
what will be the command to be given in certain directory which removes all those files present in that very directory which were last modified one month ago ?
Regards and Waiting (1 Reply)
Discussion started by: Dastard
1 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
I'd like to remove files which is returned by the following statement
ls -l arch*.dbf|grep "`date|cut -c5-10`" (cut -c5-10 =Mar 20)
To achive this,I tried the following statments but none worked ..
rm < `ls -l arch*.dbf|grep "`date|cut -c5-10`"`
rm `ls -l arch*.dbf|grep... (8 Replies)
Discussion started by: luft
8 Replies
4. UNIX for Advanced & Expert Users
Hi,
It seems someone has created files instead of actually running the commands, as below:
-rw-r--r-- 1 oracle92 dba 0 Mar 2 11:19 PRIML_070302.ok
-rw-r--r-- 1 oracle92 dba 557 Mar 2 11:20 PRIVH_070302.dat
-rw-r--r-- 1 oracle92 dba 0 Mar 12 11:57... (2 Replies)
Discussion started by: LiquidChild
2 Replies
5. Shell Programming and Scripting
Dear all,
I want to remove files older than 2 months in the /home/member directory. But except the configuration files (like .bash_profile .config/ .openoffice/ .local/ .kde/ etc..)
I have tried with the command
find . -mtime +60 -wholename './.*' -prune -o -print -exec mv {} \;
but it... (1 Reply)
Discussion started by: jamcalicut
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
This might seem like a really stupid question but i have created a shell script and at the end of the script i want to remove most of the file i create. So I have:
rm file test sorted
However this does not work for the sorted one. The only way i can get this to work is if i do:
rm... (4 Replies)
Discussion started by: jazz8146
4 Replies
7. Shell Programming and Scripting
i have a directory that have files that contains word "spam", how can i remove all those files which have word spam.
This code help me in searching
find ./ -type f -exec grep -l "spam" {} \;
How i will add removing option with it. If some one have good suggestion regarding searching... (2 Replies)
Discussion started by: learnbash
2 Replies
8. UNIX for Dummies Questions & Answers
How do you delete/remove multiple files ? (5 Replies)
Discussion started by: nosuchluck
5 Replies
9. UNIX for Dummies Questions & Answers
Hi Gurus,
we are planning to clear the old log files based on the year and i need help on this and i searched in google and i came up with the scripts but i am stuck with this.
(1) wroks fine
How many files exist in based on the extension
find -type f | sed -e 's/.*\.//' | sort | uniq... (1 Reply)
Discussion started by: SeenuGuddu
1 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am trying to removing the old files which were older than 10 days and same g zipping the files using the shell script.
script was return as follows.
find /jboss7_homes/JBOSS7/SKYLIV??/SKYLIV??_CRM/jboss-eap-7.0/standalone/log -mtime +10 -type f | xargs rm -f
find /cer_skyliv??/log... (6 Replies)
Discussion started by: venkat918
6 Replies
LEARN ABOUT DEBIAN
ginstall-info
INSTALL-INFO(1) User Commands INSTALL-INFO(1)
NAME
ginstall-info - update info/dir entries
SYNOPSIS
ginstall-info [OPTION]... [INFO-FILE [DIR-FILE]]
DESCRIPTION
Add or remove entries in INFO-FILE from the Info directory DIR-FILE.
OPTIONS
--debug
report what is being done.
--delete
delete existing entries for INFO-FILE from DIR-FILE; don't insert any new entries.
--description=TEXT
the description of the entry is TEXT; used with the --name option to become synonymous with the --entry option.
--dir-file=NAME
specify file name of Info directory file; equivalent to using the DIR-FILE argument.
--dry-run
same as --test.
--entry=TEXT
insert TEXT as an Info directory entry. TEXT is written as an Info menu item line followed
by zero or more extra lines starting with whitespace.
If you specify more than one entry, all are added. If you don't specify any entries, they are determined
from information in the Info file itself.
When removing, TEXT specifies the entry to remove. TEXT is only removed as a last resort, if the entry as determined from the Info
file is not present, and the basename of the Info file isn't found either.
--help display this help and exit.
--info-dir=DIR
same as --dir-file=DIR/dir.
--info-file=FILE
specify Info file to install in the directory; equivalent to using the INFO-FILE argument.
--item=TEXT
same as --entry=TEXT.
--keep-old
do not replace entries, or remove empty sections.
--menuentry=TEXT
same as --name=TEXT.
--name=TEXT
the name of the entry is TEXT; used with --description to become synonymous with the --entry option.
--no-indent
do not format new entries in the DIR file.
--quiet
suppress warnings.
--regex=R
put this file's entries in all sections that match the regular expression R (ignoring case).
--remove
same as --delete.
--remove-exactly
only remove if the info file name matches exactly; suffixes such as .info and .gz are not ignored.
--section=SEC
put entries in section SEC of the directory. If you specify more than one section, all the entries
are added in each of the sections.
If you don't specify any sections, they are determined
from information in the Info file itself.
--section R SEC
equivalent to --regex=R --section=SEC --add-once.
--silent
suppress warnings.
--test suppress updating of DIR-FILE.
--version
display version information and exit.
REPORTING BUGS
Email bug reports to bug-texinfo@gnu.org, general questions and discussion to help-texinfo@gnu.org. Texinfo home page:
http://www.gnu.org/software/texinfo/
COPYRIGHT
Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for ginstall-info is maintained as a Texinfo manual. If the info and ginstall-info programs are properly installed
at your site, the command
info ginstall-info
should give you access to the complete manual.
ginstall-info 4.13 September 2008 INSTALL-INFO(1)