I am using unix via telnet ssh and i have a problem
I was testing the server.
I made a directory.
Transfered a file from an ftp to it.
Opened the file with the vi text editor
--This where my problem came.....
I tried deleting the file using
when is typed
i noticed that there is a copy of the file (if this is even a file)left in there and i am not able to delete it.
The file is prefixed and suffixed with a number sign.......like this
I am unable to delete it and am redirected to the help file for rm
When I typed
I got an error message
I tried deleting the directory and it said that it was not empty.....
Does anyone know what this is and how to delete this file????
Hi,
In a shell script I am makin use of 3 files f1,f2 and f3.txt.
When the Unix server is restarted I want to delete all these 3
files if they are existing.
( I suppose I will have to use this command
rm /thefilepath/f*
but dont know in which script to use.)
Anyone knows what can be... (6 Replies)
Hi there guys. I'm quite new in using unix and just recently experienced missing file problem. Someone accidentally or likely intentionally deleted one specific folders that contains important file. Now my question is, can any other user aside from root can do such action? Please help. ... (2 Replies)
OS: Solaris 8
I deleted a large file (around 13 Gigs) from my system.
But the output of df -k remains the same. The
capacity % is constant. However one strange thing
is happening- My available space is decreasing, my used
space in increasing (The opposite should happen).
This is happening... (2 Replies)
I got help in another forum but now I need further help so I figured I'd ask here. I had to write a script to delete certain filenames of certain size. I got this far..
find . -size 110c -name "*testing*" -print | xargs -n 1 rm -i
It finds the correct files, but the prompts to delete are all... (2 Replies)
How do I write a C program that will watch a directory for file creation/deletion? Maybe it would receive a signal when someone creates a file?
thanks,
Siegfried (5 Replies)
I have unix sco server. I have created one application for client server communication. On this I have creted some fifos/pipes.
The reader.123 fifo is used by one process for reading and writing. I haven't deleted that fifo. But ls or find command doesn't show it. It is giving error as file or... (1 Reply)
I looked into the sticky bit, but I think, if possible, that I would prefer to have the file recreate itself after deletion. The file is several directories deep, and from time to time the top level directory will be trashed. I need the file to recreate after this. Is it possible to perhaps... (13 Replies)
Hi Everyone,
There are certain files under a folder 'ABC' and the entries for these files are there in another file(fname) under a different folder 'XYZ'. I want to compare the folder contents(ABC) with
the file(fname) contents and delete the mismatching / non-existing ones from the file,... (4 Replies)
I have 63,000 files in a directory
I want to move all the 20100219 day files to /target directory
I used
$mv *20100219* /target
too many arguments
Then i used
$find . -name "*.txt"|grep "20100221"|xargs -I '{}' mv {} /target
It will take more than 3 hours to move all the files
... (4 Replies)
Hi,
The other day i installed a PHP based CMS (modx) on my shell account and noticed that i couldn't delete any of files/dirs it created after.
Also, i noticed that all that stuff is owned by username-www instead of username.
I tried chown, chmod and using a PHP script to do the same wti... (4 Replies)
Discussion started by: pentago
4 Replies
LEARN ABOUT CENTOS
reporter-upload
REPORTER-UPLOAD(1) LIBREPORT MANUAL REPORTER-UPLOAD(1)NAME
reporter-upload - Uploads compressed tarball of problem directory.
SYNOPSIS
reporter-upload [-c CONFFILE]... [-d DIR] [-u URL]
DESCRIPTION
The tool is used to create a compressed tarball of the problem directory and upload it to a URL. Supported protocols include FTP, FTPS,
HTTP, HTTPS, SCP, SFTP, TFTP and FILE.
Configuration file
Configuration file contains entries in a format "Option = Value".
The options are:
URL
The URL where tarball should be uploaded.
Integration with ABRT events
reporter-upload can be used as a reporter, to allow users to upload compressed tarballs of problem directories to a configured URL. This
usage can be configured in /etc/libreport/report_event.conf:
EVENT=report_Upload reporter-upload
It can be also used on the post-create event to upload it automatically.
EVENT=post-create reporter-upload
OPTIONS -d DIR
Path to problem directory.
-c CONFFILE
Path to configuration file. When used in ABRT event system, the file contains site-wide configuration. Users can change the values via
environment variables.
-u URL
The URL where tarball should be uploaded. URL should have form protocol://[user[:pass]@]host/dir/[file.tar.gz] where protocol can be
http(s), ftp, scp, or file. File protocol can't have user and host parts: file.tar.gz[1]. If URL ends with a slash, the archive name
will be generated and appended to URL; otherwise, URL will be used as full file name.
ENVIRONMENT VARIABLES
Environment variables take precedence over values provided in the configuration file.
Upload_URL
The URL where should be the tarball uploaded.
AUTHORS
o ABRT team
NOTES
1. file.tar.gz
file:///dir/
LIBREPORT 2.1.11 06/18/2014 REPORTER-UPLOAD(1)