EzDevInfo.com

system interview questions

Top system frequently asked interview questions

What does examples.desktop do?

What's the point of the examples.desktop file?


Source: (StackOverflow)

Whats the difference between Unix, Linux and Ubuntu?

What is Unix, Linux, Ubuntu?

Are they the same thing or different versions or completely different stuff?

This has always made me confused, any explanation would be great.


Source: (StackOverflow)

Advertisements

How many files I can have on a single directory?

This question is related to this one.

I work with animation, which generates a LOT of files (+/- 1,000,000) typically stored on a single directory. On Mac Os X, some bugs came up with more than +/-30,000 files, so I used to break the animation into various directories.

On Ubuntu, is there a limit for the number of files a single directory can hold?

Thank you.


Source: (StackOverflow)

System Monitoring Tools For Ubuntu

I am looking for System Monitoring tools which are GUI and Cli or Web Based which include Basic Functions such as

  • CPU Usage

  • Ram Usage

  • Swap Usage

  • Disk Usage ( Space / I/O )

  • Heat Monitoring

I know there are many tools I can use, but I am looking for a single tool that has these basic functions.


Source: (StackOverflow)

Dropbox error - 'echo 100000 | sudo tee / proc/sys/fs/inotify/max_user_watches'

Dropbox gives me an error that mentions echo tee 100000 but then it disappears. How to fix or remove msg?


Source: (StackOverflow)

What are "/run/lock" and "/run/shm" used for?

I just want to know where and how /run/lock and /run/shm can help our PC .

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              56G   13G   41G  24% /
udev                  983M  4.0K  983M   1% /dev
tmpfs                 396M  840K  395M   1% /run
none                  5.0M  8.0K  5.0M   1% /run/lock
none                  990M  164K  990M   0% /run/shm

Source: (StackOverflow)

How can I disable Ctrl+Q for all applications (system wide)?

A lot of applications like Firefox, Chrome etc, get closed when I accidentally press Ctrl+Q instead of Ctrl+W because of the proximity of the Q and W keys on the keyboard. Is there a way this shortcut can be removed or reset on a system wide basis?


Source: (StackOverflow)

Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin [duplicate]

This question already has an answer here:

I'm running an Ubuntu Server 13.04, but I see the same on a 12.04: I have six directories with command files. These are:

  • /bin
  • /sbin
  • /usr/bin
  • /usr/sbin
  • /usr/local/bin
  • /usr/local/sbin

What are the differences between these?
For example: if I'm writing my own scripts, where should I add these?


Source: (StackOverflow)

How do I check the version of Ubuntu I am running? [duplicate]

This question already has an answer here:

How can I check my current Ubuntu version through the command-line and GUI?


Source: (StackOverflow)

Where do I find system sounds?

After installing gm-notify I see the option of hearing a sound every time a new e-mail arrives in my Gmail inbox, but I don't know where Ubuntu (10.4) stores the system sounds to assign one. Any ideas? Thanks.


Source: (StackOverflow)

How can I access system mail in /var/mail/ via thunderbird?

I've got cron jobs sending mail to my user at /var/mail. I know how to access that at the command line with the mail command. But, while a big command line fan, I do not like reading mail (even system mail) that way.

My mail client of choice is Thunderbird. Can I read /var/mail messages in Thunderbird? How?

I'm running Ubuntu 9.04 and Thunderbird 2.0.0.24 (though I'm soon to upgraded to 10.04).


Source: (StackOverflow)

GConf Error: No D-BUS daemon running?! How to reinstall or fix?

After installing Konquerer and restarting my laptop i got the following error while trying to open, edit or access files as root from within Terminal (which is existencial for me).

root@linuxBox:/home/v2r# gnome-open /home/

(gnome-open:2686): GConf-WARNING **: Client failed to connect to the D-BUS daemon: //bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed.

GConf Error: No D-BUS daemon running

root@linuxBox:/home/v2r# No protocol specified Could not parse arguments: Cannot open display:

Also it seems, that dbus is not installed properly anymore in /bin/ and /usr/bin/ See screenshot: enter image description here

How would i go about fixing this problem and thank you in advance?!!!


Thank you for your answer SirCharlo! It does not resolve the problem at all. Please note, that it only happens while beeing root!

root@linuxBox:/home/v2r# gnome-open /home/

(gnome-open:5170): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-2RdCUjrZ9k: Connection refused GConf Error: No D-BUS daemon running

root@linuxBox:/home/v2r# No protocol specified Could not parse arguments: Cannot open display:


Source: (StackOverflow)

What are the disadvantages of having a dot in a user name?

A student just asked what could be the downside of having a dot (. ) in the name of the user. For example: john.doe

How will this affect the system or any apps for that matter?


Source: (StackOverflow)

How I do a system restore?

Problem I Faced

  • I installed something that crashed my Wifi drivers that I compiled earlier.
  • Un-installing the same package doesn't helped.
  • Finally, I re-compiled my wifi drivers and things are good.

My Question

But, is there anything like System Restore or System Rollback in Ubuntu/LinuxMint?

  • Is there anything that can undo an apt-get install package command?

Source: (StackOverflow)

What are the common maintenance tasks?

When i was using windows, i used to run defrags, ccleaner and revouninstaller once a month to keep the system and the registry clean.

I know ubuntu (and all linux distro) has a different system structure and doesnt need defrags, but i've heard there are some mainenance tasks that help to keep the system clean (for example, sudo apt-get clean or sudo apt-get autoremove)

How many of those commands/software (and please explain what they do and if they can compromise the system stability) do you know and use regularly?


Source: (StackOverflow)