• Debian/Ubuntu/Mint Linux How To Set VLAN in /etc/network/interfaces

    You can find many ways to specify the VLANin your network configuration but Ifind this is the simplest and quickest. In this case we are talking about a bridged adapter "vmbr0" but it works even if you just had a normal non-bridged interface. The key here is that in vmbr0 you'll notice there is no IP address. We just specify "manual". Below it is a similar stanza for "vmbr0.58" in this case 58 represents the VLAN (change........
  • Centos/Linux Bash Script Warning when exiting/logging out of bash/shell/terminal for scripts running in the background

    This is mainly the case on Centos but applies to other distros and situations. If you are running programs in the background with the &, at least in Centos it is usually not honored and if you quit or are disconnected the backgrounded programs will be sent sighup and be shut down. The simplest way around this instead of using & is to start any programs or commands with "nohup" Eg. nohup yourscript.sh........
  • How to scp transfer a file in Linux with spaces

    Say you have a path like this "/some/path/here with spaces/". If you try to transfer it you will get a message along the lines of: scp -rp"/some/path/here space/" . scp: /some/path/here: No such file or directory scp: space: No such file or directory You can escape each space but what a pain that is especially if you have multiple spaces in the path. The simplest way is to use the follow........
  • bash how to read a single line or filenames with spaces solution

    This happens all the time, you are reading from a textfile which has spaces eg: datainfo 00 datainfo 11 If you do loop on it like this: for info in `cat $file`; do echo "info=$info" done It will treat datainfo and 00 as two separate lines: info=datainfo info=00 Obviously that's not what we want and there are many weird solutions in bash bu........
  • convert PDF to JPG howto in Linux

    Use imagemagick: convert -density 200 file.pdf file.jpg Increase the "density" value to get a higher resolution/larger file an decrease it to go smaller. This is really the quickest and simplest way.........
  • OpenOffice Calc SUM function not working Solution - Result is always 0/apostrophe appears in front of all numbers.

    I right clicked all applicable cells and chose "number" but that's enough. I notice when I click the cell there is an invisible ' in front of the number: '33.64 Calc imported my CSV and decided to add a ' in front of the numeric currency values!!!*Actually the problem occurs when you right click the cells and change the type from text to number, no matter what format you choose. If I change it to be currency i........
  • Latest Articles

  • Linux named / bind how to dump, view and clear the cache!
  • Centos 6 / 7 / 8 How To Change Default nameservers in /etc/resolv.conf when using DHCP / dhclient
  • Adobe Acrobat Reader for Linux to use and view XFA Fillable Forms
  • Debian Linux Mint Ubuntu iptables save and restore settings automatically onboot and reboot
  • Why SMART is not smart at all and doesn't properly predict disk errors that cause a kernel panic or crash
  • scp: ambiguous target error and solution
  • VirtualBox How To Add iSCSI Storage using VBoxManage
  • iSCSI on Centos 7 Configuration and Setup Guide for Initiator and Target
  • Python and BeautifulSoup4's BS4's Decompose Method To Remove Unwanted Inner Tags
  • httpd AH00534: httpd: Configuration error: No MPM loaded. solution
  • bash script to remove modules from httpd.conf that are not actually installed
  • bash scripting how to create a function
  • Centos 7 PHP MySQL Not Working Solution
  • Bash How To Cut or Split Natively And Get The LAST Field
  • Bash Script How To Manipulate Text/Strings By Searchig and Replacing Natively
  • How Does Cisco CUCM (Cisco Unified Communication Manager) Work?
  • What DNS Options Does Active Directory Offer in Windows Server 2008,2012,2016 ?
  • syntax error, unexpected T_SL in PHP Solution
  • grep regular expression match number range between specific numbers
  • bash how to print out lines of text within a range from the first occurrence