vi , the ultimate power (part 1)

Many of us saw vi as the first editor in any GNU/Linux system. But you should know about its power, or else you will miss something in life. This small tutorial will explain you , how to use vi for daily editing stuffs :)

To open any file give the command in shell:

$vi filename
Now after opening the file, you will be in command mode, to edit anything , you can press 'i' , and press Escape to come back to the command mode. To save the file goo command mode and type
:w
and press enter , to do a save & exit you can type
:wq or :x 

Meeting at #dgplug

There is a meeting tonight around 8.15 PM , in #dgplug channel. All dgplug members are requested to join it.
Agenda:
* Dr. B. C. Roy Engineering College Website
* Bijra status report
* Other issues

Get Blue using Fedora !!!

As most phone today comes with bluetooth.So is this tutorial for using bluetooth in fedora.( this also works for other distros as well ).....

Install Bluez by downloading : -- * bluez-libs-3.14.tar.gz .. * bluez-utils-3.14.tar.gz .. * bluez-firmware-1.2.tar.gz .. * bluez-hcidump-1.40.tar.gz .. * bluez-gnome-0.13.tar.gz ... From www.bluez.org

Install them by unpacking them using gunzip

# gunzip package name.tar.gz 

Now un tar them by using the command

Cyberoam from linux/Fedora 7

In order to have cyberoam connection working from linux ,out of the many possible ways ( like using linc , cyberoam client--- though none of them succeded for me),another way is there which is pretty safe and simple.

Open system-config-network .

screen

Today's Command is "screen":


What will it do:

Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).

How to use it:

Screen is one of the most frequently used commands while working on remote systems. Since the comfort of having multiple tabs in gnome-terminal or konsole is not possible while accessing a box through SSH, the window management and multiplexing ability of screen is a big relief.

find

Today's Command is "find":


What will it do:

This command finds files matching a test expression under a particular directory and sub-directories under it.

less

Today's Command is "less":


What will it do:

This is a pager, ie. a program used to view the contents of a file or the output produced by a different program one page at a time.

How to use it:

Similar to 'cat' you can use 'less' to view the contents of file. However if the file's contents was more than what could fit in one screen, 'less' prevents the terminal from getting scrolled and divides the output into pages. Let us assume the presence of a file 'foo.txt' in the user's home directory, and try to look what lies inside.

who

Today's Command is "who":

Description:


This command will show the information about users who are currently logged on.

Procedures to use it -

This command has a great use for finding out the information of currently logged on users. The syntax of the command has sown below:

who [OPTION]... [ FILE | ARG1 ARG2 ] 

By default (without any option) 'who' prints the login name, terminal line, login time and the remote hostname. If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common.

cat

Today's Command is "cat":


What will it do:

This command will display the contents of a single file, or concatenate (ie. join end-to-end) the contents of multiple files and display the result.

How to use it:

The most common and simple thing to do with 'cat' is to display the contents of a file on the standard output device, ie. the terminal. We assume that there is a file named 'foo.txt' in the user's home directory.

tar

Today's Command is "tar":


What will it do:

This command will archive a bunch of your files or directories.

How to use it:

Let us first see how to create an uncompressed archive. We assume that there is a directory named 'foo' inside the user's home directory, and we decide to name the new archive 'foo.tar'
user@box ~$ tar -cf foo.tar foo/

Once the archive is created, we can list the files and directories inside it using the following command.

Syndicate content