“nothing builds self-esteem and self-confidence like accomplishment”
– Thomas Carlyle

Posts Tagged ‘linux’


17
Dec

I’ve been looking on how to start a torrent session on another machine lately (on *nix flavor), and I thought there’s probably a command-line for it, and I was right. Since I can SSH thru in my Ubuntu machine at home, this sounds like a fit option.

The need arises when I’m in the office, working of course, and a movie title suddenly pops in my head and I get eager watching it. So I’d search for torrent for that movie with good remarks, at least watchable quality. Download it then SCP that to my machine at home and start session torrent on CLI. Takes at least a minute of my time to fire it up, but most importantly, it’s finished downloading when I get home. And watch on dinner I guess.

So, if you’re using Ubuntu, transmission is commonly installed there. But we need the transmission-cli package installed, which includes transmission-daemon and transmission-remote for starting CLI torrent session. First fire up the daemon, then use remote to add torrent file, like this one below

marvin@localhost:~/Desktop$ transmission-daemon
marvin@localhost:~/Desktop$ transmission-remote -a Avatar-2009-TELESYNC-XviD-ORC.torrent

If it says The program 'transmission-daemon' is currently not installed, just type the suggested install command. It should be like this

marvin@localhost:~$ sudo apt-get install transmission-cli

Now, if you want to find out download stats just add the -l or --list like the one below, will list all torrents and status.

marvin@localhost:~/Desktop$ transmission-remote -l

Use transmission-remote --help for other options. You can set upload and download limits too.

Here are useful links:

10
Nov

What if really… LOL! I found this from DaniWeb, it’s short and entertaining! Read on…

The New York Times reported today that Apple has opened its first Apple Store in Paris, underneath the Louvre no less, and just two weeks after Microsoft opened up a Windows 7 cafe in Paris in another location. The idea of these two companies competing in a retail environment, and especially a Windows-themed cafe, got me thinking about what would happen if three cafes opened each run in the same style of the operating system it was named for. I figure it might look something like this:

Windows Cafe

The Windows Cafe is in a bland store front. The furniture consists of straight wooden chairs with tables with sharp angles. Unfortunately, every so often when you sit in a chair it crashes the to the floor, but you get used to this and figure it’s just part of the experience of going to the Windows Cafe. (To be fair they have been testing chairs from a new manufacturer and they are reportedly less prone to breaking in this fashion.) Pictures of a smiling Bill Gates and Windows logos adorn the walls. The coffee tastes fine most of the time, but a surprising number of patrons get sick there, so that it’s become standard practice to use hand sanitizer before you go in to protect yourself. The coffee is expensive, and refills are definitely not free, but it’s a known quantity, and many people are comfortable going there.

Linux Cafe

The Linux Cafe is a funky place in an artsy neighborhood with eclectic furniture donated by the patrons. It doesn’t match, but it’s comfortable and the walls are covered with donated pictures and paintings by local artists. The coffee is free, served in black cups (or you can just bring your own), but you need to make it yourself. If you can’t do it yourself, the cafe has consultants available to help you for a fee. It’s great for people who know about coffee brewing, but many people are intimidated by the idea of making their own coffee and stay away, even though very few people ever get sick who go there.

Apple Cafe

The Apple Cafe is a modern, state-of-the-art facility. The tables are stainless steel and the chairs are ultra-contemporary. Shrines to Apple CEO Steve Jobs are dotted around the wide space. The cups are cool and come in a variety of bright colors. The coffee is well made by a highly trained staff, and even though it costs a lot more, people line up around the block for a chance to drink it. Just don’t ask the staff about their coffee-making techniques because they are extremely tight lipped about this. People occasionally get sick there, but it’s rare enough for the cafe to brag about its safety record.

So there you have it. Three cafes with three distinct personalities just like the operating systems they represent

Source: http://www.daniweb.com/news/story236836.html?urlhash=yp4q&trk=nus_ritm-title by Ron Miller

31
Jul

awk – Pattern scanning and processing language

bash – GNU Bourne-Again Shell

biff – Be notified when mail arrives (currently not installed)

cat – Concatenate files and print on the standard output

cd – Change directory

chage – Change user password expiry information

chgrp – Change group ownership

chmod – change file access permissions

chown – change file owner and group

chroot – run command or interactive shell with special root directory

chsh – change login shell

clear – clear the terminal screen

cp – copy files and directoriesman

crontab – maintain crontab files for individual users

cut – remove sections from each line of files

date – print or set the system date and time

dd – convert and copy a file

df – report file system disk space usage

diff – compare files line by line

dig – DNS look up utility

dmesg – print or control the kernel ring buffer

dnsdomainname – show the system DNS domain name

echo – display a line of text

env – run a program in a modified environment

false – do nothing, unsuccessfully

fdisk – partition table manipulator for linux (be careful when you use it)

find – search for files in a directory hierarchy

free – display amount of free and used memory in the system