ShellHacks
Command-Line Tips and Tricks

linux

  • Blog

Create Swap File – Ubuntu Linux

Posted on May 25, 2021May 23, 2021by admin

Swap in Linux is a space on a disk drive (HDD or SSD) that is used when the amount of physical memory (RAM) tends to get full. Swap space is usually created as a dedicated swap partition during the system’s installation but it also can take the form of a swap file. As usually there […]

Read More
No comments yet
  • Blog

Swappiness in Linux (Ubuntu) – How To Change

Posted on May 24, 2021May 24, 2021by admin

If you execute the free -m command you may notice that the operating system can use some swap even if there is still RAM free. This behaviour is controlled by the Linux kernel parameter vm.swappiness and can be changed by setting its value from 0 to 100. The swappiness in Linux is a rate in […]

Read More
1 Comment
  • Blog

Disable Swap Permanently – Ubuntu Linux

Posted on May 23, 2021May 23, 2021by admin

Swap in Linux is a space on a disk drive (HDD or SSD) that is used when the amount of physical memory (RAM) tends to get full. Although it protects Linux system from getting out of memory, in certain cases it is recommended to disable swap. For example swap should be disabled on Kubernetes nodes, […]

Read More
1 Comment
  • Blog

Format USB Drive in Linux – Command Line

Posted on May 5, 2020May 11, 2020by admin

Formatting USB drives in Linux from the command line (terminal) is very easy. In this note i will show how to format an external HDD, SSD or USB flash drive in Linux from the command line using mkfs utility. I will provide the examples of disk formatting to the most popular file system types: FAT32, […]

Read More
No comments yet
  • Blog

JFrog Artifactory: Default Password – Test Credentials

Posted on December 19, 2019by admin

Artifactory comes with a pre-configured default “admin” account. In this short note you will find the default Artifactory credentials and i will show how to test Artifactory login, password and API Key by authenticating on Artifactory’s REST API using curl command from the command line in Linux.

Read More
No comments yet
  • Blog

JFrog Artifactory: Download Artifact using cURL

Posted on December 18, 2019January 16, 2020by admin

JFrog’s Artifactory is a binary repository manager. The artifacts from Artifactory can be downloaded using REST API. In this note i am showing how to download an artifact (simple file.zip) from generic Artifactory repository using curl command from the command line in Linux or from the PowerShell in Windows.

Read More
2 Comments
  • Blog

Disable IPv6 on Linux – Ubuntu, Debian, CentOS

Posted on December 13, 2019December 13, 2019by admin

To disable IPv6 on Linux it is required to modify Linux kernel parameters. IPv6 can be temporary disabled at runtime, using sysctl command or it can be disabled permanently using either sysctl configuration file or the required kernel parameters can be passed at boot time using GRUB configuration. In this note i am showing how […]

Read More
No comments yet

Posts navigation

Newer posts

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive arduino artifactory bash boot cmd command-line curl dns docker encryption git gitlab helm java jenkins kubernetes linux macos mail mongodb mysql network openssl pdf php powershell prometheus python raspberry pi ssh sublime text systemd telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • RSS
Privacy
Copyright © 2011-2022 | www.ShellHacks.com