A family of Unix-like 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
2answers
279 views

Ignore variables from another shell

I am on a linux workstation in a network, with an "old" distrib. Furthermore, login shell is enforced to CSH. I already asked to Admins if it would be possible to switch to another one (I would like ...
4
votes
3answers
341 views

How do I check that a *nix machine is online without ping?

I have a bash script that uses rsync to backup files from two remote workstations (unix and linux) to a local hard drive. I want the script to check that the workstation is online before running rsync....
0
votes
2answers
169 views

Is it possible to create a file and a hardlink to it without initializing the data?

I want to create a file of 2GB, but I don't care about the contents of it. I currently use dd with /dev/zero, but this is fairly slow. Is it possible to create a file and a hardlink to it, without ...
2
votes
1answer
919 views

Samba - Hide unauthorized directories

I currently have a number of read-only directories shared for the public. There are a number of other shares that only I have access to. Hence when other people try to access the shares, they are ...
1
vote
0answers
533 views

USB Networking via a Huawei 3G device EC5805 MIFI

I want to connect my MiFi through the available USB connection that I enjoy in Windows, OSX 10.5, and Mint. So far, all YDL 6.1 has done is laugh at my attempts to use the USB option in netman. I ...
2
votes
1answer
2k views

How can I prevent an application (Dropbox) from accessing network when connected to a certain Wifi ESSID?

I sometimes connect my Ubuntu laptop to my phone's 3G connection via tethering. When connected to that network I don't want Dropbox to synchronize as I have a limited data plan. I do want it ...
0
votes
1answer
93 views

Return to mailbox on delete in mutt

If you delete a message from the pager in mutt, it loads the next message into the pager. How can I change the behavior so that it kicks me back to the mailbox when I delete a message from the pager?
0
votes
2answers
469 views

In Win-7, Default OS shows as blank after installing Debian Linux. Is that normal?

I'm running a dual-boot with windows-7 and debian squeeze 6.0.5. Initially I had just two windows partitions (C: & D:). Of them, I formatted the D: as ext4 and installed squeeze using the debian ...
1
vote
2answers
613 views

Parsing .co.uk whois with awk

I wonder if someone could tell me why these awks are not working, they should supply the registrar and the expiry date : ${AWK} -F: '/Registrar:/ && $0 != "" { getline; REGISTRAR=substr($0,2,...
1
vote
1answer
251 views

How to install an emacs lisp patch in Linux?

I ran into a problem with an Emacs Lisp function, and I got a patch from the developer. I'm running Debian Linux and the file to be patched does not even exist on my system. (The patch is for tex-...
4
votes
1answer
939 views

Ubuntu preseed. Use whole disk space, but no swap

I'm trying to make a installation usb stick for a equipment we have here. I would like to automate linux installation, because we have a lot of these machines to install. The machine has a 30GB SSD ....
1
vote
1answer
207 views

My Eee PC 900 A won't work?

My laptop, and Eee PC 900 A won't work, at all. I don't know anything about computers, so I've just been pressing a bunch of random buttons. I don't know what a RAM is and all of those other terms... ...
7
votes
1answer
332 views

How to let `man` utility to use `less` to display manual rather than `more`?

I've this Solaris 10 installation and it uses more to display manual content. Is there a way to make it using less to display manual? because more is really not convenient to use. Thank you.
0
votes
1answer
596 views

Why mapping sftp disc returns fuse: invalid argument

Why mapping sftp disc returns this error? Am I doing it wrong? $ sshfs user@host:/ /home/absolut/Pulpit/sftp fuse umask=0,defaults,noauto,user,allow_other 0 0 user@host's password: fuse: invalid ...
4
votes
3answers
9k views

Automount ZFS zpool in Ubuntu 12.04

So, I've been told that ZFS for Linux has the ability to automatically mount a zpool on system startup in Ubuntu 12.04, but it doesn't work for me and I can't find any documentation on how to make it ...
2
votes
1answer
2k views

Resize EFI system partition

I have a Windows 8 installation on a 500gb hd with the following partitions; Recovery 300mb EFI System Partition (ESP) 100mb Reserved 128mb Primary 145gb Leaving me with free space of 319gb I'm ...
2
votes
2answers
1k views

Dual boot with 2 Hard drives

I have 2 old hard drives (they are both ATA) and I have one ATA ribbon cable with 2 connector. I install Linux on one harddrive and Windows 7 on the other. I can use them by switching the harddrives. ...
3
votes
1answer
535 views

Is there a VNC server that listens to a Unix socket instead of a TCP port? [closed]

I am trying to find a VNC server that can listen on a Unix domain socket instead of a TCP port (normally 5900). I have not found any VNC server software supporting this. I do know what domain ...
9
votes
1answer
11k views

Detect and mount external usb drive - Linux (Debian)

I have a 3TB USB 3.0 External HDD (Seagate) that I would like my Debian machine to pick up on boot so that I can use rsync to backup to it using cron. If i unplug the drive and plug it back in then ...
1
vote
2answers
6k views

Openconnect for Cisco VPN doesn't recognize private key file - asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag

I'm trying to use my Synology DS212 NAS box also act as VPN gateway to my companies VPN. Sadly, they only use Cisco ASA and to complicate stuff even further, we've got to use personal certificates (...
1
vote
2answers
225 views

Linux Embedded Controller editor

Does anyone know of an Embedded Controller editor for Linux? I currently use Read & Write Utility When using Windows to set my fan between 25%-50% because without it my laptop idles at 50°c When ...
6
votes
2answers
3k views

iredmail httpd default redirecting to domain.com/mail - how to stop

I have iRedmail installed on my server, it installed apache with it, when pointing to my domain name, it redirects to mydomain.com/mail - which I would like to prevent. The default index.html file had ...
0
votes
1answer
763 views

TCP connection to my host's public IP address using Linux netcat

I need to make a TCP connection to my machine through an application that needs only the public IP address and port to connect. I have been able to do it in Windows, but I need to do it in Linux also....
2
votes
1answer
432 views

Determine display or VNC session based on PID

I frequently VNC into a server where we run many concurrent computationally intensive matlab processes. Sometimes, one of my processes misbehave, which I can see from top, but I have a hard time ...
1
vote
1answer
248 views

Can't run Eclipse from /opt

I'm playing with Arch x64, and I downloaded the Eclipse Juno platform without any plugins etc. I extracted it into /opt, made a launcher on my desktop, and when it runs, it produces this error message:...
2
votes
1answer
517 views

Check wireless link quality under the Linux

I want to pragmatically check wireless link quality (in C code and in bash script). Using iwconfig tool I get current value represented as fraction e.g 47/100. The problem is that, denominators are ...
1
vote
1answer
850 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
203 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 on..........
2
votes
1answer
89 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
827 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
1k 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
538 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 ...
15
votes
1answer
9k 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
327 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
81 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
2answers
1k 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
3k 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
6k 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 ...
2
votes
0answers
57 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
566 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
92 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
2k 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
142 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 ...
3
votes
1answer
1k 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. I'...
2
votes
1answer
1k 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
484 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
182 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
2k 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 ...
27
votes
1answer
48k 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 ...