Questions tagged [replace]

52 questions
0
votes
4 answers

Best way to replace this Antec server PSU

The power supply in one of my servers died. After a few checks it seems it didn't provided enough power to the machine's hard-disks. A straightforward solution would be a new PSU but I can't find one like it that has the mains power connector inside…
A-R
  • 11
  • 3
0
votes
0 answers

Replacing 0 kb files on the hard drive

Good day. Situation: we recently created a new file server on Windows Server and copied a lot of files to it, some of which are 0 kb in size; there is a backup server on Windows Server, which stores the same files, but in the original size. What…
0
votes
1 answer

Find and Replace using Regular Expression

I try to find a way to find and replace using EMEditor and a Regular Expression. I try to applu this for the item below:
0
votes
1 answer

How to move a subvolume to a new drive in btrfs?

I am trying to move my /srv, /var/lib/mysql and /home directory to another drive ( a bigger one with RAID1). I did some research on how to go about doing this and I kind of did most of it. However, after all the content is copied over, I am unable…
FlowRaja
  • 101
  • 2
0
votes
1 answer

Replace SAS disk for HP ProLiant 380DL Raid1

I have HP Proliant Server 380DL G9 with 5 SAS disks, (2 disks for raid 1,also 2 disks raid 1 and the last one is raid 0) one of the disks in the 1st raid 1 is flashing orange, so its recommended to replace the flashing disk with new one. How to…
-1
votes
1 answer

sed linux replace complex link

I am having this challenge to pass a link from a variable: InstallLocation=/opt/software/software.properties ReplaceeVar=http://localhost:1234/ab/cd/{company}/{employee}/ sed -i "s/Change_This_Url/"${ReplaceeVar}"/g" "$InstallLocation" Built url…
-2
votes
1 answer

Mass search / replace string from ssh?

I am in the process of selling a network of 60 sites, they all have adsense with the same publisher id (google_ad_client="pub-xxxxxxxxxxxxxxxx") in all the files in the /home/ folder. How can I do a mass search/replace from ssh to change my id to…
jejasmin
  • 11
  • 1
  • 4
1 2 3
4