Why the simplest Shell-Script isn't working?

خرید بک لینک

Hello guys from a noob!

I have ubuntu 14.04.

I want to hide the path at Terminal and for that reason I typed the export PS1='> ' command which I found online with positive result.

I thought to make it to a shell-script in order to not type it every time I open the terminal. So I created a .sh file and wrote the following code inside:

#!/bin/sh
export PS1='> '

When I am running it, typing bash ./hidepath.sh, it has no effect. What I am missing here?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 127 تاريخ: دوشنبه 23 فروردين 1395 ساعت: 1:17

صفحه بندی