•  ru
ShellHacks
Command-Line Tips and Tricks

Blog

  • Blog

Screen: Scroll Up – Scrollback Buffer [SOLVED]

Posted on Monday October 19th, 2020by admin

While using the screen command, you may notice that you can’t scroll up inside a screen session neither using the scroll bar or mouse wheel nor using the PageUp▲ or arrow up (↑) keys. The scroll up seems to be not working because the screen command has its own scrollback buffer with the special key […]

Read More
No comments yet
  • Blog

Linux `screen` Command – Run in Background

Posted on Sunday October 18th, 2020Monday October 19th, 2020by admin

The Linux screen command is extremely useful for the cases when you need to start a long-running process on a remote machine. Even if your connection drops and the SSH session is terminated, with the screen command you can be sure that the process will keep running in the background and the “lost” terminal session […]

Read More
No comments yet
  • Blog

Systemctl: List Services

Posted on Sunday October 11th, 2020by admin

Most Linux distributions use systemd as a system and service manager. The systemctl is the main command in systemd, used to control services. In this tutorial i will show how to list all, enabled and running systemd services using the systemctl command.

Read More
No comments yet
  • Blog

Raspberry Pi: Docker – Install Docker on Raspberry Pi

Posted on Friday October 9th, 2020by admin

To build and run Docker containers on Raspberry Pi it is required to install Docker itself. To install the latest version of Docker on Raspberry Pi and to be able to upgrade it easily in future – it is recommended to install Docker from the official repository. In this guide i will show how to […]

Read More
No comments yet
  • Blog

AWS CLI: S3 Versioning – List|Get Objects

Posted on Friday October 2nd, 2020Tuesday October 6th, 2020by admin

Amazon S3 has a built-in versioning solution (can be enabled in the bucket’s properties tab), that helps to track all the changes that me make to the files hosted in an S3 bucket. In this note i will show how to list all the versions of an object (file) stored in an S3 bucket and […]

Read More
No comments yet
  • Blog

AWS CLI: SSL Validation Failed – [SOLVED]

Posted on Tuesday September 29th, 2020by admin

Once you run some command in the AWS CLI, for example aws s3 ls, you may get the error as follows: SSL validation failed for <endpoint_url> [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed To workaround the issue you can add the –no-verify-ssl option to the AWS CLI: $ aws s3 ls –no-verify-ssl But this is not secure […]

Read More
No comments yet
  • Blog

AWS CLI: Install AWS CLI – Ubuntu Linux

Posted on Sunday September 27th, 2020by admin

The AWS CLI is a tool for managing the AWS services from the command-line. The easiest way to install the AWS CLI on Ubuntu is to get it from the official repository but the version you will get will be much older than the latest one. In this note i will show how to install […]

Read More
No comments yet
  • Blog

AWS CLI: S3 `ls` – List Buckets & Objects (Contents)

Posted on Thursday September 24th, 2020Thursday September 24th, 2020by admin

Amazon Simple Storage Service (S3) stores data as objects within resources called buckets. Each Amazon S3 object consist of a key (file name), data and metadata that describes this object. Amazon S3 lets you store and retrieve data via API over HTTPS using the AWS command-line interface (CLI). In this note i will show how […]

Read More
No comments yet
  • Blog

Raspberry Pi: Samba File Server Setup

Posted on Sunday September 20th, 2020by admin

A Samba file server enables file sharing across different operating systems over a network. It lets you access your files on a Raspberry Pi and share them with Windows, Linux and macOS clients. In this note i will show how to turn your Raspberry Pi into a file server by installing Samba and creating a […]

Read More
No comments yet
  • Blog

MongoDB: Show Collection Data – Mongo Shell

Posted on Monday September 14th, 2020by admin

MongoDB stores data records as documents which are gathered together in collections. Databases in MongoDB hold one or more collections of documents. In this short note i will show how to show collection data in MongoDB from the command-line using the mongo shell.

Read More
No comments yet

Posts navigation

Older posts
Newer posts

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive artifactory aws bash boot cmd command-line curl dns docker encryption git java jenkins kubernetes linux mail mongodb mysql network nmap openssl oracle password pdf performance powershell prometheus proxy python rabbitmq raspberry pi redis ssh systemd telnet text-processing tor tsm windows yum
  • Twitter
  • RSS
Privacy
Copyright © 2011-2020 | www.ShellHacks.com