Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
3answers
191 views

Linux How can I prove if udev installed?

How can I prove if udev is installed and working proper? Just call udevadm would be a method, right?
0
votes
2answers
2k views

pipe: too many files open renders entire OS completely useless

I'm running Ubuntu 12.04, and I am having a major problem. Two separate times today, one of my open gnome-terminal sessions locked up and printed the error pipe: too many open files I realize ...
0
votes
1answer
2k views

How can I find the processes which use the most memory? [duplicate]

Possible Duplicate: How can I display the memory usage of each process if i do a 'ps -ef' For example, how can I find the top 20 processes that occupy the most memory? My Linux ...
0
votes
1answer
416 views

Why mutt terminates with segmentation error?

I pressed $, in order to sync mailbox, but mutt just quit... In fact mutt dose not quit every time I press $, it only quits sometimes. So how do I figure out the reason why mutt quits? Is this a bug ...
0
votes
2answers
632 views

blocking port 80 via iptables

I'm having problems with iptables. I am trying to block port 80 from the outside, basically plan is we just need to Tunnel via SSH then we can get on the GUI etc. on a server I have this in my rule: ...
0
votes
2answers
2k views

How to recover deleted file in Linux [duplicate]

Possible Duplicate: How to recover a removed file under linux I have run the rm -rf * command mistakenly at the [user]@localhost location. Because of that I lost all the files in my user ...
0
votes
2answers
102 views

Linux machine to be converted to NAS [closed]

We have a (pretty old) Linux machine running crunchbang linux (64 bit). The machine was used for some time just as a storage space, files were managed mainly via SCP and SSH. But due to the increased ...
0
votes
2answers
278 views

How do I mount a ssh folder in linux from a script?

I already have sshfs installed and I know how to mount the drive, but when I try to automatically supply the password it doesn't do anything different. eric@MAVERICK:~$ sshfs ...
0
votes
1answer
71 views

running windows on linux HOW TO?

I've got linux and windows while I use linux majority of my time. However from time to time I'd like to play some games which wine doesn't support without rebooting the machine. Is it possible to run ...
0
votes
2answers
424 views

How to remove 'connection to xx.xxx.xx.xxx closed' message?

#!/bin/bash ssh -t $SSH " some commands " Where is the 'connection to xx.xxx.xx.xxx closed' message coming from? I can't stop it even with result=ssh ...
0
votes
4answers
535 views

Command to know if my computer will shutdown or not?

I am sending a reboot and shutdown command to a Free BSD computer. However I want to check that will that computer be shutdown or reboot really (I send this command from a reboot computer and I want ...
0
votes
3answers
804 views

How to create an ubuntu user with partial sudoer rights

Am wondering whether it's possible to create a user in ubuntu 11.10 server with custom sudo rights.I mean by that an use who can start and shutdown the box but who can't access /var/www for example or ...
0
votes
2answers
147 views

How to copy a linux to a portable hard drive

I already have a linux running on my laptop.Is it possible to port the entire system to a portable hard drive by copy all the file to the hard drive with the existing folder structure and reinstall ...
0
votes
4answers
7k views

How do I create yum repo file?

I know there is a previously asked question, but I still have some doubts so asking again. How do I create a yum repo file? I know that in the /etc/yum.repos.d/ I have to create .repo file. Below ...
0
votes
3answers
379 views

Making hardware peripherals for Windows work with Linux too

I found this really nice external wireless keyboard and mouse combo for my laptop, and was about to buy it when I just noticed that the OSs supported include only the various versions of Windows. Can ...
0
votes
1answer
77 views

Why isn´t linux using all the available memory

I have a linux VPS which has 256 MB of memory (free only finds 248 though). However it seems I still have 85 MB free, but it's swapping for 255 MB. Why is this? free -m total ...
0
votes
3answers
239 views

Windows batch command equivalent for these PHP and Bash commands

What are the equivalent commands in Windows if I have these commands in Linux? if (!is_dir('geoip')) mkdir('geoip', 0744); shell_exec('unzip -oj GeoLiteCity.zip -d geoip/'); shell_exec('rm -rf ...
0
votes
1answer
243 views

Accidentally mounted a ReiserFS drive as MBR on my windows box - how do I recover?

I had a WD Netcenter with a 160GB drive that kept dropping off the network. I opened up the enclosure and removed the hard drive, connected to a Windows box without knowing the drive used ReiserFS.... ...
0
votes
3answers
227 views

Backup files rather than deleting them in Linux

Suppose if I delete any file using the command prompt (I'm talking about Linux), that file is gone, I can't get back that file. If I by mistake delete any important file, then that would be a big ...
0
votes
2answers
145 views

System monitor and free -m show different readings

I saw memory usage by using System Monitor it showed me 778Mb/2012Mb. Then I checked it using free -m on terminal. I saw this total used free shared buffers cached ...
0
votes
3answers
2k views

How to recover the password for a particular user account on my linux pc

I have a linux pc on which several users are configured to login. for the same PC i have the root access (username and password). I have lost one of the user accounts password. How to get back the ...
0
votes
2answers
790 views

Running Google Chrome over Multiple X Servers

I run on Debian Linux across 3 monitors and using 3 separate X Servers. I.e. the is an application menu on each screen and although I can not drag and drop between the monitors I am so used to where ...
0
votes
3answers
3k views

Using xargs with mv and mkdir command in Linux

I am attempting to create a directory using the command mkdir. However, I would like to move a subset of files into that directory. I understand I can use xargs, however my attempts have failed. For ...
0
votes
1answer
9k views

How do I install a crx file on Google Chrome Dev?

I'm using Google Chrome 21 Dev and I can't install .crx files. I download them, but no popup appears asking if I want to install it. Any suggestions?
0
votes
1answer
1k views

Compare content of directories in Linux

In Linux, if I have two directories, how I can see the differences of content in these directories? Now I use this command: diff <(ls -d dir1/*) <(ls -d dir2/*) Any other idea?
0
votes
3answers
230 views

How to share a folder if home is encrypted and 700?

Note: I'm using Ubuntu 12. I'm not a complete noob (I can set up a hardened web server and that kinds of things) but now that I'm trying to use it as a desktop I feel like I never learned the basics. ...
0
votes
2answers
61 views

Power requirements for this build enough? [closed]

I am currently in the process of building a series of desktop base units to act as a cluster (running Linux). It will be running 24/7 mostly so i need something that lasts. Here are the specs: CPU: ...
0
votes
1answer
865 views

Select which OS to boot when dual-booting Windows 7 and Ubuntu

I'd like to dual-boot Windows 7 and Ubuntu. If I install Ubuntu on a new partition on the same HDD as my Windows 7 installation (on a seperate partition) how would I could about choosing which OS I'd ...
0
votes
1answer
246 views

installing linux on full disk encrypted machine [duplicate]

I have machine with windows 7 installed and full disk encryption using TrueCrypt. I'm wondering if there is a way to install linux next to windows but without reinstaling everything and loosing data? ...
0
votes
1answer
288 views

Running cronjob on specfic hours

How do i setup a cronjob to run every hour except from 11pm until 1am ? Because during that time, the system is doing maintenance. Cheers
0
votes
1answer
6k views

How can I combine several files into one?

How can I collect several files into a single file? I tried GZip, but could only get it to create separate files. It does not have to be compressed.
0
votes
2answers
186 views

Change Linux System Time Relatively

I need a script which will modify the system time by x amount of minutes. Something like: #time = 12:56 #x = 2 if time_bool: time = time + x #time = 12:58 else: time = time - x #time = ...
0
votes
3answers
269 views

Move files using Windows shell over network using Linux

I have a Windows laptop whose display isn't working, and I have to get some data from it. I want to get access to the Windows shell in order to move some files, and all I have access to is a network ...
0
votes
2answers
196 views

How can one identify the fan model and other fan specs within Linux?

I know I could disassemble my laptop to find this information, but I was curious if I could find it in the /dev or /proc directory, or from a shell command. There was no fan information in /proc/acpi ...
0
votes
2answers
240 views

Combining files in .tar file in Linux

I have a problem with zipping files in .tar file in Linux, but the challange is that when we extract .tar file it shouldn't give us a folder containing files which are zipped . It should give just ...
0
votes
3answers
534 views

Password protect /etc/hosts file

Can I create a different permission to access the hosts files so that the sudoer needs this extra key in order to access it? Also, would password protecting the file prevent OS from accessing it ...
0
votes
2answers
589 views

Have sudo create files under your own user id?

If I wanted to do something like sudo fdisk -l > test.txt but I wanted test.txt to be under my own user ID (and not root) without having to chown it afterwards, is there a way to do this? ...
0
votes
2answers
312 views

recursively delete but keep .gitignore file

I've been trying out several methods from SU but I have been unable to do this: I got a folder (example: /var/www/tmp/) which contains several files and directories. I'd like to delete all the files ...
0
votes
1answer
264 views

ping|awk not responsive

While trying melodyping, I noticed that ping <host> |awk '{print $1}' takes about 30 seconds until the first line is actually displayed. Even though w/o piping to awk each ping is returned in ...
0
votes
1answer
246 views

How to clone Windows 7 into a image file?

I want to clone my Windows 7 system into a image file and boot it from my Xen vm. Windows 7 has a boot partition and a system partition. I know there are plenty of tools in Linux that can clone a ...
0
votes
1answer
546 views

Redirect a url to another url

I need to redirect a url to another url. THe PC where this should be done has Linux but no server program such as Apache. When the user type www.mycomerp.com, it should redirect it to ...
0
votes
1answer
1k views

escape file and directory names from find

How can I escape spaces and other symbols from the results of a find command? For example, this doesn't work if there are spaces and other symbols in the results: find -maxdepth 5 -type d -print | ...
0
votes
1answer
526 views

“noshell” for ssh proxy users

I like to setup a special ssh user which is only allowed to tunnel web traffice through my server. I do not want to make an open proxy. This brings me to my question: Is there a "noshell" shell for ...
0
votes
2answers
82 views

how to copy files that have a certain substring in windows

I have splitted text files into parts and the parts that belong to a file is ended as part1,part2 ,... partn I want to copy only part 03 files to another folder. I would like to do it in windows ...
0
votes
2answers
441 views

I used windows 7 in dual boot with opensuse, I deleted the partition on the opensuse, but how can I delete grub bootloader?

I already tried using a windows 7 disk for repair, and I tried the bootrec.exe commands in command prompt as well but they don't work, the automatic repair also does not work. Is there any way to ...
0
votes
2answers
465 views

What is the meaning of the following commands when installing Skype

Today, I follow this tutorial Skype Installation in order to install Skype on Fedora 16. In the instruction, the author says that: touch /usr/bin/skype chmod 755 /usr/bin/skype Open /usr/bin/skype ...
0
votes
2answers
3k views

change from bash shell prompt to regular shell prompt on centos

my centos environment has just become bash shell prompt: -bash-3.2# how do I change it back to the usual # prompt? what places should I check for possibly modifications? Update: I was not clear ...
0
votes
2answers
484 views

How to install TermKit on Linux?

The following guide seems severely out of date now, and the author does not reply to user questions, so I ask you is there any other step-by-step guide for this?
0
votes
2answers
254 views

How to encrypt saved password in firefox?

In our company we are using one pc for everything. Everybody is using firefox and a lot of people are using the save password option. I know that you can easily read the username/password with the ...
0
votes
1answer
2k views

How to run adobe photoshop cs4 on wine?

I dual booted my xp installing linux mint 12. I have photoshop cs4 installed on xp, but can't run it on wine. Why?