02-26-2013
You say you don't have access to root, but when you installed this software it was able to create a new user-ID (username-www). To remove files owned by username-www, you'll need to su to username-www or to some other account (like root) that has the privileges needed to remove files owned by someone else. (Note that depending on directory permissions, it may be enough to be in a group that has write/delete permissions for the directory or directories containing the files to be removed.)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to print to file , a listing of all files below a certain directory.
Example: I need to print to file a listing of all files below the etc dir (including the subdirectories) with their full path. Any ideas on how to do this with one command. Or is this something I need to do on all... (4 Replies)
Discussion started by: gforty
4 Replies
2. UNIX for Dummies Questions & Answers
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 rm somefile.htm
when is typed ls i noticed that... (2 Replies)
Discussion started by: shdwsclan
2 Replies
3. Filesystems, Disks and Memory
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)
Discussion started by: yogeshdimble
1 Replies
4. Shell Programming and Scripting
I have a directory which is /home/mark/files/ , inside this particular I have a bunch of filles (see examples below)
TST_SHU_00014460_20090302.txt
TST_SHU_00016047_20090302.txt
TST_SHU_00007838_20090303.txt
TST_SHU_00056485_20090303.txt
TST_SHU_00014460_20090303.txt... (2 Replies)
Discussion started by: fierusbentus
2 Replies
5. Shell Programming and Scripting
Hey all.. This should be simple but stoopid here can't get head around it! I have many directories, say 100 each with many files inside. I need a script to traverse through the dirs, find most recent file in each dir and add it to a tar file.
I can find the files with something like
for... (1 Reply)
Discussion started by: bobdung
1 Replies
6. Shell Programming and Scripting
Hi everybody.
I need a command to print the absolute path of files which name starts always with a pattern (MOD03), independently on where they are in the filesystem.
I have tryedls -ld ${INPUTPREFIX}/*/*/* | grep MOD03 | awk '{ print $8 }'but I have to use "/*/*/*" in this case to have the... (5 Replies)
Discussion started by: canduc17
5 Replies
7. Shell Programming and Scripting
Hi,
I have a script to retrieve data files from server and store them in a directory on local disk. The script runs everyday as cron job. But now those files are too many so my boss wants me to put the files into different directories base on dates.
Those files look like this:
... (4 Replies)
Discussion started by: leafei
4 Replies
8. Shell Programming and Scripting
Hi,
I'm writing some start of day checks for my work. I want to check some dirs for files that have been created longer than 10 mins ago and not been transfered. I've already used a find command to write a list of files that meet this criteria to a log called sod.log
i.e. ... (1 Reply)
Discussion started by: elcounto
1 Replies
9. Shell Programming and Scripting
I am trying to find a way to move files into corresponding date files.
i=0
while read line
do
array="$line"
(( i++ ))
done < <(ls)
cd $(echo ${array})
echo ${array}}
pwd
#cd "$(array}"
] || mkdir 2015
cd "2015"
] || mkdir 02-February
] || mkdir 03-March
] || mkdir... (10 Replies)
Discussion started by: newbie2010
10 Replies
10. Shell Programming and Scripting
Hello,
I need to replace xml version='1.1' with xml version='1.0' in all xml files under /app/jenkins/ in all dir and sub dirs in my CentOS VM, I tried below command but it didn't help, looks like I'm missing a character somewhere.
grep -rl "xml version='1.1'" . | xargs sed -i 's/"xml... (2 Replies)
Discussion started by: mahesh Madpathi
2 Replies
LEARN ABOUT REDHAT
updatedb
UPDATEDB(1L) UPDATEDB(1L)
NAME
updatedb - update the slocate database
SYNOPSIS
updatedb [-u] [-u path] [-e path1,path2,...] [-f fstype1,...] [-l [01] ] [-q] [-v,--verbose] [-V, --version] [-h, --help] pattern...
DESCRIPTION
This manual page documents slocate, a security-enhanced version of locate. updatedb is simply a link to slocate that implies the -u
option.
OPTIONS
-u Create slocate database starting at the root directory. This is the default behavior when called as updatedb.
-U path
Create slocate database starting at path path.
-e dirs
Exclude directories in the comma-separated list dirs from the slocate database.
-f fstypes
Exclude file systems in the comma-separated list dirs from the slocate database.
-l <num>
Security level. -l 0 turns security checks off, which will make searches faster. -l 1 turns security checks on. This is the
default.
-q Quiet mode; error messages are suppressed.
-v Verbose mode; display files indexed when creating database
--help Print a summary of the options to slocate and exit.
--version
Print the version number of slocate and exit.
ENVIRONMENT
SEE ALSO
locate(1L),
UPDATEDB(1L)