Manage and transfer safely
Linux & administration
Compare SSH remote sessions with SFTP file transfers and understand the shared encrypted transport and permission boundaries.
- comparison
SSH vs SFTP
Compare SSH remote command sessions with SFTP file transfers carried over SSH, including their security limits.
Explore the idea - concept
Linux paths: absolute vs relative
An absolute Linux pathname starts at the process root. A relative pathname normally starts at the working directory, unless an API supplies another starting directory.
Explore the idea - concept
Linux file and directory permissions
Linux mode bits select owner, group or other permissions for an operation. Directory execute means search; passing a mode-bit check alone does not prove that real access will succeed.
Explore the idea - concept
Linux processes and PIDs
A Linux process has a PID and lifecycle. A child can exit before its parent collects the status; under ordinary retained-status rules, that unreaped child is a zombie.
Explore the idea - concept
systemd services and service states
systemd manages service lifecycles. Automatic restart depends on unit configuration, why the process stopped and applicable limits; a failed service is not guaranteed to restart.
Explore the idea - procedure
Read systemd service logs with journalctl
Use journalctl with a confirmed service unit, boot, time window, and priority threshold to narrow the journal records you read without restarting or reconfiguring the service. Missing output does not prove that an event never happened.
Explore the idea - concept
SSH public-key authentication
SSH public-key authentication proves control of a private key matching a key authorized for the account. That user-authentication proof does not replace separate verification of the server.
Explore the idea - troubleshooting
Disk space vs inode exhaustion
A Linux filesystem can run out of inodes while still reporting free data-block space. Those resources are counted separately, so free bytes alone do not establish that new files can be created.
Explore the idea - concept
Linux signals and graceful process shutdown
SIGTERM can be handled to allow an orderly shutdown. SIGKILL cannot be caught, blocked or ignored; neither signal choice proves that work was saved or termination completed.
Explore the idea - concept
Linux load average explained
Linux load average describes an averaged count of runnable tasks and tasks in some uninterruptible waits. It is not a CPU-utilization percentage, and it cannot by itself distinguish CPU demand from waiting elsewhere.
Explore the idea - procedure
Linux packages, dependencies and safe updates
Package dependencies can broaden a proposed update. Review the whole transaction against authorized scope and a recovery plan; a newer package version alone does not make the update safe.
Explore the idea - concept
Linux page cache versus durable writeback
Linux can accept a buffered write before it reaches durable storage. At power loss, the difference between bytes accepted and bytes covered by a successful sync is an uncertainty, not a count of bytes lost.
Explore the idea - concept
Linux namespaces and isolation boundaries
Mount, PID, user, and network namespaces each isolate a different resource view. Compare two processes to see why a separate PID view says nothing by itself about networking, privileges, or resource limits.
Explore the idea - concept
seccomp filtering: allow, deny and log decisions
A seccomp filter can block a system call, but allowing it does not grant access to a file or other resource. A logging action is neither a denial nor proof that the operation succeeded.
Explore the idea - concept
eBPF verifier versus live observability
The eBPF verifier checks how a program can execute. A load result, an attachment at the intended point, and a count of observed events each answer a different question.
Explore the idea - concept
io_uring submission and completion queues
An io_uring completion identifies the request that finished, not necessarily the first one submitted. For an ordinary single-shot read, match its terminal result to its buffer before reuse.
Explore the idea - comparison
ext4 journal modes and crash windows
Compare the same ext4 crash point in ordered, writeback and journal modes. What does a metadata commit tell you about the file data, and what still depends on a successful sync?
Explore the idea - comparison
Copy-on-write snapshots, reflinks and backups
Snapshots and reflinks can preserve an earlier version by sharing data blocks. Even after every block has diverged, two versions on one device are not an independent backup.
Explore the idea - troubleshooting
Linux OOM selection and cgroup boundaries
A Linux workload can hit its cgroup memory limit while the host still has RAM. The OOM boundary tells you which processes could be selected; it does not tell you which one was killed.
Explore the idea - concept
Epoll edge- versus level-triggered readiness
A partial read can leave bytes waiting in either epoll mode. Level-triggered readiness can be reported again while those bytes remain; edge-triggered readers cannot count on a fresh edge just because they stopped early.
Explore the idea - concept
TCP SYN backlog versus accept queue
On Linux, incomplete TCP handshakes and completed connections waiting for accept are different queues. A full accept queue tells you how many are waiting, not whether a connection failed.
Explore the idea
Use verified host identity and least privilege. File transfer and remote commands have different purposes and neither replaces a controlled release process.