Featured

Accessing OneDrive like a local drive on Linux with onedriver

If you’ve ever wished your OneDrive files just appeared in your Linux filesystem, no clunky sync clients, no waiting while 100 GB of data crawl in the background, then meet onedriver . It’s a clever little tool that mounts OneDrive as a native filesystem on Linux, making your cloud files act like local files without actually syncing them all. onedriver mounts your OneDrive account to a directory (for example, ~/OneDrive ) so you can use your files through your file browser or CLI as if they were on your machine.  It does on-demand download : a file is only fetched from OneDrive the moment you try to open it — you don’t have to wait for everything to sync.  Bidirectional behavior: changes on OneDrive show up locally; write operations locally are reflected remotely. (Though “sync” here is more subtle than full-sync clients.)  Works offline for previously opened files. If you lose connectivity, the filesystem becomes read-only until you’re back online.  Installat...

Terminal commands for Windows

Windows System and Disk Repair Commands


When your Windows system or hard drive starts acting up, there are several built-in commands you can use to diagnose and fix problems. Here's a rundown of some essential tools:


sfc /scannow


- Description: Scans and verifies the integrity of all protected system files, replacing corrupted files with a cached copy.

-  Usage: Open Command Prompt as an administrator and type `sfc /scannow`. Press Enter and let the system file checker do its work.


2. DISM /online /cleanup-image /restorehealth


- Description: Checks and repairs Windows system image files.

- Usage: Open Command Prompt as an administrator and type `DISM /online /cleanup-image /restorehealth`. This command is useful when `sfc /scannow` is unable to fix all the issues.


CHKDSK /F


- Description: Checks the hard drive for errors and fixes them if possible.

-  Usage: Open Command Prompt as an administrator and type `CHKDSK /F`. If the drive is in use, you'll be prompted to schedule the check for the next restart.


CHKDSK /R


- Description: Locates bad sectors and recovers readable information.

- Usage: Open Command Prompt as an administrator and type `CHKDSK /R`. This process can take a long time depending on the size of your hard drive and the number of errors found.


CHKDSK /X


- Description: Forces the volume to dismount before scanning if necessary.

- Usage: Open Command Prompt as an administrator and type `CHKDSK /X`. This is useful if the drive is currently in use and cannot be checked.


These commands are powerful tools for maintaining your Windows system's health and ensuring your hard drives are in good condition. Regular use of these commands can help prevent data loss and improve system performance.


Comments