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
Use verified host identity and least privilege. File transfer and remote commands have different purposes and neither replaces a controlled release process.