Archives
-
How to delete/purge large log files in Solaris/Linux without restarting service
In Windows we cannot delete log files which are still being used by a service, for example Oracle related services (though there are many third-party tools which can do but we are talking in general). In Solaris/Linux, we can rename the files but sometimes you will see that the new log entries are coming into […]
Dec 4th, 2012 | Filed under Applications Performance Tuning, Linux/Unix/Solaris, Oracle, Oracle Applications issues, Shell scripting, Unix administration -
Unix/Solaris Terminal too wide
On older Solaris or other Unix systems we quite often see following error while opening log files etc in vi or view terminal root> vi abc Terminal too wide : This is because the terminal is not wide enough to display more characters in one line. Solution: Execute following command on shell prompt. This will […]
-
Unix delete or rename a file starting with hyphen or junk character
Many a times we face a problem wherein mistakenly some files get created in a directory which are hard to rename or remove especially when working with putty terminal, by mistake if you paste come content on command prompt then it will create junk files with hyphen, tilde or any junk character in beginning. For […]
Recent Comments