unix

File System shows 100% occupied but du tells different and still has Unused Spaces.

We have faced an issue as below mentioned – found /oracle mount-point showing 100% as Used. But getting different size values for folders under /oracle mount-point, when we executed du -gs . bash-4.4# df -gFilesystem GB blocks Free %Used Iused %Iused Mounted on/dev/hd4 4.00 1.39 66% 20686 6% //dev/hd2 4.00 1.02 75% 45679 16% /usr/dev/hd9var …

File System shows 100% occupied but du tells different and still has Unused Spaces. Read More »

How to configure Proxy Settings for the Unix / Linux Console

You can use the following methods to configure your console to use a proxy server so that console based programs like wget could get connect to the internet through the proxy. 1 – Set the environment variable # export http_proxy=http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/ # export ftp_proxy=http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/ In the above configuration you can ommit the DOMAIN\USERNAME:PASSWORD@ part if you …

How to configure Proxy Settings for the Unix / Linux Console Read More »

How to Unzip Multiple Files from Linux / Unix single Command Line

  bash-3.2# ls *.zip 118666-47.zip  120830-06.zip  138852-01.zip  142394-01.zip  147217-02.zip 118777-16.zip  120849-04.zip  139520-02.zip  142933-05.zip  148027-03.zip 119081-25.zip  124204-04.zip  142240-01.zip  143506-06.zip 119963-24.zip  126425-01.zip  142251-02.zip  146470-08.zip bash-3.2# bash-3.2# Problem : bash-3.2# unzip *.zip Archive:  118666-47.zip caution: filename not matched:  118777-16.zip caution: filename not matched:  119081-25.zip caution: filename not matched:  119963-24.zip caution: filename not matched:  120830-06.zip caution: filename not matched:  …

How to Unzip Multiple Files from Linux / Unix single Command Line Read More »

Delete Files Older Than x Days on Linux / Unix

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them. Command Syntax find /path/to/files* -mtime …

Delete Files Older Than x Days on Linux / Unix Read More »

Tuning the Unix Operating System and Platform

This chapter discusses tuning the operating system (OS) for optimum performance. It discusses the following topics: Server Scaling Solaris 10 Platform-Specific Tuning Information Tuning for the Solaris OS Tuning for Solaris on x86 Tuning for Linux platforms Tuning UltraSPARC CMT-Based Systems Server Scaling This section provides recommendations for optimal performance scaling server for the following …

Tuning the Unix Operating System and Platform Read More »

Unix Disabling Daemons / services from inetd.conf

Tune your system more by disabling all unwanted and unused daemons from running on the system. This can be done by  editing the /etc/inetd.conf file and the rc files or directories. Modify the /etc/inetd.conf file and disable unnecessary daemons running on the system. # vi /etc/inetd.conf # # Configuration file for inetd(1M). See inetd.conf(4). # …

Unix Disabling Daemons / services from inetd.conf Read More »

Unix Disabling Daemons / services from inetd.conf

Tune your system more by disabling all unwanted and unused daemons from running on the system. This can be done by  editing the /etc/inetd.conf file and the rc files or directories. Modify the /etc/inetd.conf file and disable unnecessary daemons running on the system. # vi /etc/inetd.conf # # Configuration file for inetd(1M). See inetd.conf(4). # …

Unix Disabling Daemons / services from inetd.conf Read More »

Scroll to Top