Categories
Linux Useful

Hot to find your Linux Kernel Version

Below are the usual 4 Commands to Find Linux Kernel Version uname uname -r # find Linux kernel version uname -a # for all information related to kernel version, lsb_release lsb_release -r # for the exact version lsb_release -a # for all information related to the Ubuntu version, lsb_release -sr # distribution version number: proc/version cat /proc/version # details about for […]

Categories
Linux Servers Useful

How to Update Linux Kernel to 5.5.0

To upgrade to linux 5.5.0 kernel, you can perform the following steps: 1st) Download the following files to an empty folder (for 64bit & generic kernel): wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500_5.5.0-050500.202001262030_all.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-image-unsigned-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-modules-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb 2nd) execute the command: sudo dpkg -i *.deb 3rd) In the end, after the installation has taken place, all you have […]

Categories
Linux Useful

Automatic REBOOT if needed after apt-get upgrade – Linux

Sometimes after the execution of the apt-get upgrade command is finished, a restart is required, but this is not displayed after the command is completed, but you have to do it manually. To do this, you need to check the existence of the /var/run/reboot-required file and then restart the system if the file exists. To […]

Categories
Linux Useful

Change the extension of multiple files in Linux

1). Using Linux find command Using find command to rename all .oldext files under directory structure with a new extension: .newext find . -type f -name “*.oldext” -exec rename ‘s/\.oldext$/.newext/’ ‘{}’ \; 2). Using Linux find command, but in a different approach for f in `find . -iname ‘*.oldext’ -type f -print`;do mv “$f” ${f%.oldext}.newext; […]

Categories
Linux Useful

du – Get the Size of a Folder in Ubuntu Linux

The linux du command displays the size of file space used by the specified files or folders. If the specified path is a directory (folder), du summarizes disk usage of each subdirectory in that directory. Otherwise, du reports the disk usage of the current working folder. To get the total size of the /srv folder, […]

Categories
Linux Networks Useful

Find Available Network Interfaces On Linux/Ubuntu – 6 Quick Solutions

If you need a solution for quickly finding information about the network interfaces attached to the server or computer, then choose one of the solutions below, any of which is useful for certain technical situations. 1) using lshw , a small tool to extract detailed information on the hardware configuration of the machine: [email protected]:/# sudo […]

Categories
Useful

jQuery On Load and Ready not firing for dynamically loaded content ?

Trying to distribute the resources loaded on a page through a function that loads the JavaScript as dynamic files and not all at once, I ran into a problem: None of the following function calls was useful for dynamic scripts: .on (“load”, handler) .on (“ready”, handler) $ (document) .ready (handler) $ (window) .load (handler) window.onload […]

Categories
Linux Servers Useful

Reload new entry in fstab – fast and easy way – Linux

A fast and easy way to reload new entries in /etc/fstab is to use the linux mount command: @ sudo mount -a or with verbose mode: @ sudo mount -av / : ignored /boot : already mounted /boot/efi : already mounted //srv/TOSHIBA-3T-V300 : already mounted //srv/WD-2T-USB : already mounted //srv/TOSHIBA-3T-ENTERPRISE: already mounted //srv/SAMSUNG-850-PRO : already […]

Categories
Tools Useful

How to listen Youtube only Audio-Mode, without Video !

Youtube only Audio-Mode – For those who want to listen only audio on youtube, without video: Music Mode for YouTube™ (chrome) : https://chrome.google.com/webstore/… Audio Only for YouTube™ (chrome) : https://chrome.google.com/webstore/… Audio Only for YouTube™ by Sevina (firefox) : https://addons.mozilla.org/en-US/firefox… Youtube Audio by Animesh Kundu (firefox) : https://addons.mozilla.org/en-US/firefox… This extensions it is very useful and beneficial when the available bandwidth is too […]

Categories
Security Useful

HTTP Security Headers Which Should be Used by all Webmasters

The most important HTTP Security Headers which should be used by all webmasters: Content-Security-Policy is an effective measure to protect your site from XSS attacks. By whitelisting sources of approved content, you can prevent the browser from loading malicious assets. Directives include upgrade-insecure-requests; , default-src, script-src, style-src, img-src, object-src, plugin-types to specify permitted sources for scripts, CSS stylesheets, and images. A basic […]