ManyCodes.com – codes & scripts Get free programming codes and tutorials!

11Jan/120

How to create a symlink in the Linux command console?

 ln -s <destination> <linkname> 

If the desired link filename is the same as the destination's filename, and the current working directory is the desired location for the link, then you only need:

  ln -s <destination> 

A symbolic link (also symlink or soft link) is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution. Symbolic links were already present by 1978 in mini-computer operating systems from DEC and Data General's RDOS.

Today they are supported by the POSIX operating-system standard, most Unix-like operating systems such as FreeBSD, GNU/Linux, and Mac OS X, and also Windows operating systems such as Windows Vista, Windows 7 and to some degree in Windows 2000 and Windows XP.Symbolic links operate transparently for most operations: programs which read or write to files named by a symbolic link will behave as if operating directly on the target file. However, programs that need to handle symbolic links specially (e.g., backup utilities) may identify and manipulate them directly.

6Aug/091

How to Create a Cydia Repository for the iphone

A Cydia Repository which is much like an Installer source, is also a way to host your own files, like applications, themes, and wallpapers on Cydia. Cydia is the unofficial application distribution app for jailbroken iPhones and iPod touches for applications that could not make it to the official app store managed and run by apple.

Now this is a guide on creating your own repository for cydia, and no, you don't need a website of your own to do it! Note that while the screenshots within this guide were taken on a Mac, you can easily follow this tutorial with Debian (see "What's Needed if you have no idea what the heck I'm talking about).

Important: There are steps in the guide where I'll instruct you to copy text from this page into a Text Editor and into Terminal. Unfortunately, due to this forum's restrictions on the number of images allowed within a post (6), I had to convert about 90% of the guide into one big image, so you'll have to manually type the text in. Sorry about that.

Also, you may have already seen that this guide is pretty long. Don't get scared and decide not to try; it's only long because I wanted to make it as detailed as possible. Doing this is not as hard as it looks.

First off, check out the EverythingiCafe Cydia Repository before you create your own. If all you want is a place to host your files, we'll host your stuff for you. If you want your own repository, carry on.

What's Needed
• Internet Access
• Basic Text Editor
• Either a Virtual Machine with Debian installed, a computer
running Debian, or a Mac with Fink installed.
• Either a website of your own or a free sub-domain with FTP access (Your own website is recommended, but if you're going to use the latter of the two, I suggest using 110mb.com.)

Here is tutorial for how to create a cydia repository for iphone: http://kttns.org/nmuym