Search Results

Search: Posts Made By: James0806
3,908
Posted By James0806
Spacewalk repodata/repomd.xml [Errno 14] HTTP Error 404 - Not Found
I Configured spacwalk 2.7 and synchronized the channels as the root FS was and the server was unresponsive through gui i deleted the cache in /var/cache/rhn & /var/cache/yum and ran yum clean all on...
4,602
Posted By James0806
#bin/bash -x source1="/home/u02/Oracle" ...
#bin/bash -x
source1="/home/u02/Oracle"
dest1="/home/u02/Oracle/LOG"
chmod 777 $source1/*.tif
chmod 777 $source1/*.txt
/usr/bin/scp $source1/*.tif 192.168.83.7:/mnt/dbfs/
if [ $? -eq 0 ]
...
4,602
Posted By James0806
I can change that but the main thing here is the...
I can change that but the main thing here is the script which i need to work on to make the work done i can ssh server B from from A password less

#!/bin/bash
sourcef="/Somedirectory/*.*"...
795
Posted By James0806
What if host1 and host3 has same password but...
What if host1 and host3 has same password but host2 has different one
4,602
Posted By James0806
Rsync and Move files
I Have a requirement where i have to sync two directories one on source location server A and other on destination location server B
as i do not have ssh access from server A----------->B I am doing...
1,404
Posted By James0806
This looks little lenghty thinking can't this be...
This looks little lenghty thinking can't this be made short using case etc.
1,404
Posted By James0806
Shell Script for re-installation of open office
Below is the script for open office automatic re-installation, there are different versions on different servers the below script will check the version of the
openoffice and will reinstall the...
Forum: UNIX and Linux Applications 02-07-2018
3,409
Posted By James0806
Issue launching Websphere Customization ToolBox
I'm trying to configure IBM customization Tool Box but i'm facing the following issue don't know where i'm going wrong.
CentOS Linux release 7.2.1511 (Core)
3.10.0-327.18.2.el7.x86_64
run-level 3 ...
899
Posted By James0806
I found it now it should be uuid=$(blkid -s...
I found it now

it should be uuid=$(blkid -s UUID -o value /dev/${b}1)

---------- Post updated 10-28-17 at 12:19 AM ---------- Previous update was 10-27-17 at 11:57 PM ----------

Here is the...
899
Posted By James0806
Shell script for partiton and mounting
#!/bin/bash
# scan_add_fstab.sh
for i in /sys/class/scsi_device/*
do
# must be a directory
[ -d "$i" ] && echo "- - -" > "$i/device/rescan"
done
for b in $(lsblk -d | awk '$4=="6G" {print...
8,948
Posted By James0806
grep -q "^[^#]*/dev/$b\>" /etc/fstab && continue ...
grep -q "^[^#]*/dev/$b\>" /etc/fstab && continue
uuid=$(blkid -s UUID -o value /dev/$b)
# jump to next loop cycle if its UUID is present and in fstab
[ -n "$uuid" ] && grep -q "^[^#]*$uuid"...
8,948
Posted By James0806
what is the difference between using ls...
what is the difference between using
ls /sys/class/scsi_device/ | while read i; do echo "- - -" > /sys/class/scsi_device/$i/device/rescan;done

and

for i in /sys/class/scsi_device/*
do
#...
8,948
Posted By James0806
Script to scan the disks and make file system
Hi
What I'm trying to do(manually) is logging into the server
and running the below mentioned commands


ls /sys/class/scsi_device/ | while read i; do echo "- - -" >...
5,346
Posted By James0806
That was really help, and nice explanation
That was really help, and nice explanation
5,346
Posted By James0806
echo $( tr '[:lower:]' '[:upper:]' <<<...
echo $( tr '[:lower:]' '[:upper:]' <<< ${UserName:0:1} )${UserName:1}i'm little concerned about "<<<" redirection and :0:1 :1 over there


Please see moderator's comment in post#1


To keep...
5,346
Posted By James0806
Shell script for creating multiple users with password
for UserName in `cat users` ; do useradd -d /u02 -s /usr/libexec/openssh/sftp-server -G ftp-users $UserName ;
PassWord=$( echo $( tr '[:lower:]' '[:upper:]' <<< ${UserName:0:1} )${UserName:1} ) ; ...
Showing results 1 to 16 of 16

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