MacOS system reset

Bash shell questions
Post Reply
User avatar
Posts: 336
Joined: 2021-Jul-12, 1:37 pm

MacOS system reset

Post by MigrationUser »

24 Jun 2010 10:20
Leo Hartmann

How can I remove commands in the terminal. I have Mac OS 10.4.8 and installed following shell:bash commands to activate Postfix. I am completely new about it.
sudo postfix start

cd /System/Library
sudo mkdir StartupItems
cd StartupItems
sudo mv ~/Desktop/Postfix .
sudo chown -R 0:0 Postfix
sudo chmod +rx Postfix/Postfix
sudo pico /etc/hostconfig

Find the line MAILSERVER=... and change it to MAILSERVER=-YES-.

hopeful to get an answer, Leo


#2 26 Jun 2010 15:45
Simon Sheppard
Leo Hartmann wrote:

How can I remove commands in the terminal.
I'm not sure I understand the question, are you just trying to clear the screen?

if so just type 'clear'


#3 26 Jun 2010 17:24
Leo Hartmann

I want back to the virgin state of my system. Just as if I wouldn't have written any command. I think this commands influenzed my system10.4.8.
Its already one week back and its the first time I used the terminal. I discovered that I don't need to use Postfix in order to test PHP-scripts with MAMP 4.1.1
I hope, I expressed now more clear, greeting from Leo


#4 26 Jun 2010 18:57
Simon Sheppard

By default the /System/Library/StartupItems folder is empty

you can do this without the terminal, from finder choose Go, Go to Folder... from the menu
then enter
from there you can just drag the files into the trash

The only other change would be to edit the /etc/hostconfig file with pico again and reverse whatever changes you made to it.
(or just restore a backup)


#5 27 Jun 2010 04:05
Leo Hartmann

Thank You for Your information and the time You took to write.
Yesterday I used the disk repair utility from my installation disk and I think the problem got solved.
Your advice might be a good tip for the next time or for somebody who has similiar problems. Greetings from Leo!!!!
Post Reply