Showing posts with label OS. Show all posts
Showing posts with label OS. Show all posts

How to Create Logoff (Sign Out) Shortcut in Windows

You can create a shortcut file which when opened, instantly logs out or sign out the current user account from Microsoft Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. To make a Log out shortcut on desktop, follow the given instructions.


  1. Right click on desktop.
  2. Select New -> Shortcut
  3. Type shutdown /l  in the textbox
  4. Click Next button
  5. Give a name for the shortcut, like 'logoff', 'logout', 'signout' etc.
  6. Now Click Finish.
  7. No you will get a shortcut file on desktop
If you open this shortcut file, you will be logged out from your Windows computer. Remember, it is not shutting down. Just logging out. But, you will lose your unsaved works. In another post, we will see how to make shutdown, restart and hibernate shortcuts in windows.


Using System calls in C Program to rename a Directory in Linux

C Program to rename a directory in Unix or Linux operating systems using system call rename().

#include<stdio.h>
main()
{

How to Create process and display Process ID (pid) of Both Parent and Child

This program shows how to create process and display Process ID (pid) of Both Parent and Child processes. The process is created using the fork system call in UNIX (Linux) operating systems.

#include<stdio.h>
#include<dirent.h>
main(int argc,char **argv)
{

How to use fork and exec System Call

Using fork and exec System calls in Linux (UNIX) operating systems. Fork system call is used to create a child process from a parent process.
#include<stdio.h>
main()
{

How to use exit() System call

C program to show how to use exit system call. The function exit() is used to exit from a process (or to terminate a process). This works both in Linux or UNIX and Windows operating systems.

#include<stdio.h>
main()
{

How to Hard Reset Samsung Galaxy Note 2 (N7100)

Samsung Galaxy Note II N7100  note 2 hard reset touch android tab how to hard reset complete full total restore default factory settings root android Samsung smart touch phone video tutorial
Samsung Galaxy Note II N7100
This post is to show you how to hard reset Samsung Galaxy Note II. Samsung Galaxy Note 2 a.k.a N7100 can be easily hard reset  using a 3 button combination. You have to press and hold 3 buttons together for a while after switching off the phone. The steps are as follows:

  • Switch off the phone first. (If your phone is problem is not turning on, you can try only this method of reseting)
  • Wait for some seconds (~30s).
  • Now press and hold the following buttons together : Home button, power button and volume up button.
  • Keep these three buttons pressed together until you see the Samsung logo.
  • You will be led to the menu.
  • You can use volume up or down buttons to highlight an option and power button to select that option.