/ - rtt - IT Resource

  • systemd management using systemctl and journalctl to check systemd logs

    systemd is like the service manager for your Centos and other modern Linux distributions (including Debian/Mint/Ubuntu) allows you to enable services, stop them, restart them, check their status and even reboot your system. The key commands or arguments you will use with systemctl are the following: Unit Commands:   list-units [PATTERN...]         List loaded units &nbs........
  • What is /dev/pts and why do we need it in Linux?

    A quick check in /dev/pts shows a lot of entries but what are they for?:  ls /dev/pts 0  10  12  14  16  18  2   21  23  25  27  29  30  32  4  6  8  ptmx 1  11  13  15  17  19  20  22  24  26  28  3   31  33  5  7  9 Basically they are pseudo-termi........
  • Linux Mint 18 Screen Goes Dark or Black After Screensaver or even when using the Desktop Solution

    You can search for this bug and it seems like it may be related to ecryptfs and is many years old. The symptoms are that you return to the computer and the screensaver was active or the screen was asleep/black and it doesn't seem to come back.  But you check by SSH the computer is running fine and are frustrated you'll lose your running programs and have to reboot. There is a simple solution: Ctrl + Alt + F1 Ctrl + Alt + F8 Ba........
  • Centos 7 Password Reset

    In Centos 7 the days of editing the "kernel" line and adding "single" are gone.  On top of that sometimes after a new install passwords do not work (possibly because requirements were not met but the installer never mentioned this?). 1.) On bootup edit the bootline by entering GRUB. Type e Find the line that says "linux16 /vmlinuz" Edit the part that says "ro" and change with &q........
  • Linux Mint USB Kernel Tainted and Locked Port/Dev File

    Essentially a program I was running for mining did not terminate properly with Ctrl+C it is listed as defunct and cannot be killed, kernel is tainted and normal tricks to disable the port are impossible the dev and sys entries for the device cannot be browsed or interacted with in any form without a lockup of the request.  The only solution is to reboot due to the kernel taint as far as I can find so far.   [1130246.811056] INFO: task minerd:21861 blocked for more th........
  • Linux Mint/Ubuntu/Debian Window Controls Missing Solution

    If Linux Mint 17 or other has no window buttons/controls you can do the following from terminal: marco --replace& Sometimes it can be fixed if you go to your themes/appearance and choose a new one but in the case like mine where Compiz is installed but not running/working then that fix will not work and will require the marco command above. What if you can't type in a terminal Window? If you close........
  • HP Procurve Switch 2824 CLI Telnet Experience , Guide and Tutorial

    telnet ------------------------------------- ProCurve J4903A Switch 2824 Software revision I.10.77 Copyright (C) 1991-2009 Hewlett-Packard Co.  All Rights Reserved.                            RESTRICTED RIGHTS LEGEND  Use, duplication, or disclosure by the Government is subject........
  • Dell Perc 6/i cannot downgrade

    I flashed an LSI Logic firmware to it and it broke the BIOS (cannot do Ctrl+R) for booting purposes but allows other functionality to work normally. I tried downgrading to a Dell firmware for Perc 6i but it won't work, not even with MegaCli wget http://downloads.dell.com/FOLDER00416606M/1/SAS-RAID_Firmware_W83M2_LN32_6.3.1-0003_A14.BIN --2013-08-26 12:53:39--  http://downloads.dell.com/FOLDER00416606M/1/SAS-RAID_Firmware_W83M2_LN32_6.3.1-0003_A14.BIN Resolvi........
  • LSI MegaRAID Adventures, Guide and HowTo

    LSi Megaraid At first it was configured as a RAID 0, then I deleted the Virtual Disk Group. I thought both drives would be shown and detected in Linux as sda and sdb but it actually shows nothing. To make them work you have to hit Ctrl+R before the system boots (when prompted) and create a Virtual Disk Group.  In my case I created each one as RAID 0 (with a single drive only) as I just wanted JBOD but there is no such option or default in these Dell Pe........
  • rdesktop/Terminal Server Client Send Ctrl+Alt+Delete Howto

    The program itself catches it, just make sure it's actually focused on rdesktop and it sends Ctrl+Alt+Delete to the remote machine and not the local.........
  • Linux Screen How To Scroll Up and Down

    I admit I didn't know you could do this for the longest time and is an annoying feature of screen. In order to scroll up and down just hit "Ctrl+a+Esc" or "Ctrl+a+[" and then you can Pageup, Pagedown and using the arrow keys.........
  • how to exit xen console session from xm

    It sure is annoying when you connect to the console using xm and it locks your shell session. It doesn't really, you just need to know it is "Ctrl + ]" to exit it. Once again to exit an xm console session, press Ctrl + ]........
  • convert carat ^M/M Windows based text files to Linux

    carat M isn't this symbol ^ that you think, it can only be produced by typing "Ctrl-v, Ctrl-m". That you might see in text files saved from Windows. tofrodos is the package that has dos2unix which is basically the same scripts that replace ^M with /n tofrodos is the Debian/Buntu package name which has the dos2unix and unix2dos binaries........
  • telnet force escape/quite with Ctrl + ]

    telnet localhost 80 Trying localhost... Connected to localhost). Escape character is '^]'. ^] telnet> A lot of people don't know that "^" means the Control Key, so many times you can't force quite telnet without knowing that (Ctrl + C won't always work). *Just use Ctrl + ] I hope this saves some time and frustration from some people.........
  • Photoshop Center A Selection

    Photoshop Center A SelectionYou should have the item in it's own layer, select the layer and use CTRL+A to select the layer. Then look for the alignment controls near the top of the screen (under the menus) Use the Horizontal Center and Vertical Center and then your item will be perfectly centered.........
  • Latest Articles

  • 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
  • bash script how to to check LAN computers for open ports
  • MySQL Using mytop Debug Source of High IO and Slow Performance
  • How To Mathematically Convert and Calculate Binary Value To Decimal Value
  • systemd management using systemctl and journalctl to check systemd logs
  • css how to format code in the code tag
  • css br with extra blank line
  • What is /dev/pts and why do we need it in Linux?
  • Linux What is umask (user mask) for file and directory creation permissions and how to calculate umask and change the defaults
  • Linux Permissions and Groups Real Usecase for Group Access
  • Centos 7 python34 how to install the gi library
  • Centos 7 - Convert Minimal to Graphical GUI GNOME or KDE Desktop
  • AMD Set Fan Speed and Other Powerplay Memory/CPU Timings with a Linux script
  • Ethereum Mining Claymore Nanopool Error
  • genisoimage errors with long filenames and deep directory structures
  • Linux Kernel USB Export Errors
  • How to download gajim 0.16.9 XMPP/Jabber client so you can use OMEMO encryption
  • HP DL385 G7 Linux BIOS Update Flash