commands
Am I the only person who gets ln -s the wrong way round every time?
· β˜• 1 min read · ✍️ Sathyajith Bhat
ln -s d1 d2 # Am I the only person who gets this the wrong way round every fucking time? Similar to most people who have posted there - I used to still get it wrong every time. It’s become a habit for me to do a man ln or ln -help before I execute this command :\ Great tip here though: but then I finally found out about the relationship between ln and cp

Removing file named -rf in Unix
· β˜• 1 min read · ✍️ Sathyajith Bhat
I did something crazy at some point that created a file called “-rf” on my filesystem. Now I can’t figure out how to delete it. I’ve tried: rm "-rf" rm -rf But these just exit immediately. Arrgh! Anyone know how to remove this file? Preferably without accidentally cleaning out my whole folder. heh. What’re the odds, eh? via Removing “-rf” file in Unix - Super User.

File meta data and location of notes saved in notes tab of Nautilus
· β˜• 2 min read · ✍️ Sathyajith Bhat
I spend quite a lot of time on Super User(Β my repis a testament to that I guess ;) ) - both on the site as well as the mindblowingly awesomeΒ chat (if you haven’t been here, you *must* drop by). Today a user dropped by and asked a very nice question -Β which went like - I have some files that have some text in the notes fields(the tab where you put notes in the properties dialog box)… so can I output those texts with using the ls command.

Five tips for a more efficient Linux desktop | Five Tips | TechRepublic.com
· β˜• 1 min read · ✍️ Sathyajith Bhat
1: The pager I am always shocked at how few people actually use the Linux pager. It’s been around forever and has always served the same functionality β€” it offers the user multiple desktops to keep the desktop better organized. I employ the pager like this: With four workspaces, I dedicate each workspace to a different use. My layout looks like this: Desktop 1 is for networking tools.

Writing an iso file to a CD-R/DVD-R from Linux Terminal
· β˜• 1 min read · ✍️ Sathyajith Bhat
Ever wondered if there’s a quick and easy way to write an iso file to a CD-R/DVD-R ? Don’t want to open K3B or Brasero ? Here’s a handy way of writing the iso file. First, switch to root using su su Next, type cdrecord -scanbus You’ll get something like this: scsibus0:<br /> 0,0,0Β 0) 'TSSTcorp' 'DVD+-RW TS-L632H' 'D200' Removable CD-ROM<br /> 0,1,0Β 1) * Note the first 3 numbers corresponding to your CD/DVD writer.

Mounting and Burning .iso, .mdf, .nrg(Nero) files and CD Images in Linux in 1-click
· β˜• 2 min read · ✍️ Sathyajith Bhat
A while ago, I’d written a post on howto mount CD images, such as .iso, .mdf files etc via the command prompt using the mount command. In the post, among the comments, Sumeet had asked if there was a way to do all of this without having to type lengthy commands. Well yes there is! And it can’t get simpler than this! Furious ISO Mount Tool is a an amazing little application, taking only about 256KB, and gives you a neat little interface to mount all your iso, mdf(ie, made by Alcohol 120), nrg(created using Nero) images using 1 click!

[How-To] Display A List of All Partitions, Device Info and Filesystem Type In Linux
· β˜• 2 min read · ✍️ Sathyajith Bhat
In my previous posts I’d written on how to mount your partitions using the mount command. In the post I’d mentioned that you’d have to mention the partition that you want to mount by specifying /dev/device_name as part of the command. The question that would come to your mind is, How do I know which of my partition is on what device? So let me show how to find out which partition is on what device!

[How To]Setup a BSNL DataOne BroadBand connection or a DSL Connection in Linux
· β˜• 3 min read · ✍️ Sathyajith Bhat
Remember that all these assumes that your router is connected to the LAN port, if it’s connected to the USB port, then disconnect it and connect to the LAN port. If you dont have a LAN card, then consider getting one. It’s cheap, costs around Rs. 200.Β Next, it’s best to have the router configured in pppoe mode. In this case you just have to switch on the router, the router and DHCP will take care of the rest.

[How-To]Mounting LVM partitions from a command prompt or a Root Shell
· β˜• 2 min read · ✍️ Sathyajith Bhat
Today as I booted into my openSUSE box, for reasons unknown to me, my LVM partitions failed to mount. fsck didn’t help, and and LVM based container system meant that I couldn’t use the standard mount /dev/sdxx style of mounting as well. With my /home and / configured as a LVM, the root (/) partition was active, but the /home partition was not being mounted, as a result, X and KDM wouldn’t start, giving a console login.

A Handy Wallpaper Displaying Most Common Linux Commands
· β˜• 1 min read · ✍️ Sathyajith Bhat
In the past I’ve done couple of posts explaining few of the common commands. A handy one-glance reference guide is always nice, and found this on Reddit.