Friday, 6 January 2012

Linux Vim Editor, Vim editor commands

1. Vim  · How can you cause vim to enter Input mode? How can you make vim revert to Command mode? Using “i” for input mode and “esc” for revert to command mode.  1. To get into the input mode you press either ‘a’ or ‘i’ key. And to revert back to the command mode you press the ‘escape’ key.  · What is the Work buffer? Name two ways of writing the contents of the Work buffer to the disk. The Work buffer is the area of memory where vim stores the text you are  editing. A”:w” command writes the contents of the work buffer to disk but does not end your editing session. A ZZ command writes the contents of The work buffer to disk and ends your editing session.  2. Vim stores the text being edited in the work buffer.  :w command...

Linux Hard and Soft Links Examples

·        Go into the tmp directory:·        cd /tmp; ·        Make a directory called original·        mkdir original; cd original; ·        Copy the /etc/host.conf file or any file to test with here·        cp /etc/host.conf .; ·        List the contents and take note of the inode (first column)·        ls -il;   = 143265 -rw-r--r-- 1 Nasir Nasir 92 ……. host.conf ·        Create a symbolic link to host.conf called linkhost.conf·       ...

Managing File Permissions and Ownership

·        List files which are readable for current user in /sbin directory·        ls -l /sbin; find /sbin -perm -u=r -type f -exec ls -l {} \; ·        Create a file and change its permissions so that owner can only read the file and the respective group can read/write the file while other can read/write/execute the file using octal values·        touch file; chmod 467 file; ·        Change the permissions of the file so that user can read/write/execute the file, group can read/execute the file and others can only read the file without using octal values·        chmod u=rwx,g=rx,o=r...

Wednesday, 4 January 2012

Linux Find Commands, Find commands in Ubuntu

1.      find·         Find all lib files greater than 100 KB in /lib·         find /lib -size +100k·         This will print many file you can view smoothly by pressing ENTER just append “|more” with the command ·         Find all files which are smaller than 200 bytes·         find -size -200b·         There is no path specified so we can optionally specify path as current directory “.” ·         Find all symbolic links in /lib·         find /lib -type...

Basic Linux Commands, Ubuntu Commands

—  Show the present working directory—  pwd —  Show the current user's session information in long format—  ps -l —  Show the current user's group membership—  id -g; id –gn —  Show the current user's PATH—  echo $PATH; —  List the contents of /boot in long format in three ways: —  Calling ls with an absolute path—  ls -l /boot;—  Calling ls with a relative path—  ls -l ../../boot;—  Changing directory to /boot and calling ls—  cd /boot ;ls -l —  Make a directory in the current user's home directory called lab2 —  mkdir lab2 —  Make two files in the lab2 directory: test and .test—   cd lab2; vi test; vi .test;  OR touch test ; touch .test;—  touch lab2/test ; touch lab2/.test;...

Sunday, 1 January 2012

Define Attitude? Organization Attitude Effect On IT Project

Attitude:                 In project management an attitude is a response toward an idea, event, in situation or                                          to a person positively or negatively. One other definition is a mental situation for any event, situation or idea and response to particular event.Attitude and IT project: As we know from attitude definition that it is a response toward a particular event so attitude has a great effect on IT projects. Developing an IT project is a great challenge for IT...

Pages 381234 »
 
Free Host | lasik surgery new york