Archive for ‘CLI’ Category
Posted on 22:16, March 2nd, 2009 by Many Ayromlou
Just came across tms , what a great tool. It a command line tool for OSX 10.5+ that allows basic CVS style operations on your Time Machine volumes and It does its thing in read-only mode, so nothing gets changed/deleted…..woohooo. Here is the stuff you can do with it:
Go grab your copy NOW.
Posted on 13:55, February 18th, 2009 by Many Ayromlou
As good as Ubuntu (and linux) are in general, once in a while you just get to a point where you need a reinstall. That’s when the realization kicks in that you’ve got far too many packages installed since the initial Ubuntu install. It’s okay, there is a way out. Make sure you have a USB key.
On Ubuntu Workstation (with graphical interface):
Run Synaptic package manager. Once inside Synaptic, go to File/Save Markings As menu option and choose a filename and location (USB stick). MAKE SURE YOU ALSO CHECK THE BOX “SAVE FULL STATE, NOT ONLY CHANGES”. This will save a text file that contains every single package installed on your system (through apt system and all it’s variants….manual compile/installs are something else). Now you can go ahead and reinstall the machine and configure your repositories. Once the machine is up and running again, load up Synaptic and go to File/Read Markings and point it at the file you saved on the USB stick and press Apply.
This will start a download process that will set the machine up (as far as installed packages are concerned) just like it used to be. Configurations need to be done manually, but atleast you get all your packages back.
This is also super handy if you’re duping identical systems. Remember that you can not do this to upgrade from one version to another. This is strictly for “Restoring” installed software packages from the same version of Ubuntu.
On Ubuntu Server (command line):
First we need to create a list of all the installed APT packages and configurations and save them:
Now reinstall the OS, copy your backed up debconfsel.txt and dpkglist.txt file to your fresh system’s /tmp directory and execute the following:
Posted on 12:04, September 25th, 2008 by Many Ayromlou
So I found out the hard way that the new ipod’s (with video out) can actually play 640×480 video and also figured out how to get iTunes to accept the encoded files (so that I could sync them with the device)…….here is the run down:
Here are a bunch of ffmpeg command lines that will do just about everything you need.
Posted on 17:07, September 22nd, 2008 by Many Ayromlou
Does your OSX Mail app crawl when you start it. Well here is a quick tip to speed things up again. Just issue this command from a terminal window (make sure you’re not running Mail app first).
Posted on 17:01, September 22nd, 2008 by Many Ayromlou
Here is a quick command line for all you OSX ppl. If you’re ever in need of turning/converting a .dmg file into a .iso use the following command line:
Where newfile is the name of the iso you want, and yourfilename.dmg is the dmg. Have Fun……
Posted on 16:45, September 22nd, 2008 by Many Ayromlou
Here are some quick CLI commands to get those CD/DVD images mounted under Linux (without having to burn them first).
Okay, now for a bit of CLI goodness. Here is a quick list of basic apt commands. Debian and most derivatives (Ubuntu) use these for package maintenance.
#get source code
Posted on 15:42, August 25th, 2008 by Many Ayromlou
Here are two commands to activate the expanded Print and Save menu’s under OSX by default. You need to type these in a terminal window.
1) For expanded Print menu
2) For expanded Save menu
Enjoy and Have fun
Posted on 15:30, August 25th, 2008 by Many Ayromlou
Here is a quick command to make Leopard’s stacks behave nicer when you move your mouse across the icons. You can type these two commands in terminal to activate the feature: