• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Archives for February 2019

MacOS Custom Launchpad

February 28, 2019

Are the icons too big in MacOS Launchpad? You can customize them. Here are the commands.

# change the launchpad icon size by changing the columns and rows
defaults write com.apple.dock springboard-columns -int 10
defaults write com.apple.dock springboard-rows -int 10
killall Dock
# reset the launchpd
defaults write com.apple.dock ResetLaunchPad -bool TRUE
killall Dock
# reset to defaults
defaults delete com.apple.dock springboard-columns 
defaults delete com.apple.dock springboard-rows
killall Dock

# change the launchpad icon size by changing the columns and rows defaults write com.apple.dock springboard-columns -int 10 defaults write com.apple.dock springboard-rows -int 10 killall Dock # reset the launchpd defaults write com.apple.dock ResetLaunchPad -bool TRUE killall Dock # reset to defaults defaults delete com.apple.dock springboard-columns defaults delete com.apple.dock springboard-rows killall Dock

Filed Under: Mac Tagged With: custom, icon, lauchpad, size

Styling The Bash Prompt

February 26, 2019

Great article how to style your Bash prompt. Make sure you are using Bash shell, because you could be using another shell. Use this to display your current shell. Just type “bash” to start using Bash shell.

echo $0
bash

echo $0 bash

I use the prompt style below. See the result underneath PS1. You may have to exit and re-enter your Terminal to see results.

PS1="\u@\h:\w: "
ulysses@localhost:/var/www:

PS1="\u@\h:\w: " ulysses@localhost:/var/www:

Filed Under: Linux Tagged With: bash, prompt, style

AWS CLI EFS Describe Tags

February 24, 2019

How to display tags of EFS file system.

aws efs describe-tags \
--file-system-id fs-xxxxxxxx \
--query 'Tags[?Key==`tagname`].{Name:Key,Value:Value}'

aws efs describe-tags \ --file-system-id fs-xxxxxxxx \ --query 'Tags[?Key==`tagname`].{Name:Key,Value:Value}'

Filed Under: Linux Tagged With: aws, cli, efs, tags

AWS CLI EFS Describe File Systems

February 24, 2019

Show a list of EFS file systems within a region.

aws efs describe-file-systems \
--region us-east-1

aws efs describe-file-systems \ --region us-east-1

Filter by Name and FileSystemId.

 aws efs describe-file-systems \
--query 'FileSystems[*].[Name,FileSystemId]'

aws efs describe-file-systems \ --query 'FileSystems[*].[Name,FileSystemId]'

Filed Under: Linux Tagged With: aws, cli, describe, efs

Reiserfsck Rebuild Tree

February 24, 2019

Rebuild tree with Reiserfsck

reiserfsck --rebuild-tree /dev/sda1

reiserfsck --rebuild-tree /dev/sda1

Filed Under: Linux Tagged With: fsck, rebuild tree, reiserfs

RPM Check Packages

February 20, 2019

How to check RPM if packages are installed.

rpm -qa --last 
rpm -qa --last | more
rpm -qa --last | grep "package name"

rpm -qa --last rpm -qa --last | more rpm -qa --last | grep "package name"

Filed Under: Linux Tagged With: check, rpm

Remmina Install

February 19, 2019

Remmina is the RDP (remote desktop software) for Windows server on Linux. Here’s how to install.

sudo add-apt-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install remmina remmina-plugin-* libfreerdp-plugins-standard

sudo add-apt-repository ppa:remmina-ppa-team/remmina-next sudo apt-get update sudo apt-get install remmina remmina-plugin-* libfreerdp-plugins-standard

If you don’t see the RDP option, kill the process and restart Remmina.

Filed Under: Linux, Misc Tagged With: linux, mint, ppa, rdp, remmina, ubuntu, windows

Yum Remove Repo

February 19, 2019

How to remove repos in Yum. Just delete the repo file in /etc/yum.repos.d.

rm /etc/yum.repos.d/repo-name.repo

rm /etc/yum.repos.d/repo-name.repo

Filed Under: Linux Tagged With: redhat, remove, repo, yum

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »
  • Home
  • About
  • Archives

Copyright © 2023