Using sftp With Konqueror

FAIL (the browser should render some flash content, not this).


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

It's in .profile

Mitch Frazier's picture

I added this to my .profile:

read -p "Start screen? " ans
ans=$(echo $ans | tr A-Z a-z)

if [[ "$ans" = y || "$ans" = yes ]]; then
    n=$(echo $(ps xa | grep SCREEN | wc) | cut -f 1 -d ' ')
    if [[ $n -gt 2 ]]; then
        read -p "Grab existing screen session? " ans
        ans=$(echo $ans | tr A-Z a-z)

        if [[ "$ans" = y || "$ans" = yes ]]; then
            screen -D -RR
        screen -D -RR

This starts "screen" if I want and asks if I want to use the existing screen instance if there is one.

Mitch Frazier is an Associate Editor for Linux Journal.

start screen

AprilCoolsDay's picture

How did you do the "Start screen?" thing?

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot