3
votes
3answers
367 views

How do I troubleshoot this boot issue?

I have a Lenovo x120e that is not booting properly. When I turn it on, it just opens to a blank screen. The machine is running Ubuntu 10.04. Main Details: I shut the lid of the computer while it was ...
5
votes
2answers
2k views

Is it possible to get the error message from previous command which failed when the conditional command runs using ||

I have a helper function: function error_exit { /opt/aws/bin/cfn-signal ... exit 1 } This helper function is used to signal an error. Here is an example of usage: /opt/aws/bin/cfn-init -s ...
1
vote
1answer
704 views

Application receives SIGKILL on system shutdown, why not SIGTERM?

We use our Java application under X that starts from /etc/X11/Xsessions.d/9999ngoma root@denis-laptop:~# uname -a Linux denis-laptop 2.6.32-36-generic #79-Ubuntu SMP Tue Nov 8 22:29:26 UTC 2011 i686 ...
2
votes
1answer
507 views

ICMP destination unreachable

I am working on an Arch Linux machine with an ethernet interface eth1. I have created the interface eth1:0 using ifconfig and given it a dummy hardware address (00:01:02:03:04:05). When I send a UDP ...
1
vote
2answers
2k views

ssh + nohup does not work

I'm trying to run a program over SSH that keeps running when I disconnect. This Stack Overflow answer gave me the following command: nohup sleep 30 > foo.out 2> foo.err < /dev/null & ...
2
votes
1answer
2k views

I can't start nfs in SLES 11

I'm trying to start nfs service in my SLES. I have my /etc/exports like this: /var/share/testbed *(ro) When I run service nfs start, it says: Not starting NFS client services - no NFS found in ...
1
vote
2answers
2k views

Is there any way to get control over a terminal by ssh with no (screen) [duplicate]

Possible Duplicate: How can I disown it a running process and associate it to a new screen shell? Let's say I'm install applications directly on to a Linux box. May I go to another machine ...
1
vote
1answer
4k views

D-Link DI-624 H/W ver. D: Flashing OpenWrt

I have a D-Link DI-624 rev. D2 Router. It is based around an Atheros AR2316A-001 chipset, and has 8MB RAM. I opened the device to check for actual parts use in it, and I can confirm, it is indeed the ...
11
votes
2answers
2k views

Why does FreeBSD use the GPL-licensed GCC?

Why does FreeBSD use GCC as its default compiler? I am under the impression that a core pillar of the FreeBSD philosophy is not to use any GNU software and in particular, GPL code. Yet GCC which is ...
2
votes
1answer
4k views

Brute force access to a Firebird database?

Ok, so here's the deal. When migrating a certain product with terrible documentation to another database type, my Firebird database was deleted. I then proceeded to recover it from the filesystem ...
3
votes
1answer
626 views

wait for autossh connection to complete

I'm trying to create a script that runs a few commands that take a long time to execute and require a constant connection, but autossh user@server wait $! #or wait ${!} commandA commandB doesn't ...
0
votes
1answer
651 views

-bash: command: command not found [closed]

I'm trying to run a program from the command line, and I got a -bash: command: command not found error. What can I do to troubleshoot/fix the problem?
3
votes
3answers
483 views

gVim opening a tab pushes status line out of window

When opening a new tab in gVim (with :tabe), the status line at the bottom of the screen disappears. If I press : and start typing a command I can no longer see the command on the status line. When ...
2
votes
1answer
729 views

How to plot the output of a command

How can I plot the output of this command line with GNUPlot? What should the diagram script look like? I want a histogram. wget -O - -o /dev/null http://www.stackoverflow.com/ | cat | cat | sed ...
1
vote
1answer
627 views

What are the differences between the major Linux distributions? [closed]

Newbies to Linux like me often find it puzzling when there are so many different distributions like Debian, Fedora or Ubuntu. I've tried to Google some documents describing the differences between ...
1
vote
1answer
1k views

Problems with a Read-Only Root Filesystem

I was creating a read-only root filesystem for use in an embedded system. I successfully got the system to boot after setting it to read-only initially, but then I needed write access to another file ...
8
votes
3answers
6k views

Vim :s replace first N < g occurrences on a line

In vim, I sometimes have occasion to replace the first few occurrences of a match on a line, but not every one like g would. e.g.: a a a a a to b b b a a I know I could use ...
2
votes
1answer
1k views

Avoid issues with Fedora and Windows by installing on separate hard drives?

I just built my first Linux machine (Fedora distribution) and love it. For my professional work, having access to Windows would help tremendously, and I'd like to be install Windows and have a choice ...
2
votes
1answer
5k views

How to check if VT-X is enabled in BIOS?

How to check if VT-X is enabled in BIOS? I have vmx in CPU flags, and no access to the BIOS. (I need to install a KVM VM on RedHat Enterprise Linux 6.1).
10
votes
5answers
377 views

Book on how Linux works from an administrator's point of view?

I did find this book, but I was wondering whether there's a newer book on the market, because this one was released in 2004. I'm sure a lot has changed in the past 7 years? I need a book that helps ...
6
votes
5answers
2k views

How to avoid a useless use of cat when parsing a file?

I have a file containing a list of directories. For instance /foo/bar/dir1 /foo/bar/dir2 /foo/bar/dir3 I want to create all these directories. Here's what I did: for dir in $(cat myfile); do ...
1
vote
2answers
345 views

How to install LuaJIT on FreeBSD without using Gmake?

Has anyone been able to install LuaJIT v2 on FreeBSD AMD64(x64) without using Gmake (just freebsd-make)? If so how? When I attempt to use freebsd-make, LuaJIT doesn't build.
3
votes
2answers
3k views

Disable scroll lock

We have a shell/tty based application that has ~1,000 users. It is running in an environment where X Server is not available. If a user accidently turns on the Scroll Lock, it makes it seem as if the ...
0
votes
2answers
176 views

A reliable and free way to use Linux on Windows, multiprocessor and x86_64

I need a reliable and free virtual machine to run Linux on Windows, multiprocessor and x86_64. I need a good environment to compile and run ffmpeg and libvpx. I have used Mint Debian under Virtual ...
1
vote
2answers
866 views

Kernel module for Cisco VPN client doesn't compile under ubuntu 10.04 LTS?

I am trying to install a Cisco VPN client under Ubuntu 10.04 LTS. In the extracted folder I type: alex@alex-laptop:~/Downloads/cisco4.8/vpnclient$ sudo ./vpn_install and there is output of activity ...
3
votes
2answers
312 views

Xmonad is not changing layouts

You can change layouts in Xmonad with mod+space or switch windows (in fullscreen) with mod+tab. I encounter everyday the problem that these bindings stop working (I don't know what causes it). I'm ...
2
votes
1answer
2k views

RTL8191SE wireless card not working in Debian Squeeze

I'm having trouble getting my wireless card seen in debian squeeze. iwconfig only shows eth0 and l0 but no wlan0. ifconfig wlan0 up says theres no such device. I compiled a backport kernel and I now ...
7
votes
2answers
12k views

How to configure SVN/SSH with SSH on non standard port?

I have configured SSH to be on port 20000. When I try: svn co svn+ssh://server.com:20000/home/svn/proj1 proj1 --username jm I get svn: To better debug SSH connection problems, remove the -q ...
2
votes
1answer
410 views

Fail to tunnel between two Solaris 10

I running 2 Solaris 10 box and trying to tunnel them up through Internet. 1 at the hosting site while the other sitting in my office. ifconfig ip.tun0 plumb ifconfig ip.tun0 192.168.1.207 ...
12
votes
4answers
15k views

Script to change current directory (cd, pwd)

I want to run a script to simply change the current working directory: #!/bin/bash cd web/www/project But, after I run it, the current pwd remains unchanged! How can I do that?
5
votes
1answer
6k views

Acer Aspire S3 or Asus Zenbook Ultrabook for running Linux (Ubuntu / Debian)

I'm curious if anyone has had success with running Ubuntu or Debian on the latest Ultrabooks. Specifically, the Acer Aspire s3 or the Asus Zenbook? I have had an Asus UL30a since they came out, ...
0
votes
1answer
1k views

Where can I find Mandrake 7.0 ISO?

I'm on the look out for Mandrake 7.0 ISO but I can't find it anywhere. Anyone have it? I need the i586 version.
6
votes
2answers
1k views

ZSH: Recursive globbing with .directories

I thought the glob pattern: **/(*|.*) would represent every folder and file starting with dot (.) or not, but it skips directories in the current directory that start with .. What is the glob ...
6
votes
2answers
2k views

Comparing directories in Emacs

I am experimenting with ediff-directories, but I am not sure I am using it correctly. I read in the documentation that, once I supply two directories to ediff-directories, if I press == Emacs ...
0
votes
2answers
354 views

Is FreeBSD license easier than Ubuntu/Fedora/CentOS/ArchLinux when it comes to GPL + Close source + Sell?

If I use FreeBSD/OpenSolaris, and stop using Ubuntu/Fedora/CentOS/ArchLinux, migrate my all applications to FreeBSD/OpenSolaris will that reduce license problems? Specially, GPL/LGPL is very ...
5
votes
1answer
3k views

Suggestions for IRC Server

I am planning to setup an IRC server for our internal communication needs. Which of the IRC servers do you guys suggest? Things I am looking for: Should not be very complex to setup Should allow ...
-4
votes
2answers
142 views

Why are there Firefox 3.6 in the Linux repositories [closed]

Linux repositories=I mean "in general". So why aren't there any newer version of Firefox available in the repositories? [Fedora, Ubuntu, etc.]
3
votes
1answer
4k views

How to take and restore backup with an LTO tape drive in RedHat?

I can take a backup with an IBM LTO tape drive in RedHat 5 using mt and tar, but I can't restore it. I can't see previous backup content. Whenever I try to take a backup, I think that the new backup ...
2
votes
3answers
115 views

Filter --help command?

Sometimes I want to search/filter help for particular commands for keywords. history --help gives list of options, sometimes it's overwhelming how much info is there. Can I filter it for keywork ...
1
vote
3answers
1k views

How to install kernel on debian with no internet connection

I'm trying to install a newer kernel version on my Debian (squeeze) machine as I need it to get my wireless card working. I have Debian on one partition of my hard drive, Fedora on the other. I'm ...
13
votes
3answers
2k views

Where do open file handles go when they die?

What happens to the files that are deleted while they have a file handle open to them? I have been wondering this ever since I figured out I could delete a video file while it was playing in MPlayer ...
4
votes
4answers
1k views

Is there any gnome-shell mixer icon relying on alsa and not pulseaudio?

So, long story short, when I installed Mint 12 on my Dell laptop I realized my HDA-intel sound board have problems with pulseaudio. I uninstalled pulseaudio and got my sound back, but removing ...
3
votes
1answer
952 views

Banshee Won't Update (Linux Mint 12)

Anyone else having problems getting the latest version of Banshee from apt-get? I'm adding the Banshee PPA, using apt-get update, and then trying apt-get upgrade and then to be totally sure, ...
6
votes
4answers
7k views

Finding the ID of a process and killing it

When ever I need to kill a background process I do ps -e | grep <process_name> Which prints something like this 1766 ? 00:00:13 conky , Then I use the process ID to kill it like so kill 1766 . ...
3
votes
1answer
82 views

I am the only person with access to my machine. Any reasons to enable group/other permissions on files and directories?

I have noticed that some files in my home directory have read and write permissions for group and even other. If I am the only person who I want to give access to my machine, is there any reason to ...
11
votes
3answers
4k views

How can I receive top-like CPU statistics from the shell?

I'm trying to get an accurate read of my used CPU (in percent) from top. This is the command I'm running for testing: top -n1 | awk '/Cpu\(s\):/ {print $2}' This returns: 10.7%us, Which is the ...
2
votes
0answers
478 views

Upgrade to Debian testing shows only white noise

I've installed Debian on my desktop, but now all I can see is white noise on my screen. started with a squeeze netinstall updated my /etc/apt/sources.list from: # deb http://ftp.belnet.be/debian/ ...
5
votes
1answer
400 views

How to start AbiWord with full screen?

2.8.2-2ubuntu1.1 How can I set Abiword to always start with full screen?
2
votes
0answers
110 views

How do I get this Bash-script to work? [duplicate]

Possible Duplicate: How to name a file in the deepest level of a directory tree How do I get this script to work? The goal is to find the directory at the deepest level in the directory ...
4
votes
1answer
1k views

Fixing a broken X initialization

Here are the symptoms: On reboot of my Fedora 14 system, I get to the Fedora loading screen progress bar. The system seems to progress normally, then the nvidia logo flashes, a wait cursor shows, ...

15 30 50 per page