background preloader

Linux

Facebook Twitter

Linux Screen Tutorial and How To - rackAID. Linux Screen allows you to: Use multiple shell windows from a single SSH session.Keep a shell active even through network disruptions.Disconnect and re-connect to a shell sessions from multiple locations.Run a long running process without maintaining an active shell session. If this sounds like stuff you can use, check our our 2 minute quick-start video below or read on for more details on how to use screen. Screen Tips We use screen daily, so as we keep adding new tips when we find good ones.

Installing Screen with Yum Chances are that you already have screen on your system. If you do not have screen, then you can install it easily from an RPM or the package file for your system. As you probably already have screen or can use an RPM, I am not going to cover the building of screen from source. Starting Linux Screen Screen is started from the command line just like any other command: You are now inside of a window within screen. Control Command Command: “Ctrl-a” For example, “Ctrl-a” then “?”. Bash shell difference in time. Removing non-empty directory. Hi folks, I was trying to remove '/sources/glibc-build' and '/sources/glibc-2.3.4-20040701', both non-empty with following steps without success 1) on LFS after chroot Code: root:/# rmdir -p --ignore-fail-on-non-empty . /sources/glibc-build/ root:/# rmdir -p --ignore-fail-on-non-empty . /sources/glibc-2.3.4-20040701/ root:/# ls -a .

They are still there. 2) Login as 'su -' on FC3 host [satimis@localhost ~]$ su - Password: [root@localhost ~]# rmdir -pv --ignore-fail-on-non-empty /mnt/lfs/sources/glibc-build rmdir: removing directory, /mnt/lfs/sources/glibc-build [root@localhost ~]# ls /mnt/lfs/sources/glibc-build/ still showing them there. Finally starting Konqueror as root on Konsole, I can remove them on Konqueror. Please advise what was the trick behind.

B.R. satimis. The Vim commands cheat sheet. Linux and UNIX halt, poweroff, and reboot command help. Date.

Scripting