Accessing Remote File Systems in Linux

Linux can access remote file systems in several ways. The right method depends on whether you need temporary file copy, interactive browsing, or a mounted network location. Copy files over SSH For one-off file copies, scp or rsync over SSH is usually simpler than mounting a remote filesystem. Mount with SSHFS Unmount it when finished: … Read more

Linux Routing Basics with ip route

Linux routing decides which gateway and interface should be used to reach another network. Older systems often used the route command; on current Linux systems, ip route is the preferred tool. View the routing table ip route A typical default route might look like default via 10.0.0.1 dev eth0. Add a temporary route sudo ip … Read more

scp — Secure Remote File Copy

scp copies files between local and remote systems over SSH. Copy a local file to a remote server Copy a remote file to the local machine Copy a directory recursively For newer workflows, rsync is often better for large folders or repeated transfers, but scp is still useful for quick secure copies.

ssh — OpenSSH SSH Client

ssh is the standard command-line tool for logging in to a remote Linux or Unix system securely. Basic login Replace user with the remote username and example.com with the server name or IP address. Use a different port Run a remote command This is useful for quick checks without opening a full interactive shell.

Can’t Mount Root Filesystem in Linux

A “cannot mount root filesystem” or “can’t mount root fs” error usually means the kernel cannot access the root partition during boot. This can happen because of an incorrect root device, missing storage driver, filesystem issue, or bootloader configuration problem. Things to check first Was the disk or partition layout changed recently? Was the kernel … Read more