Getting CentOS initialization script from console?
Clash 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!
centos scripting
 |Â
show 1 more comment
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!
centos scripting
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
 |Â
show 1 more comment
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!
centos scripting
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!
centos scripting
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
 |Â
show 1 more comment
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
 |Â
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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