Search Results

Search: Posts Made By: pkiula
Forum: Red Hat 04-30-2012
6,759
Posted By pkiula
Thanks, but two issues: (1) This is a...
Thanks, but two issues:

(1) This is a dedicated server, but it's in US. I am not. So I don't have physical access to the server to run a CD or something.

(2) This is a live production server,...
Forum: Red Hat 04-30-2012
11,656
Posted By pkiula
The path definitely exists. The user is root....
The path definitely exists. The user is root. Anything else?
Forum: Red Hat 04-30-2012
11,656
Posted By pkiula
Deleting using "find -mtime" not working
This command used to work in my old Linux servers to delete old files (older than 2 days, in this case) but it suddenly not working at all--

find /path/to/dir/* -mtime 2 -exec rm {} \;

...
Forum: Red Hat 04-30-2012
6,759
Posted By pkiula
On CentOS, moving space from large free directory to another
Hi. My "/usr" folder is running out of space. My "/home" folder is quite large and has a lot of free space. As follows:


Filesystem Type Size Used Avail Use% Mounted on
...
/dev/sda5 ...
4,480
Posted By pkiula
Thanks Jim. Doesn't work. The "newbigfile" is...
Thanks Jim. Doesn't work. The "newbigfile" is totally blank.


---------- Post updated at 07:58 AM ---------- Previous update was at 07:28 AM ----------

Found it. The first | has to be escaped...
4,480
Posted By pkiula
Remove lines if the first character is "|"
Hi.

I have a huge file (350 million lines).
I need to delete all lines in it that:

1. Begin with a pipe character -- '|'
2. Or have less than 5 pipe characters in the line

Have been...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy