Search Results

Search: Posts Made By: bobby320
4,125
Posted By cfajohnson
There should be no space after file, and you...
There should be no space after file, and you don't need both $( ... ) and ` ... `.

date=$(date +%Y%m%d)
file=$(find . -name "$date"_*.xml)
mv "$file" renamedfeed_"$date".xml
1,352
Posted By Scrutinizer
Try: sed...
Try:
sed '/^quartz\.job\.manual\.bonus\.schedule=/s/[0-9]\{1,\}/9/3' infile
Forum: Red Hat 09-26-2012
20,389
Posted By admin_xor
You are almost correct. Just you have to do this:...
You are almost correct. Just you have to do this:

mkdir /data/sftphome/username/etc
cp /usr/share/zoneinfo/America/New_York /data/sftphome/username/etc/localtime


This should work fine.
Forum: Red Hat 09-25-2012
20,389
Posted By admin_xor
Well, the timezone information is usually...
Well, the timezone information is usually /etc/localtime. Please check if this is a standalone file in the chroot's etc directory (where sftp gets chrooted to) or a symbolic link to the global...
Forum: Red Hat 09-24-2012
20,389
Posted By admin_xor
Have you checked if the timezone setting for both...
Have you checked if the timezone setting for both the machines are same?

SFTP protocol expects times in UTC, so the server sends in a format which gets misinterpreted by the client, whereas in...
Forum: Red Hat 08-22-2012
2,722
Posted By jaysunn
I believe that you can enable broadcast for...
I believe that you can enable broadcast for heartbeats by changing the following value from multicast to broadcast in /etc/cluster/cluster.conf on all clustered nodes. The CMAN service will need to...
5,353
Posted By pamu
Try this...
kill `service splunk status | awk -F ": |)" '/PID/ {print $(NF-1) }'`
Forum: Red Hat 08-09-2012
1,642
Posted By Corona688
CONFIG_IP_ALIAS has nothing to do with...
CONFIG_IP_ALIAS has nothing to do with /etc/sysctl.conf. They're telling you to recompile your kernel from scratch.
95,373
Posted By complex.invoke
A better way to accomplish this is to invoke the...
A better way to accomplish this is to invoke the script which contains the commands that you want to be executed at the remote server

for ip_addr in $(cat hostname.txt); do
ssh ${ip_addr}...
Forum: Red Hat 03-01-2012
2,135
Posted By admin_xor
Assuming you are using vsftpd as your sftp...
Assuming you are using vsftpd as your sftp server, change the following in your /etc/vsftpd/vsftpd.conf file


chroot_local_user=YES


I should let you know that this works only while "ftp"...
Forum: Red Hat 02-29-2012
13,563
Posted By admin_xor
I'm sorry. I think I posted it wrong previously....
I'm sorry. I think I posted it wrong previously. You need to add the & and ~ after every client definition.
It should be like this:

:fromhost-ip, isequal, "10.99.55.210"...
Forum: Red Hat 02-27-2012
13,563
Posted By admin_xor
Yum will take care of the dependencies. But first...
Yum will take care of the dependencies. But first make sure that you are removing "syslog" from the system. The default settings of rsyslog are suitable in most of the cases.

Here's a short doc...
Forum: Red Hat 02-25-2012
13,563
Posted By admin_xor
Saw that now! :p Using old syslog, I don't...
Saw that now! :p

Using old syslog, I don't think this is even possible. rsyslog has to be installed to achieve this.
Forum: Red Hat 02-24-2012
13,563
Posted By fpmurphy
Since the OP mentioned /etc/syslog.conf in their...
Since the OP mentioned /etc/syslog.conf in their post, I suspect that they are not using the rsyslog package. As far as I recall rsyslog is an optional package on this version of CentOS.
24,086
Posted By ahamed101
Remove "[" and "]" from the if... ...
Remove "[" and "]" from the if...

--ahamed
Forum: Red Hat 12-27-2011
2,155
Posted By mark54g
You can assign the whole disk, but some people...
You can assign the whole disk, but some people suggest you instead create a partition.
Forum: Red Hat 12-27-2011
2,155
Posted By verdepollo
Well, Red Hat strongly suggests not to use whole...
Well, Red Hat strongly suggests not to use whole disks as PVs.

Using whole disks increases the risk of an external application overwriting the data under some rare circumstances.

Here's an...
Forum: Solaris 12-12-2011
7,937
Posted By dude2cool
Try metaclear d3
Try

metaclear d3
Forum: Solaris 12-10-2011
8,241
Posted By DukeNuke2
yes, it is possible: Oracle VM Server for SPARC...
yes, it is possible:
Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool - Oracle VM Server for SPARC 2.1 Administration Guide...
Forum: Solaris 08-30-2011
6,989
Posted By DukeNuke2
the serial port on the server is enabled by...
the serial port on the server is enabled by default. maybe your terminal server settings are wrong or you are using a wrong cable.
2,137
Posted By pbillast
grep -w "lkk0lv23" file
grep -w "lkk0lv23" file
2,686
Posted By Scott
Hi. From your first script, change: ...
Hi.

From your first script, change:

grep -i '$line'

to

grep -i "$line"

(i.e. with double quotes, to allow the shell to expand $line (it won't do that in single quotes)).

In your...
Showing results 1 to 22 of 22

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