Day: December 15, 2014

Moving a File or Folder

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

You know how it is: as soon as you have everything set up just perfect, you’ll invariably want (or need) to change things. The files you put in the C:\Scripts folder? Turns out they should really be in C:\Test. Or maybe just the .zip files should be in C:\Test. Or maybe – well, you get the idea. Can you use Windows PowerShell to move items from one location or another? Let’s put it this way: if you couldn’t, it would be pretty silly to have a cmdlet named Move-Item. Let’s take a look at a very simple example: moving a […]

getegid (System Call)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

NAME getegid – get the effective group ID SYNOPSIS

DESCRIPTION The getegid() function shall return the effective group ID of the calling process. RETURN VALUE The getegid() function shall always be successful and no return value is reserved to indicate an error. ERRORS No errors are defined.

Packet display rules

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Packet display rules or filters as their name imply, allow you to control which packets are displayed by tshark when performing live network capture or when tshark is reading a capture file. The selection criteria is specified using the -R flag and a display filter expression. This is a simple example :

This example displays only IP packets that are issued by or in destination to the IP address The filter expression can be a logical combination of other filter expressions. Here is a list of various display filters for your reference (do man wireshark-filters for more details […]

shmat (System Call)

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)

NAME shmat – XSI shared memory attach operation SYNOPSIS

DESCRIPTION The shmat() function operates on XSI shared memory (see the Base Definitions volume of IEEE Std 1003.1-2001, Section 3.340, Shared Memory Object). It is unspecified whether this function interoperates with the realtime interprocess communication facilities defined in Realtime. The shmat() function attaches the shared memory segment associated with the shared memory identifier specified by shmid to the address space of the calling process. The segment is attached at the address specified by one of the following criteria: If shmaddr is a null pointer, the segment is attached at the […]