Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to always use "screen" in any terminal.

i've added into my ~/.profile a new line: "screen",

just like it said here: http://www.serverwatch.com/tutorials/article.php/3908651/Make-GNU-Screen-Your-Default-Shell.htm

but it just didn't have any effect on any new session.

i'm using backtrack 5 r3, and logging locally as root.

share|improve this question

migrated from serverfault.com Mar 24 '13 at 21:18

This question came from our site for system and network administrators.

    
please read this: apple.stackexchange.com/questions/55756/… hope it help –  Jawad Al Shaikh Mar 24 '13 at 9:43
    
1) Did you add screen or something like /usr/local/bin/screen? 2) if you did not use the full path to the screen binary, where do you set the path? (Before or after you try to start screen?). 3) Are you sure .profile is being used? (Add something like echo "Yup, it is being used!" to your .profile. –  Hennes Mar 24 '13 at 15:29

1 Answer 1

Try to add it to ~/.bashrc

vi ~/.bashrc

My ~/.bashrc (Add screen under the existing text).

alias l='ls -al'
alias sshvps='ssh john@vps.johnlokerse.nl'
screen

Source ~./bashrc by using source ~/.bashrc or open another terminal session.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.