Skip to content

Latest commit

 

History

History
93 lines (59 loc) · 2.69 KB

GNU-Linux.org

File metadata and controls

93 lines (59 loc) · 2.69 KB

Useful linux commands

General commands

these are a list of useful linux commands and apps for me

  • turn Arc-them font color to dark grey
    sudo find /usr/share/themes/Arc -name "*" -type f -exec sed -i 's/'5C616C'/'212121'/gI' {}  \;
        
  • Add Power Line to terminal
    if [ -f `which powerline-daemon` ]; then
     powerline-daemon -q
     POWERLINE_BASH_CONTINUATION=1
     POWERLINE_BASH_SELECT=1
     . /usr/share/powerline/bindings/bash/powerline.sh
    fi
        
  • Get System Log Logs are stored at /var/log you can get for example boot log by reading the following file:
    sudo cat /var/log/boot.log
        
  • use multiple versions of nodejs
  • use multiple versions of python
  • enhance terminal thanks to code slicer

    source

  • stop git from asking username and token
    git config credential.helper store
        
  • remove git credentials
    git config --system --unset credential.helper
        

shortcuts

  • ESC + 0 = F10

wordpress

  • php upload file size problem

    solution to the following error in wordpress

    PHP The uploaded file exceeds the upload_max_filesize directive in php.ini

    solution

    ftp upload problem

    solution