Hey,
I am writing a script to delete log files that are older than one day (I'm going to run it weekly).
hello
i am trying to delete some files and also some directories. However, despite having the required permissions (i m the owner), Permission is being denied. I also tried to delete using find and inode number, but again Permission was denied.
:wall:
I am new to unix so please dumb down your responses.
Thanks in advance
Curiosity
P.S.
I try to delete all symbolic links pointing to Python3.2 with
sudo ls -l .
Hello guys,
I am a beginner in Unix :wall: and was wondering if anyone could help me.
I need a script that prints lines that only has Z-value lower than equals to (<=) 1.0e-02.
[db2inst1][testing ~/sqllib/db2dump] rm db2diag.log
rm: cannot remove `db2diag.log': Permission denied
[db2inst1][testing ~/sqllib/db2dump] id
uid=1002(db2inst1) gid=107(db2iadm1) groups=16(dialout),33(video),107(db2iadm1),108(db2fadm1),1001(eduserver)
[db2inst1][testing ~/sqllib/db2dump] ll
total 1381172
-rw-rw-rw- 1 root db2iadm1 1412931954 Oct 2 10:24 db2diag.log
Currently logged user (db2i
I use this code to delete all files:
File root = new File("root path");
File[] Files = root.listFiles();
if(Files != null) {
int j;
for(j = 0; j < Files.length; j++) {
System.out.println(Files[j].getAbsolutePath());
System.out.println(Files[j].delete());
}
}
It will delete false where Files[j] is a folder.
I want to delete folder and all its sub files.
How can I
Hi,
I have a problem on cPanel/WHM. Filemanager cannot delete files over cPanel Interface.
As I check file permission / owner are correct.
Also I checked via Legacy File Manager and its work well and could delete files and folders, but via Ajax FileManager its not possible to remove file and only Edit , Change Permission , ... are possible.
Thank you
I am trying to edit /etc/my.cnf as root user via ssh and I get following error while trying to save it
I ma making changes to my.cnf as I want to tweak some values in my.cnf to meet Magento requirement like changing key_buffer_size= to higher value (128M).
Hi frnds!
i m installing a software named 'Gamit' by using bash.
bt i recieved the follwoing error:
.. removing any existing Makefiles or archive files from libraries directories
/root/Documents/ISP/Gamit_10.4/com/rmfresh: Permission denied.
..