Archive:

Month: May 2024


Replacing linux system drive over EFI boot while expanding partitions

By: | Post date: May 24, 2024 | Comments: No Comments

Posted in categories: Computer Tips, Work related

If only to replace a system drive, doing a dd of old drive to new drive will work. However, in most of cases the driving force of replacing drives is that the drive size is not big enough to host increasing size of system files. In this case, only doing dd will screw you up […]

Stop tcsh log in script from interrupting scp

By: | Post date: May 20, 2024 | Comments: No Comments

Posted in categories: Computer Tips, Work related

If you are using tcsh shell, and your login script has screen output like an echo line, scp will be interrupted. To prevent this, knowing that for an interactive ssh session, it will open a tty, but embedded session like scp will not generate a tty. Thus this can be distinguished by checking if the […]