C - General Programming - Beep function

In this tutorial we will see a simple beep function. Let's take an example of the beep function:

UNIX & GNU/Linux - System calls - Using tgetflag()

The tgetflag() function is a Linux system call function. It is designed to be used with the getenv() and tgetent() functions.

UNIX & GNU/Linux - System calls - Using tgetnum()

The tgetnum() function is a Linux system call function. It is designed to be used with the getenv() and tgetent() functions.

UNIX & GNU/Linux - System calls - Using tgetent()

The tgetent() function is a Linux system call function. It is designed to be used with other termcap functions such as:

UNIX & GNU/Linux - System calls - Using getenv()

The getenv() function is a Linux system call function.

It is designed to know what is the name of an environment variable.

The main use is for the "TERM" variable. Let's see an example of the getenv() function:

Ruby on Rails 3 - Server - Start the (native) Webrick server

To start the native server of Ruby on Rails, WEBrick, you have to open a shell and go until the path of your website and write "rails server" to start it. Example on Windows:

$ C:/rubyOnRails/site1> rails server

Same for GNU/Linux:

MySQL - Commands - Pager

There is a way on GNU/Linux to change the display of the result of the SQL query. Just type:

$ pager less -i -n -S

Now make a command and look this new display!

UNIX & GNU/Linux - System calls - readdir()

The readdir() system call function is used to read into a directory.

UNIX & GNU/Linux - System calls - opendir()

The opendir() system call function is used to open a directory and to return a pointer on this directory.

UNIX & GNU/Linux - tcsh - Builtin commands source

In this tutorial we will see what is the source builtin command.
We will set the prompt of our tcsh as example.

Pages

Subscribe to BadproG.com RSS