<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://www.hep.lu.se/staff/paganelli/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.hep.lu.se/staff/paganelli/feed.php">
        <title>pfwiki it_tips</title>
        <description></description>
        <link>https://www.hep.lu.se/staff/paganelli/</link>
        <image rdf:resource="https://www.hep.lu.se/staff/paganelli/lib/tpl/pfdokuwiki/images/favicon.ico" />
       <dc:date>2026-04-14T21:11:51+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:luvpn?rev=1727438590&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:screen?rev=1395918533&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:shelltricks?rev=1549475532&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:ssh?rev=1696861657&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:storcliqr?rev=1591965990&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:swraidqr?rev=1592860607&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:xwindowswithmswindows?rev=1597942503&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.hep.lu.se/staff/paganelli/lib/tpl/pfdokuwiki/images/favicon.ico">
        <title>pfwiki</title>
        <link>https://www.hep.lu.se/staff/paganelli/</link>
        <url>https://www.hep.lu.se/staff/paganelli/lib/tpl/pfdokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:luvpn?rev=1727438590&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-27T12:03:10+00:00</dc:date>
        <title>it_tips:luvpn</title>
        <link>https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:luvpn?rev=1727438590&amp;do=diff</link>
        <description>Connecting to the LU VPN

:!: 20200508 These instructions have been updated. LU changed the way to connect to the VPN. I am investigating whether encryption is enforced. :!:

The Lund University VPN is a system to secure connect from outside the LU network to
services and machines inside the LU network. It should be used when travelling or when 
connecting from non secure places.</description>
    </item>
    <item rdf:about="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:screen?rev=1395918533&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-27T11:08:53+00:00</dc:date>
        <title>it_tips:screen</title>
        <link>https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:screen?rev=1395918533&amp;do=diff</link>
        <description>Screen

Screen is the best sysadmin and cluster user companion. It does a magical thing: if you disconnect abruptly from a server, it will keep everything running as is you've never disconnected. Think of it as an open window to your work on a remote machine, to which only you can have access.</description>
    </item>
    <item rdf:about="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:shelltricks?rev=1549475532&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-02-06T17:52:12+00:00</dc:date>
        <title>it_tips:shelltricks</title>
        <link>https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:shelltricks?rev=1549475532&amp;do=diff</link>
        <description>Various useful shell tricks

How do I switch to a different group I belong to?

In unix inspired operating systems one can see whose groups they belong to by using the id command:


[pflorido@pptest-iridium ~]$ id
uid=6312(pflorido) gid=34000(clusterusers) groups=34000(clusterusers),6300(hep),6500(npusers),46300(ppguests) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[pflorido@pptest-iridium ~]$ touch testgrp
[pflorido@pptest-iridium ~]$ ls -l testgrp 
-rw-r-----. 1 pflorido clus…</description>
    </item>
    <item rdf:about="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:ssh?rev=1696861657&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-10-09T14:27:37+00:00</dc:date>
        <title>it_tips:ssh</title>
        <link>https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:ssh?rev=1696861657&amp;do=diff</link>
        <description>Better SSH experience

This page contains some suggestions on how to improve your SSH experience.

The ssh config file

You user own configuration file is located in your home folder at the path
~/.ssh/config

In some cases this file does not exist, you can create it for example by issuing</description>
    </item>
    <item rdf:about="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:storcliqr?rev=1591965990&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-06-12T12:46:30+00:00</dc:date>
        <title>it_tips:storcliqr</title>
        <link>https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:storcliqr?rev=1591965990&amp;do=diff</link>
        <description>MegaRAID storCLI quick reference

binary usually located in /opt/MegaRAID/storcli/storcli64

Useful commands

Find controller id

storcli show all

List all controller info

/c0 stands for controller with id 0

storcli /c0 show all

List all volumes info</description>
    </item>
    <item rdf:about="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:swraidqr?rev=1592860607&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-06-22T21:16:47+00:00</dc:date>
        <title>it_tips:swraidqr</title>
        <link>https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:swraidqr?rev=1592860607&amp;do=diff</link>
        <description>Linux Software RAID Quick Reference

title

code

Enumerate RAIDs

mdadm -E /dev/sd[a-c][0-3]

Check RAID activity

cat /proc/mdstats

Detail RAID device

mdamd --detail /dev/md125

grep for State

create mdadm.conf

mdadm --detail --scan --verbose &gt;&gt; /etc/mdadm.conf</description>
    </item>
    <item rdf:about="https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:xwindowswithmswindows?rev=1597942503&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-08-20T16:55:03+00:00</dc:date>
        <title>it_tips:xwindowswithmswindows</title>
        <link>https://www.hep.lu.se/staff/paganelli/doku.php/it_tips:xwindowswithmswindows?rev=1597942503&amp;do=diff</link>
        <description>X Windows and Microsoft Windows

X Windows, or X.Org, is the graphical system widely used by GNU/Linux and UNIX Operating Systems.

Usually Linux machines and Apple OSX have a native system that would allow a client to remotely login and execute X.Org programs on her own machine.</description>
    </item>
</rdf:RDF>
