• missing xbfish.com image

Category Archives: Software

Delete site manager entries in Filezilla

Instead of painfully delete site manager entry in Filezilla one by one, I ‘ll show you a quick way in deleting all entries.

Assuming you are running on Windows platform, type %APPDATA% in Run.

Navigate to Filezilla folder, delete away sitemanager.xml

After doing this, there will be no entry in Filezilla site manager:

missing xbfish image

This method will definitely save you the troubles from deleteing each entry one by one. However, this method will delete ALL of your entries.

Don’t worry! When I am free, I will write a guide on deleting multiple site manager entries in Filezilla!

Remove print job from printer queue in NUS SOC printers

To cancel / remove your print job when printing using NUS SOC printers, login to sunfire using SSH.

Assuming the printer name is pstsb-dx, enter the following in the command prompt to check your print job in printer pstsb-dx:

lpq -Ppstsb-dx

Next, take note of the job id for the print job you wish to cancel.

Then, enter the following

lprm -Ppstsb-dx 845

where 845 is the printjob id.

This 2 commands are particularly useful when SOC printers are jammed or the network is down. To prevent wastage of print quota, cancel away your print job.

For a list of NUS SOC printers name, go to https://docs.comp.nus.edu.sg/node/1498/

For more information, please refer to https://docs.comp.nus.edu.sg/node/1584

The file is too large for the destination file system

The file is too large for the destination file system.

Are you trying to transfer file with a file size of more than 4GB to a FAT32 file system hard disk?

If yes, you will definitely see the above error message.

You can format your hard disk to using NTFS file system.

Note: Please remember to back up your hard disk because there will be loss of data when you format the disk!

Checking Print Job queue in NUS SOC printers

To check your print job queue when printing using NUS SOC printers, login to sunfire using SSH and execute the following command:

lpq -Pprinter_name

Assuming the printer name is psts, execute the following to check your print job in printer psts:

lpq -Ppsts

For a list of NUS SOC printers name, go to https://docs.comp.nus.edu.sg/node/1498/

[Linux] Ubuntu packages not upgraded

To upgrade your Ubuntu, you would normally run the following command using root:

apt-get update
apt-get upgrade

If you see the following message during upgrading,

The following packages have been kept back:
  xxx zzz yyy
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

this hints to you that the new packages couldn’t get upgraded because it depends on the newer distro packages. You need to upgrade your Ubuntu distro.

You can update it by entering the following command in Terminal using root:

apt-get dist-upgrade

Setting up NUS mail in Microsoft Outlook 2007

*I see that NUS Computer Centre currently does not provide a guide in setting up Microsoft Outlook 2007 with the school email. Henceforth, I write this guide to share among students and for my future reference.

Before setting up your Microsoft Outlook 2007 to work NUS email, your computer need to be in the school domain.

If your computer didn’t join the domain, login through NUS Web VPN.

When the first time you setup your Microsoft Outlook 2007, you will reach this screen:

missing xbfish.com image

Check the box on “Manually configure server settings or additional server types.

Next, you will reach this screen:

missing xbfish.com image

Check on Microsoft Exchange.

Lastly, you will come to this page where you will be asked to enter the Exchange Server Settings.

missing xbfish.com image

Enter exchange.ex.nus.edu.sg for Microsoft Exchange Server and AXXXXXXX your NUSnet id for User Name.

Click on Next once it is done.

You will see a screen which ask you to login:

missing xbfish.com image

Enter your NUSnet ID with the prefix NUSSTU, something like what the screenshot above does.

Then, enter your NUSnet password.

You’re done! Enjoying outlooking! :D

[Linux] Navigating to user top directory

For instance, if you are logged in as willie, your top directory in Linux will be

/home/willie

To go to your top directory, you can navigate by using the following command:

cd ~/

[Linux] Add user account

To add user in Linux, you have to run as root. Open up your Terminal and enter the following:

sudo adduser

You will be prompted for the new user account name and password.

Default folders such as Documents, Music and Pictures will not be initialized (created) until you login with the new user.

Changing Mozilla Firefox Sync Interval

If you have enabled Sync in Mozilla Firefox, the synchronize will takes place every 1 hour.

To me, it’s too long as I always switch in-between my devices very often. To manually change the Sync interval, type in the following in the address bar:

about:config

You will be greeted with the following screen:
missing xbfish.com image

Search for services.sync.syncInterval

Change the value to any value (in millisecond) of your choice. By default, the value is 3600000 milliseconds (which equates to 3600 seconds = 60 minutes).

After all is done, close and restart your Firefox. :D

Link VI to VIM in Linux

To open VIM using vi command, open up .bashrc and add the following line at the end of the file:

alias vi='vim'

This way, we create an alias of vim with vi.

As such,

vim hello.php

is equivalent to

vi hello.php