Quantcast
Channel: User kenorb - Super User
Viewing all articles
Browse latest Browse all 45

Comment by kenorb on How to get the length of a prompt?

$
0
0
The length of a prompt is going to be dynamic, depending on the variables you're using, such as user, directory, host and so on. Please give some specific example. What's your prompt, and what's your expectation. You can check by echo $PS1. Also, what you're trying to do exactly.

Viewing all articles
Browse latest Browse all 45

Trending Articles