Linux

A Guide to Setting Up ZSH Aliases on Linux and Mac

A Guide to Setting Up ZSH Aliases on Linux and Mac

For those who rely on Linux, the terminal is a powerful ally, aiding in tasks like file system navigation, package updates, and installations. However, lengthy commands can be time-consuming, especially for frequent tasks. This is where the magic of command…

How to connect without password using SSH (passwordless)

How to connect without password using SSH (passwordless)

SSH Secure Shell Protocol is a cryptographic protocol for secure data connection and remote command execution. From the terminal, we create an ssh key pair through issuingand: ssh-keygen Press Enter three times until the command finishes. A public key file “~” and a private…

How to copy data from local to remote server via rsync

How to copy data from local to remote server via rsync

To copy files from one remote location to a local server  using rsync: Flags: -a: Archive, syncs recursively and preserves symbolic links, special and device files, modification times, groups, owners, and permissions. -v: Verbose, prints information about what files are…

Raspberry pi: How to view cron logs

Raspberry pi: How to view cron logs

Cron is a time-based job scheduler in Linux and other Unix-like operating systems. It allows users to schedule jobs or commands to run at specific intervals or times. Raspberry Pi, being a Linux-based system, also uses cron for scheduling tasks.…

Raspberry Pi: How to stop and start cron

Raspberry Pi: How to stop and start cron

I recently had to stop cron jobs until I carry out some operations on the raspberry pi, i found a quick solution by issuing these commands: And to start it again: