Linux


9
May 10

What services can be disabled in linux ?

If you’re not using internet/LAN and Printer then following services are not needed:

  • TELNETD is not needed.
  • APACHE is not needed if you don’t want to work with web development and server.
  • SSHD is not needed if you’re not connected to the Internet.
  • NFS is not needed if you’re not connected to the internet.
  • SAMBA is not required if you’re not having internet connection.

If you don’t own printer then CUPS service should be disabled. There are few more services that can be disabled while using linux. Ubuntu slims down a lot of things that makes it easy for you to use it without some of the service which you don’t need and are supposed to be enabling manually.


7
Dec 09

How to find specific file on ubuntu ?

If you want to search for specific files on ubuntu linux then some of your options are as follows:

1. Find command, using this command you can find specific file on ubuntu.

2. Use Places | Computer (or Places | Home or any other location) and then use the ‘search’ button (its a looking-glass icon).

3. Use following commands on terminal for creating index and then search file from it.
* updatedb
* locate

The first command create a index, the second use the index to search.

4. Use Beagle or Tracker. (If you’re using gnome then “do” will help)


20
Oct 09

How to see where package is installed in ubuntu?

On linux we use application installer like synaptic package manager or adept etc. We get no idea where in directories those applications are installed. You can check this using dpkg utility.

If you want to check where all the files of the package are located then use following command:

dpkg -L

For example, if package files for gparted to be found out then command will be :

dpkg –L gparted

This will list the files/folders where gparted and it’s dependent configuration files are listed.


19
Oct 09

How to list the disk space usage on ubuntu?

If you’re using ubuntu then you can use the GUI utility “Disk usage checker”. Or there is another way to check the disk space usage on ubuntu. You can use the df command on terminal. Whenever you want to list the disk space usage on ubuntu then type :

df -TH

This will list the disk space usage.


18
Oct 09

How to find the path of running applications in linux ?

If you’ve multiple running applications installed on system you might wonder sometimes that which version is running. To find out the path of the application, you can use “which” command then followed by the executable you would have run.

For example :

which svn

This will display the directory of the running version of svn. (Tested this on ubuntu, fedora and suse).