limitar um professor a visualisar apenas a informação do grupo a que pertence

To do this for all teachers globally:

Site administration > Users > Permissions > Define roles
Select the editing teacher role;
Click to edit the role
Click the Show advanced button
Type in the search box accessallgroups
When it appears, click Prevent

To do this within a course:

Course administration > Users > Permissions
Type accessallgroups into the filter
Click the X to remove from the editing teacher (Teacher) role.

comparar ficheiros binários no linux

How do I compare binary files in Linux

This will print the offset and bytes in hex:

cmp -l file1.bin file2.bin | gawk '{printf "%08X %02X %02X\n", $1, strtonum(0$2), strtonum(0$3)}'

Or do $1-1 to have the first printed offset start at 0.

cmp -l file1.bin file2.bin | gawk '{printf "%08X %02X %02X\n", $1-1, strtonum(0$2), strtonum(0$3)}'

Mostrar MaisMais em Super User

Subscrever