Getting CentOS initialization script from console?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm encountering a very weird problem. Last year a friend of mine coded a CentOS initialization script to create proxies. It was working perfectly, but a couple of months ago all my hard drives got terribly damaged and I lost all the data. The only place I still have the script on is a server I set up last year (running CentOS of course) which was initialized with that script. I currently have the access to the server via console, is there any way to get back the initialization script?
Thanks!







share|improve this question



















  • If you have access via the network and ssh just use scp?
    – Raman Sailopal
    Apr 19 at 12:00










  • @RamanSailopal yeah but I'm not an expert and I have idea what directory I should look into, can you help me?
    – Beter
    Apr 19 at 14:29











  • So you don't know where the script is on the server?
    – Raman Sailopal
    Apr 19 at 15:04










  • No, that's the whole point. Sorry for not being clear enough.
    – Beter
    Apr 19 at 15:15










  • If you know the name of the file then you can run the command "find / -name <filename>" You would ideally need root permissions for this though.
    – Raman Sailopal
    Apr 19 at 15:17














up vote
0
down vote

favorite












I'm encountering a very weird problem. Last year a friend of mine coded a CentOS initialization script to create proxies. It was working perfectly, but a couple of months ago all my hard drives got terribly damaged and I lost all the data. The only place I still have the script on is a server I set up last year (running CentOS of course) which was initialized with that script. I currently have the access to the server via console, is there any way to get back the initialization script?
Thanks!







share|improve this question



















  • If you have access via the network and ssh just use scp?
    – Raman Sailopal
    Apr 19 at 12:00










  • @RamanSailopal yeah but I'm not an expert and I have idea what directory I should look into, can you help me?
    – Beter
    Apr 19 at 14:29











  • So you don't know where the script is on the server?
    – Raman Sailopal
    Apr 19 at 15:04










  • No, that's the whole point. Sorry for not being clear enough.
    – Beter
    Apr 19 at 15:15










  • If you know the name of the file then you can run the command "find / -name <filename>" You would ideally need root permissions for this though.
    – Raman Sailopal
    Apr 19 at 15:17












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm encountering a very weird problem. Last year a friend of mine coded a CentOS initialization script to create proxies. It was working perfectly, but a couple of months ago all my hard drives got terribly damaged and I lost all the data. The only place I still have the script on is a server I set up last year (running CentOS of course) which was initialized with that script. I currently have the access to the server via console, is there any way to get back the initialization script?
Thanks!







share|improve this question











I'm encountering a very weird problem. Last year a friend of mine coded a CentOS initialization script to create proxies. It was working perfectly, but a couple of months ago all my hard drives got terribly damaged and I lost all the data. The only place I still have the script on is a server I set up last year (running CentOS of course) which was initialized with that script. I currently have the access to the server via console, is there any way to get back the initialization script?
Thanks!









share|improve this question










share|improve this question




share|improve this question









asked Apr 19 at 11:42









Beter

1




1











  • If you have access via the network and ssh just use scp?
    – Raman Sailopal
    Apr 19 at 12:00










  • @RamanSailopal yeah but I'm not an expert and I have idea what directory I should look into, can you help me?
    – Beter
    Apr 19 at 14:29











  • So you don't know where the script is on the server?
    – Raman Sailopal
    Apr 19 at 15:04










  • No, that's the whole point. Sorry for not being clear enough.
    – Beter
    Apr 19 at 15:15










  • If you know the name of the file then you can run the command "find / -name <filename>" You would ideally need root permissions for this though.
    – Raman Sailopal
    Apr 19 at 15:17
















  • If you have access via the network and ssh just use scp?
    – Raman Sailopal
    Apr 19 at 12:00










  • @RamanSailopal yeah but I'm not an expert and I have idea what directory I should look into, can you help me?
    – Beter
    Apr 19 at 14:29











  • So you don't know where the script is on the server?
    – Raman Sailopal
    Apr 19 at 15:04










  • No, that's the whole point. Sorry for not being clear enough.
    – Beter
    Apr 19 at 15:15










  • If you know the name of the file then you can run the command "find / -name <filename>" You would ideally need root permissions for this though.
    – Raman Sailopal
    Apr 19 at 15:17















If you have access via the network and ssh just use scp?
– Raman Sailopal
Apr 19 at 12:00




If you have access via the network and ssh just use scp?
– Raman Sailopal
Apr 19 at 12:00












@RamanSailopal yeah but I'm not an expert and I have idea what directory I should look into, can you help me?
– Beter
Apr 19 at 14:29





@RamanSailopal yeah but I'm not an expert and I have idea what directory I should look into, can you help me?
– Beter
Apr 19 at 14:29













So you don't know where the script is on the server?
– Raman Sailopal
Apr 19 at 15:04




So you don't know where the script is on the server?
– Raman Sailopal
Apr 19 at 15:04












No, that's the whole point. Sorry for not being clear enough.
– Beter
Apr 19 at 15:15




No, that's the whole point. Sorry for not being clear enough.
– Beter
Apr 19 at 15:15












If you know the name of the file then you can run the command "find / -name <filename>" You would ideally need root permissions for this though.
– Raman Sailopal
Apr 19 at 15:17




If you know the name of the file then you can run the command "find / -name <filename>" You would ideally need root permissions for this though.
– Raman Sailopal
Apr 19 at 15:17















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438709%2fgetting-centos-initialization-script-from-console%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438709%2fgetting-centos-initialization-script-from-console%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?