Search found 70 matches

by refra
Thu Feb 27, 2020 4:16 pm
Forum: Programming
Topic: Batch Script to Copy Files
Replies: 0
Views: 9057

Batch Script to Copy Files

I need a script according to the following /local/0102 /local/9966 /local/8845 /reports/0102_Optimization_Report_2020-02-27T150359306Z.xlsx /reports/9966_Optimization_Report_2020-02-27T150359306Z.xlsx /reports/8845_Optimization_Report_2020-02-27T150359306Z.xlsx Now need copy a file based on time sta...
by refra
Thu Dec 26, 2013 3:14 pm
Forum: Administration
Topic: Automated FTP
Replies: 2
Views: 7663

Automated FTP

AOA, I need a help about automated FTP process. scenario is find a latest files according to the time stamp in /home/abc ; /d01/uat ; /demo/seen and upload all the files on ftp server according to date wise. i find a latest file according to ##########################################################...
by refra
Fri Sep 09, 2011 3:45 pm
Forum: Administration
Topic: Traffic Shapping for Virtual Machines
Replies: 0
Views: 5958

Traffic Shapping for Virtual Machines

Dear Allz, In a Linux Base machine if we install many virtual machines then in the presence of NFS how we can completely separate and independent each users data with other user, so that they are not able to detect each others data rate on I/O devices and there should be no effect on NFS performance.
by refra
Tue Aug 16, 2011 12:22 pm
Forum: Administration
Topic: Faillog
Replies: 0
Views: 3108

Faillog

AOA, I want to configure faillog on my FC7 System, so i did a following in /etc/pam.d/system-auth auth required pam_tally.so no_magic_root account required pam_tally.so deny=3 no_magic_root lock_time=180 but it not work means after 3 login attempts account is not lock/disabled. *********************...
by refra
Mon Apr 25, 2011 5:29 pm
Forum: Administration
Topic: Files Removes Issue
Replies: 6
Views: 6735

Thanks, but my directory files are look like: -rw-rw-r-- 1 applprod applprod 31765 Apr 25 16:59 o70356816.out -rw-rw-r-- 1 applprod applprod 31765 Apr 25 17:00 o70357816.out -rw-rw-r-- 1 applprod applprod 0 Apr 25 17:00 o70350820.out -rw-rw-r-- 1 applprod applprod 31765 Apr 25 17:00 o70358818.out -r...
by refra
Mon Apr 25, 2011 10:34 am
Forum: Administration
Topic: Files Removes Issue
Replies: 6
Views: 6735

Dear lambda,


From your command how can i remove the all files for the month of
Jaunary 2011.

I used this command:

ls -ltra | grep "Jan 2011" | awk `{print $9}` > a
rm -f `cat a`

but faced a error like:

"Argument list is too long"
by refra
Fri Apr 22, 2011 11:47 am
Forum: Administration
Topic: Files Removes Issue
Replies: 6
Views: 6735

Files Removes Issue

AOA, I want to delete large # of files from /d01/oracle/PROD/inst/apps/PROD_ebs/logs/appl/conc/out The Size of the path is: 613M /d01/oracle/PROD/inst/apps/PROD_ebs/logs/appl/conc/out Total # of files is: 76301 when i delete the files under /out directory: it gives me error: "Argument list is t...
by refra
Wed Mar 02, 2011 11:08 am
Forum: Administration
Topic: Difference B/w Tar Command
Replies: 4
Views: 4748

Means ?

Please brief
by refra
Tue Mar 01, 2011 1:56 pm
Forum: Administration
Topic: Difference B/w Tar Command
Replies: 4
Views: 4748

Difference B/w Tar Command

AOA,

what is the difference b/w the following commands:

tar -cvp -f /dev/rmt0 /home

OR

tar -cvpf /dev/rmt0 /home
by refra
Tue Jan 25, 2011 4:24 pm
Forum: Administration
Topic: Quota Enable on AD Users to access SAMBA shares
Replies: 0
Views: 2580

Quota Enable on AD Users to access SAMBA shares

AOA,

My linux Box is joined with Windows based AD Domain and working perfectly.


My share path is /shares/DOM/group_a, which is only accessible from
DOMAIN+group_a, now i want to enable QUOTA on "/shares/DOM/group_a" from SAMBA .
by refra
Fri Nov 05, 2010 10:59 am
Forum: Administration
Topic: Error in Partition Monitoring Script!
Replies: 1
Views: 3020

Error in Partition Monitoring Script!

AOA, Here is the File System Monitoring Script: This Script runs through cronjob & monitor a FS usage and raise a mail once if any FS usage is equal or greather than 85%. ############# VARIABLES ####################### EMAIL="sysadmin@company.com" SUBJECT="Disk Utilization Warning...
by refra
Thu Aug 19, 2010 2:00 pm
Forum: Administration
Topic: Account Policy
Replies: 0
Views: 2767

Account Policy

AOA,


I want to deploy account policy on per user basis like account locked out after 5 failed login attempts.
by refra
Fri Jul 02, 2010 3:04 pm
Forum: Administration
Topic: Firewall Issue
Replies: 3
Views: 4473

+ /sbin/iptables -t nat -A POSTROUTING -m mac --mac-source 00:0C:29:0A:CE:08 -j MASQUERADE
iptables: Invalid argument
by refra
Thu Jul 01, 2010 5:36 pm
Forum: Administration
Topic: Firewall Issue
Replies: 3
Views: 4473

Firewall Issue

Dear Allz, I made a Following Firewall script: ####################### ## Defining Variable ## ####################### IPT="/sbin/iptables" FILE="/etc/squid/mac-list" NW="192.168.1.0/24" ################### ## ADMINS ## ################### ADMIN1="10.1.2.211" ...
by refra
Fri Apr 30, 2010 3:25 pm
Forum: Administration
Topic: MTA-Lotus Issue
Replies: 1
Views: 3158

MTA-Lotus Issue

My Linux (Postfix) based server act as an intermediate host in my organization that forward all mails to Lotus Server. I configure a disclaimer according to : How To Automatically Add A Disclaimer To Outgoing Emails With alterMIME (Postfix On Debian Etch) | HowtoForge - Linux Howtos and Tutorials Al...