Posts which you will also like.

Wednesday, December 1, 2010

Basic UNIX/LINUX command:cp

This command lets you to copy files.



                                                                                                                                                             
CommandSwitchResult
cpsource destinationIf destination file does not exists then it will be created before copying other wise overwritten.
cpsrc1 src2 src3 destinationcopy more than one files into a single destination
cpsrc* destinationcopy all files beginning with src into destination
cp-i src destinationwarns user before overwriting
cp-R srcdir destinationCopy directory structure



Read More ->>

Basic UNIX/LINUX command:cd command

This command is same as MSDOS cd command which is used for changing directories.

cd:

Command Switch Result
cd ~ username Switches home directory of user
cd Switches to home directory of current user
cd ~ toggles between current and previous directory
cd Desktop / Changes to relative directory desktop
cd .. Changes to one level up in the directory tree
cd ../.. Changes to two level up in the directory tree

Read More ->>

Basic UNIX/LINUX commands:ls command

Some of the most frequently used commands in Linux are:
1.ls: This command is used for directory listing.It is same as dir command in MSDOS.
Switches used with this command are:
COMMAND SWITCH RESULT
ls -a displays all file name including those beginning with a dot
ls -d .* Only filenames beginning with a dot
ls / lists the contents of the root directory
ls -l prints long listing with description of permissions,links,ownership,size etc
ls /dir filenames inside dir
ls -d /dir only shows the description of dir not its content
ls -R recursive file list
ls -t Filenames sorted by last modification time
ls -u Filenames sorted by last access time
ls -i inode number
ls -ltr sorts listing chronologically form older to newer
Read More ->>

Monday, November 29, 2010

What are cookies? A Brief Tutorial

Cookie

Maybe you're not aware of the fact that if you have the "allow cookies" feature in your browser on, websites can store all sorts of information on your harddrive. Cookies are small files that contain various kind of information that can be read bt websites when you visit them. The usual usage is to track demographics for advertising agencies that want to see just what kinds of consumers a certain site is attracting. Web sites also use cookies to keep your account information up-to-date. Then for instance when you visit your e-mail webbased account without being unlogged some hours later, you find yourself being logged on, even if you turn off your computer. Your login and password was simply stored on your harddrive in cookie file. This is security threat, in case that there is more persons who have the access to your computer.
Most of the browsers offer the possiblity to turn off the cookies, but some of sites like Hotmail.com require them to be turned on. In case you decided to allow cookies, at least never forget to log off from the websites when you're finishing visiting them.
Cookies may be set by the server with or without an expiration date. Cookies without an expiration date exist until the browser terminates, while cookies with an expiration date may be stored by the browser until the expiration date passes. Users may also manually delete cookies in order to save space or to avoid privacy issues.
As text, cookies are not executable. Because they are not executed, they cannot replicate themselves and are not viruses. However, due to the browser mechanism to set and read cookies, they can be used as spyware. Anti-spyware products may warn users about some cookies because cookies can be used to track people—a privacy concern, later causing possible malware.
Read More ->>
DMCA.com Protected by Copyscape Online Plagiarism Tool