Skip to content

Instantly share code, notes, and snippets.

@finsberg
Created August 11, 2022 08:03
Show Gist options
  • Select an option

  • Save finsberg/ca9c4e5f8fbe7d1d16d17474026a51bf to your computer and use it in GitHub Desktop.

Select an option

Save finsberg/ca9c4e5f8fbe7d1d16d17474026a51bf to your computer and use it in GitHub Desktop.
Commands for listing students and info about students in 1910

Commands for listing info about students and the course

First log in to an ifi machine, i.e

ssh [email protected]

Here you can list the teachers using the command

lsng gin1910

To list the students you can do

lsng sin1910

To list students in group X you can do

lsng gin1910-X

where X is 1, 2, etc.

To get more info about the students you need to log into bofh. To do this exeute the command

bofh

This will ask for your UiO password. To get info about the course, execute the command

group info name:uio.no:fs:kurs:185:in1910:1:høst:2022:1:student

The only thing that is changing from year to year is the year which at the time of writing is 2022. I have no idea where 185 is coming from. To get info about the all students (i.e their full names togther with the username) you can execute the command

group list name:uio.no:fs:kurs:185:in1910:1:høst:2022:1:student
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment