Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I dont know whats wrong with my Terminal that i see like this:
see that it appears -bash-3.2$, instead of:
Apologize my english, im from Argentina
You will need to override the PS1 variable to change the prompt.
Set your PS1 to "Macbook:~ \u$" like this-
PS1="Macbook:~ \u$"
If you want your host name to be printed instead of "Macbook" use \H.
This link will give you more info.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How can I copy a file with Arabic characters in the name via the command prompt?
I tried this:
copy C:\توزيع العمل.doc D:\توزيع العمل.doc
It didn't work. What I can do to solve this problem? Thank you.
Wrap file path to quotes. Like this "C:\توزيع العمل.doc".
So final command will look like.
copy "C:\توزيع العمل.doc" "D:\توزيع العمل.doc"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
couldn't find the answer on google so will give it a try here. How do I copy paste commands from webpages into Putty? Thanks a lot.
You do Ctrl+c on the webpage and use your mouse's middle button on put or use shift +insert.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
This is a really silly question but I can't figure it out... how on earth do I type the OR sign on a MAC?? Swedish keyboard layout.
Found a post suggesting Alt+Shift+L but that doesn't work (maybe because my keyboard is swedish?).
Found another post suggesting Alt+Shift+i but that doesn't work either.
Try alt + 7, that's work on mine :
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Good morning folks,
I'd like to edit default attributes of some shell commands.
e.g. if I enter "ls", the shell should then interprete "ls -lth".
Could anyone please help me?
Thanks !
Sonsoles
An alias is the solution:
alias ls='ls -lth'
You have to store it in your ~/.bashrc to make it work every time you log in.
In case you some day want to use the default ls, you can invoke the default behaviour typing \ls.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Sorry for the silly question...
How do I clear my terminal screen? Cause ctrl+U just doesn't seem to work. Or do I need to assign this command somewhere?
Thanks
Try CTRL+L. In alternative, you can run clear command.