💡
Knowledge
  • Home
  • Technology
    • Browser
      • Chrome / Brave
        • Known Issues
    • Messaging
      • Discord
        • Known Issues
      • Microsoft Teams
      • Telegram
    • Office Production
      • Sheets
    • Music Production
    • Operational systems
      • Docker + OSX
      • Raspberry Pi OS
      • Linux
        • Terminal
        • Known Issues
        • Desktop Environment
          • Gnome
            • How to
            • Known Issues
            • Theming
          • Kde Plasma
        • How to
          • Audio
          • Proxy
          • SSH
          • ZSH
      • Windows
    • Programming
      • Code Quality
        • Stress Tests
      • Cascading Style Sheets(CSS)
      • Database
        • Postgres
        • SQLServer
      • Design Patterns
      • DevOps
        • Cloud Platforms
        • Continuous Integration
        • Docker
          • How to
          • IPSEC VPN Server
          • Docker Compose
          • Known issues
          • Proxy
        • Swarm
      • Git
        • How to
        • Known Issues
        • Github
        • Gitlab
          • GitlabCI
          • Gitlab Runner
      • IDE / Text Editor
        • Vim
          • Commands
        • PHPStorm
        • VSCode
      • Programming Languages
        • Typescript
        • Java
          • How to
          • Spring Boot
        • Javascript
          • Known issues
          • Backend
            • NestJS
            • NodeJS
          • Frontend
            • JQuery
            • React
            • Vue
          • How to
          • Package Manager
            • Yarn
          • Packages
          • Vanilla
        • PHP
          • About
          • Cache
          • Composer
          • Docker
          • How to
          • Known Issues
          • Laravel
            • Jet Stream
            • Know Issues
            • Sanctum
            • Sail
            • Valet
          • Tools
            • PHPUnit
          • Wordpress
            • Docker
            • WP CLI
            • Known Issues
            • WooComerce
        • Python
        • Shell Script
      • Server
        • Apache2
          • Known Issues
        • Nginx
          • How To
          • Known issues
      • Tools
        • Visual Studio Code
    • Stream
      • Game
      • Twitch
      • Tests
        • Unit Tests
    • Sites
    • Specs
    • Tools
  • Pessoal
    • About me
Powered by GitBook
On this page
  • Topics
  • Initial Setup
  • Systemd
  • Look to see which processes are taking the most time of the boot process
  • Displays the current services
  • Disable a systemd service
  • Verify services dependencies
  • How to add shared libraries to Linux's system library path (.so)
  • Ubuntu
  • Debian
  • Terminal
  • Copy/paste to clipboard
  • Install `.deb` files
  • Recommended

Was this helpful?

  1. Technology
  2. Operational systems

Linux

PreviousRaspberry Pi OSNextTerminal

Last updated 2 years ago

Was this helpful?

Topics

Initial Setup

sudo apt install git vim dconf-cli uuid-runtime pulseaudio blueman pavucontrol \
  pip3 install --user powerline-status
flatpak update

Systemd

Look to see which processes are taking the most time of the boot process

systemd-analyze blame
systemd-analyze critical-chain

Displays the current services

systemctl

Disable a systemd service

systemctl disable <service>.

Verify services dependencies

systemctl list-dependencies --reverse plymouth-quit-wait.service

Ubuntu

Create a new file in /etc/ld.so.conf.d/ called .conf Edit the file and add a line per directory of shared libraries (*.so files), it will look something like:

/usr/lib/APPLICATION/lib

Reload the list of system-wide library paths:

sudo ldconfig

Debian

Edit /etc/ld.so.conf Add a line per directory of shared libraries (*.so files) to the bottom of the file, it will look something like:

/usr/X11R6/lib
/usr/lib/APPLICATION/lib

Reload the list of system-wide library paths:

ldconfig

If you run your new application it should now work fine without you having to set any LD_LIBRARY_PATH environment variables. If you still have problems you can obtain a list of the libraries that are on the system path by re-running the ldconfig command in verbose mode:

ldconfig -v

Terminal

Copy/paste to clipboard

sudo apt install xclip
  • Create alias to commands inside .bashrc or .zshrc

alias tcopy="xclip -selection c"; 
alias tpaste="xclip -selection clipboard -o"
  • Example

echo -n test | tcopy

Install `.deb` files

sudo apt install gdebi
sudo gdebi deb-file.deb

Recommended

(.so)

Desktop Environment
How to
How to add shared libraries to Linux's system library path
How to create Bootable windows image on Linux