linux

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 »

How to Upgrade IBM Power server firmware fixes through AIX or Linux without an HMC

Installing server firmware fixes through the operating system is a disruptive process. You will need to restart the system. Notes: If your system is managed by an HMC, you must apply server firmware through the HMC. For details, see Managed system updates in Updates. If you have a System i® model running IBM® i, you …

How to Upgrade IBM Power server firmware fixes through AIX or Linux without an HMC 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 »

How to mount remote windows partition / windows share under Linux ?

NAME mount.cifs – mount using the Common Internet File System (CIFS) SYNOPSIS mount.cifs {service} {mount-point} [-ooptions] DESCRIPTION This tool is part of the samba(7) suite. mount.cifs  mounts  a Linux CIFS filesystem. It is usually invoked indirectly by the mount(8) command when using the “-t cifs” option. This command only works in Linux, and the kernel …

How to mount remote windows partition / windows share under Linux ? Read More »

Linux Install & configure Squid in three easy steps

Squid configuration so that it will act as a transparent proxy   Iptables configuration Configure system as router Forward all http requests to 3128 (DNAT) Run scripts and start squid service First, Squid server installed (use up2date squid) and configured by adding following directives to file: # vi /etc/squid/squid.conf Modify or add following squid directives: …

Linux Install & configure Squid in three easy steps Read More »

Scroll to Top