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

1
vote
1answer
496 views

Scripting output of a telnet connection

Another whois question, is it possible for me to take the output of a telnet connection to a file. telnet whois.internic.net 43 then I =google.com and get a response. Can I get this to return ...
1
vote
1answer
177 views

Whois Response issues

Ok trying to work this out and getting confused. I am using the whois command and getting responses from the registrar server ie : whois google.com this returns for the expirys : Created ...
2
votes
1answer
88 views

Why does navigation keys become ^[[A in non-root users?

I'm using a Ubuntu server via ssh. Everything is fine under root but if I create and login into the users I create, the navigation keys became ^[[A ^[[B etc. And the original functions such as ...
2
votes
0answers
665 views

Samsung NP530 CPU stuck at 55 C temperature

I have run into heating issues on my ultrabook running Linux. Idling temperature for Win7 is ~45 C, while in Linux it is ~55 C. Output of sensors rohit@raijin ~ $ sensors acpitz-virtual-0 Adapter: ...
1
vote
2answers
791 views

How do I recursively list the contents of all files in a repository (extension-agnostic) into a single text file?

I know that using "ls -R ." in bash you can recursively list the filenames. Can I use some similar command to list the contents of each file just the way their names are displayed using the ls ...
0
votes
1answer
363 views

How linux servers boot with no login?

I am in the process of building my first development server and plan on running Ubuntu Server as the OS. This morning, I was doing some initial designs for it and it got me thinking: how do "headless ...
3
votes
1answer
5k views

How to disable screen shutdown after 1 hour in Fedora 17 (Gnome)?

Fedora 17 doesn't seem to have a "Never" option for the screen timeout setting. Is it possible to disable this power-saving feature? This is for a machine showing a dashboard which should always be ...
8
votes
1answer
4k views

How do I check the current boot parameter list in Linux?

During test, I sometimes add/change boot parameters to /boot/grub/menu.lst (suse), or at the grub screen during boot. How do I check what boot parameters have been used after the system is done ...
1
vote
0answers
263 views

Unable to connect DB on a remote server

I have an OpenSUSE OS running under VirtualBox. I can connect to Oracle 11g database with SQLDeveloper from localhost, but when I try to connect it from another PC I have either Io exception: Got ...
0
votes
1answer
74 views

What are(some of the)top level(under /) directories meant for in file system os Linux?

I have read man hier (info hier in fact). But it seems a bit old(Correct me if I am wrong). There are many directories, which are not mentioned in the manual. Eg /sys /selinux /lost+found I have ...
3
votes
3answers
898 views

Why is it a lot faster to call rm on a directory than deleting a folder from the GUI (Linux) over SSH

Out of curiosity, why is it a lot faster to delete a folder / folders in Linux (I'm using Ubuntu) over SSH by calling rm -rf somefolder than deleting the folder from the GUI (right-click then "Move to ...
2
votes
1answer
2k views

No interfaces defined in new Linux installs after installing BSD

A few months back, I attempted an install of PCBSD on my laptop (EDIT: Thinkpad T420). Before installation, my partitions consisted of /swap, /, and /home for an Arch Linux install, and one ...
3
votes
1answer
5k views

Error - unknown filesystem grub rescue - Can't boot from any other media whatsoever

So I've been trying anything and everything under the sun to fix this problem. Have a lenovo Y570 laptop and decided to duel boot linux mint alongside windows 7. I partitioned some space on the ...
1
vote
0answers
48 views

Picking right serial device

I have several identical USB to serial port adapters on my Fedora FC12 server. Each time I boot, the devices seem to change devices names (/dev/ttyUSBn). Now I will assume that the bus and device ...
2
votes
2answers
412 views

Command-line interrupts in OS X vs Linux

Occasionally, when I'm developing on my Mac, I'll get a process that hangs. When that happens, I'll try the following: Ctrl + C in the active terminal window If nothing happens, I'll open a new ...
0
votes
1answer
82 views

Creating a mutiboot USB from linux

There are many tools out there (YUMI, SARDU, etc.) which allow for easy creation of multiboot linux USB drive from Windows. Are there any similar tools for linux (general, not disro-specific)?
1
vote
1answer
1k views

Linux - turn off externally powered drive

I'm running Debian (Raspbmc). I have a number of external hard drives connected via USB. These HDD are powered by an external power supply. Since I often fall asleep while watching movies, I want to ...
1
vote
0answers
115 views

Code::Blocks IDE says that the obj/directory cannot be created

When I try to compile my C/C++ code in Code::Blocks, it says obj/directory cannot be created When I searched for that error, people suggested that it doesn't have read and write permissions for ...
2
votes
1answer
800 views

Live Linux Distro for text only mode

I'm looking for a linux distro where I can boot into it via USB, run a script on startup and shutdown. I need bare minimum, but I also need network drivers. Also need to save files across reboots. ...
2
votes
1answer
675 views

Notify when normal user changes to root?

Would it be possible that when a normal user logs in to root via su command an email notification will be sent?
2
votes
1answer
381 views

Does schroot allow configuration files in the home directory to be overwritten?

When schroot is configured to mount /home, will packages installed inside the chroot overwrite the configuration files in $HOME? For example, if a newer version of gconf2 is installed inside the ...
2
votes
1answer
142 views

Abiword document conversion output to stdout

I am trying to convert documents using abiword and then would like to output the result to stdout, so that I can use that in my php application. I am able to convert, but was unable to find anything ...
5
votes
3answers
685 views

Is a process PID guaranteed to stay the same as long as the process doesn't die?

I'm doing some simulation work with Linux, and the code I'm working on right now only works under the assumption that, once a process has been assigned a PID by the kernel, that PID will remain the ...
14
votes
1answer
21k views

Why is the “top” command showing a CPU usage of 799%?

I am running a process in a 4 core Ubuntu server. However, top command shows that the CPU usage is 799% all the time. How can this be possible? I know for multi core CPUs, more than 100% CPU usage ...
1
vote
4answers
6k views

How can I install Windows 7 without dvd or usb, on linux?

I have a different problem that I don't think can be solved but it's better to ask before loosing all hope. I currently run Crunchbang (Debian dist) and would like to install Windows 7 as well. ...
2
votes
1answer
831 views

Should i keep /var partition on my SSD?

I have bought Samsung 830 SSD (256GB capacity). I have moved my Win7 system partition (128 GB) to the SSD, and now i want to install Arch linux on the remaining 128GB. I just don't know how to ...
-3
votes
1answer
135 views

How can I delete files that have a size of 0 in bash? [duplicate]

Possible Duplicate: Bash Find Files with zero size and delete files with different extensions How can I delete files that have a size of 0 in bash?
5
votes
5answers
2k views

Why does wget'ing an image give me a file, not an image?

I do wget http://services.runescape.com/m=itemdb_rs/3809_obj_sprite.gif?id=2 and it downloads the following file: 3809_obj_sprite.gif?id=2 How can I make it save as the following? 2.png
2
votes
2answers
1k views

Setup for two SSDs and one HDD?

I currently have one 2TB HDD. In about a week, I'll have 2 SSDs; one that is 60GB and the other that is 128GB. I would like to setup Windows 7 and some Linux operating system. I am also a pretty big ...
8
votes
2answers
5k views

How do I detect SD card insertion (just the SD card, not the card reader) in Linux?

I have a headless debian (3.2.0-3-686-pae) to which I wanted to attach a standalone card reader to automatically process my pictures. The idea is that the reader will be plugged in all the time and I ...
0
votes
2answers
2k views

Fedora 17: How do I install Python 2.7 into /usr instead of /usr/local?

I want to install Python 2.7 onto my Fedora machine, but it installs it into the /usr/local/bin. How do I make it so that won't happen? I want to do this because the setuptool I installed keeps on ...
2
votes
1answer
3k views

FATAL : No Bootable medium found! System halted

I just got a .iso of the linux distro Backtrack 5 R2. I set it up, using virtual box, and set it up to run using the .iso, and hard drive as a .vdi. Here's the setup: System: Base Memory: 1500 MB ...
1
vote
0answers
613 views

Why is xinit automatically starting xterm?

When I run: xinit [client application] -- :128 vt01 -novtswitch I notice it starts an instance of xterm in addition to my client application. Per the man page: ... If no specific client ...
0
votes
2answers
600 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 ...
4
votes
2answers
4k views

How to check if any errors occurred during ssh?

I'm writing a deployment script, and I need to rollback if any errors occurred. Eg: #!/bin/bash ssh myapp ' mkdir /some/dir # check if above command failed, and execute rollback script if ...
1
vote
0answers
301 views

Compile MakeMKV 1.7.6 - Segmentation Fault

I've previously been able to compile MakeMKV 1.7.5 and older versions, but the latest version (downloaded from http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224) gives me strange segmentation ...
2
votes
1answer
403 views

Using rsync to copy to an external drive mounted on filesystem

If I use the command rsync -av / /media/backup Is /media/back included in the / filesystem? Would that cause some kind of repeating loop causing rsync to attempt to copy /media/backup to itself?
2
votes
1answer
459 views

Portable Ubuntu Development Environment

I'm looking for a solution that allows me to run Ubuntu off a USB stick and have git and few other programs installed that I use regularly for development (FTP, IDE, GIMP, maybe even XAMPP). This way ...
1
vote
0answers
145 views

How to provide “reverse ssh” to a shell?

Scenario: Many embedded devices (running Linux) out in the fields, behind routers so NAT'd and we can't make connections to them. We need for a support person to be able to initiate a terminal/shell ...
1
vote
0answers
480 views

Setting reduced complexity passwords for a regular user

From root it is possible to set a single character password for any account Example: Here I created a account test3 and set the password t, and the password is accepted [root@localhost ~]# useradd ...
3
votes
3answers
1k views

Can't login as root after changing permissions of /usr/bin

I changed the folder permissions of /usr/bin to 777. Now when I login to root user it shows "incorrect password". Now I'm not able to do anything on this PC. How can I revert the permissions of ...
2
votes
1answer
98 views

Hibernation mode in Linux

I am using 3.5.0-rc1-smp+ kernel. And when I close the cover of the laptop on Windows 7 the computer comes into hibernation mode with HDD and fans off. The machine stays cool. But in Linux the drive ...
0
votes
1answer
398 views

Cron job for moving directories older than 24 hours

Well, what I want to do is The cron should run every hour or so It should move the directories in a folder /disk1/data/ older than 24 hours to /disk2/data/ The directories moved should contain all ...
2
votes
3answers
6k views

Putty can't connect over SSH to hostname, IP connection works

I have a gentoo box on my homenetwork that I'm trying to SSH into via W7 client but although I can do it via IP address when I try the hostname it won't find it. Also get a DNS error ...
1
vote
0answers
125 views

What's the most powerful text mode browser in GNU/Linux? [closed]

for these features: key customization mouse support image support javascript support(for google reader, etc) CJK support and in active development...
0
votes
0answers
264 views

Boot Linux to ram-only, one time user on a second partition

I am looking to setup a laptop I use for work as follows. One partition with a Linux install (Backtrack) with tools, normal write, etc. I want to create a second partition with a one-time use setup; ...
2
votes
2answers
613 views

Accidentally erased rpm package, how to recover?

Yesterday I planned to erase all wine related package, first I queried with: rpm -qa | grep wine and it showed 6 or 7 packages, then I typed: rpm -qa | rpm -e After one or two minutes waiting, I ...
3
votes
2answers
3k views

Linux Mint - Remember window positions and sizes

Today I installed Linux Mint Mate in the default configuration and it has an annoying habit of forgetting window sizes and positions after they are closed. Everything gets reopened in the top left ...
1
vote
2answers
542 views

How to sigstop/sigcont processes based on CPU temparature?

I'm temporarily forced to work on a laptop whose fan has failed. Under light load it works fine, but as soon as I start computationally intensive jobs, the temperature raises very significantly, even ...
4
votes
4answers
345 views

What are the risks (if any) of installing an older version of Linux

My machine has limited RAM capacity. Newer Linux distributions seem to require more memory (often 1 GB or more) and seem to consume more than 500 MB on itself. Is it safe to use an older version of ...