4
votes
2answers
1k views

can't initialise/detect 16550A UART at unusual io port address

I've got a board based on the Vortex86DX CPU which is an x86 based microcontroller. It has five 16550A UARTS, four (COM1-COM4) of which are at the usual io port addresses (0x3f8, 0x2f8, 0x3e8, 0x2e8) ...
0
votes
1answer
3k views

How to configure VirtualBox to route through tor?

How can I configure VirtualBox to route all network access of a guest OS through TOR? My host system is running Linux, and I've already set up TOR on it.
9
votes
2answers
300 views

How am I supposed to keep up with kernels as a developer?

I'm developing for a specific TI ARM processor with custom drivers that made it to the kernel. I'm trying to migrate from 2.6.32 to 2.6.37, but the structure changed so much I will have weeks of work ...
7
votes
2answers
2k views

Find and install man file manually

I seem to be missing some man pages, notably gcc and g++. It doesn't help that I specify the section. whereis doesn't list man pages for those two, so I think they are simply not there. With Google I ...
1
vote
4answers
137 views

“Multipass” scripted modification of large file in-place (file-system level)?

I have just came to the problem of having to cut some lines from a large (gigabyte) sized file, and being aware of potential CPU hog trying to read it in memory, I wanted to edit it in-place ...
3
votes
2answers
893 views

Search for files with a specific size inside recursive zipped archives

I have a folder with several files. These files are either .xml or .zip files. These .zip files contain .xml and/or .zip files. These .zip contains also .xml or .zip, and so on... until we finally ...
2
votes
1answer
95 views

How to make a module dynamically loadable on Debian?

I'm applying an API from maxmind. They require additional an module for Apache. Now they recommend the command: apxs -i -a -L/usr/local/lib -I/usr/local/include -lGeoIP -c mod_geoip.c ...
4
votes
2answers
913 views

Unix/Linux C++ debugger that supports STL containers?

Currently I am using gcc-4.3.6 and Eclipse IDE for c++ development. I want to debug my project in Eclipse with gdb. I am having a hard time debugging code when it contains STL containers. Also I am ...
4
votes
2answers
709 views

Decrypt files encrypted with gpg using xargs

I have a lot of files encrypted with gpg. All files have the same password. Is it possible to use xargs to decrypt files? ls | xargs -n 1 gpg asks for the password for every file.
1
vote
1answer
73 views

vpn conntect over an additional server

I (A) want to connect to my virtual XEN-server (B) with Ubuntu OS via vpn. This server (B) should than connect to another server (C). The traffic should be routed from A to C. C is using CISCO VPN. ...
2
votes
1answer
289 views

Can i start bluetooth deamon without usb dongle connected?

I'm installing bluetooth for my debian installation (non desktop) and I wonder about the deamon. The guide states that in order to start it I have to type: /etc/init.d/bluetooth start but really, ...
4
votes
1answer
2k views

How do permissions work when moving directories?

Recently I tried to move a directory that I own to another directory (which I also own), but I couldn't. I then noticed that I don't own the parent directory. This made me wonder what are the rules ...
2
votes
2answers
463 views

How do I use pacman on a loop-mounted Arch image for a different architecture?

I would like to install some packages on an ARM image before flashing it to an SD card. So far, I have loop mounted the image sudo mount -o loop,offset=99614720 archlinuxarm-13-06-2012.img /mnt and ...
1
vote
2answers
8k views

How do I setup dual-head monitors with an Nvidia drivers and one monitor rotated?

I have an integrated ION GPU, which is supported by the proprietary drivers and I've never been able to get the open source drivers to work. I would like my left screen to be normal, but the right ...
8
votes
2answers
4k views

Advanced NTFS partition file recovery techniques for damaged drives (IO errors)?

I've recently suffered a maddeningly small but quite important amount of damage to a hard drive on a ESXi host affecting a couple VMs. There's a file that I would very much like to recover, and of ...
1
vote
0answers
556 views

Permission issues while setting up cakephp

I am pretty new to linux and trying to setup cakephp on opensuse 12.1. I did as told on the cakephp website(blog tutorial) and most probably encountering some permission issues. I slapped the cakephp ...
4
votes
2answers
16k views

Debian Squeeze as a router

I'm trying to setup Debian Squeeze (ala Dreamplug) as a router. I can't seem to get the pieces to fit together. ETH0: Upstream/internet - DHCP-Client ETH1: Downstream/Lan - 192.168.0.1 DHCP-Server ...
5
votes
1answer
2k views

How to create a fake device file that accepts input from a C program?

I want to create a C program that accepts input from a joypad (/dev/input/js0), processes it, and then sends it to a fake device file (character or block) labeled as a keyboard (oh, and what is the ...
7
votes
2answers
5k views

Can't find or create trash while deleting files

I was unable to remove a file anymore with thunar: How should I create the "Trash" folder ?
2
votes
1answer
178 views

perl-get input, check conditions

cat input1.txt ##gff-version 2 ##source-version geneious 5.6.4 Xm_ABL1 Geneious CDS 1 168 . + . Name=Xm_ABL1;created by=User;modified ...
0
votes
1answer
929 views

Hurd vs Plan9 vs Linux vs eCos vs FreeRTOS what are the main differences specially with Hurd?

Hurd is actually not Unix nor Linux. But more superior says. Where Plan9 and Linux are in the range of Unix/Linux. eCos and FreeRTOS is also completely not unix/linux. What is the main differences ...
2
votes
0answers
343 views

vsftpd: Passwordless authentication to different directory

I am configuring a vsftpd server and the requirements are: I need a user resourcesadmin with home directory /var/www/resources with password authentication and FTP with write access (already done) I ...
10
votes
4answers
687 views

How do I shutdown, reboot and logout the system from the command-line?

I would like to do that using the command-line, because sometimes my computer freezes and I need to force a shutdown (I know it's not good to the hardware). And: What is the difference between Halt ...
7
votes
1answer
320 views

Are there any CheckInstall side effects or should I use it every time?

I'm using Ubuntu at work and Slackware at home. Today at work I have downloaded some suspicious program from our company repository that was supposed to automate some repetitive tasks. I installed ...
6
votes
1answer
754 views

Peculiar piping grep/head behavior

I'm helping the netadmin here with a perl regex to automate operating on some snapshots from our SAN and our scripts does stuff like this: varinit1=$(iscsiadm -m session | grep rbmsdata1 | head -n1 | ...
6
votes
3answers
14k views

Pipe find into grep -v

I'm trying to find all files that are of a certain type and do not contain a certain string. I am trying to go about it by piping find to grep -v example: find -type f -name '*.java' | xargs grep -v ...
-1
votes
4answers
2k views

Arch Linux: Yaourt/Makepkg Can Not Build Apache

I am using yaourt to automatically compile Apache from source every time there’s an update available from extra. I am doing this so that I can have a custom suexec docroot (/srv/www rather than the ...
6
votes
2answers
7k views

Colored Prompt in KornShell

According to this StackOverflow post, it is possible have a colored prompt in KornShell. I have not been able to figure out how to do this. I am able to use color: echo -e "\033[34mLinux\033[00m" ...
8
votes
3answers
26k views

How do I set the password of a new user after the account has already been created?

I used the 'useradd' command to create a new account, but I did so without specifying the password. Now, when the user tries to log in, it asks him for a password. If I didn't set it up initially, ...
3
votes
1answer
1k views

Giving SSH users read-only access to a directory

I'm running Fedora 17 and I want to give several users access to files on my secondary hard drives on /run/media/haukur/. This is what I initially did: chmod -R 755 /run/media/ But every time I ...
3
votes
2answers
376 views

Can AIDE scan a directory inside a directory the user doesn't have read permissions for?

I would like to use AIDE to help me verify the integrity of my home directory on a shared Linux system. I am not an administrator of this system. I have built and installed AIDE in my home directory ...
3
votes
1answer
107 views

What is IBM PowerLinux?

I've just heard about something called IBM PowerLinux, but i don't find a clear definition of what it is. Can someone please explain this in few words ?
3
votes
3answers
9k views

Startup script not executing after reboot on Solaris

I have a command to start Apache in /etc/rc3.d that does not execute when the server reboots. The script is named S75Apache2. Someone has speculated that this is because the link has a capital "A" ...
7
votes
2answers
3k views

Evince fails to start because it cannot read .Xauthority

I'm logged in remotely over SSH with X forwarding to a machine running Ubuntu 10.04 (lucid). Most X11 applications (e.g. xterm, gnome-terminal) work fine. But Evince does not start. It seems unable to ...
13
votes
3answers
8k views

Telnet send Ctrl-C

I use telnet to connect to a terminal server, which proxies the traffic to a RS-232 port. Unfortunately when using some of the devices it is not possible to send the CTRL+C character (0x03). Instead ...
4
votes
2answers
1k views

Find recursively all archive files of diverse archive formats and search them for file name patterns

At best I would like to have a call like this: $searchtool /path/to/search/ -contained-file-name "*vacation*jpg" ... so that this tool does a recursive scan of the given path takes all files with ...
2
votes
2answers
152 views

What does it mean when the output of $ls -lasrt includes '.' and '..'

I input the command: $ ls -lasrt And the output includes (there are more results, these are the ones that confuse me): 4 drwxr-xr-x 5 tuc40953 stdchem 4096 Jul 3 17:48 .. 4 drwxr-xr-x ...
3
votes
3answers
238 views

Emulate mouse cut'n'paste behavior in a test script

I've got a shell script which outputs shell commands which are supposed to be copy-pasted with the mouse from one terminal window to another (I can test it in the same window though). The output ...
8
votes
2answers
2k views

How do I background an SSH session? [duplicate]

Possible Duplicate: How can I break away from an SSH session that has crashed? I have started an SSH session on the command line, but now I want to get back to my local command line. For ...
3
votes
5answers
708 views

Modern distribution on old hardware

I have an old system currently running ubuntu jaunty. The main harware specs are: Processor: AMD Athlon 1,2 GHz RAM: 512 MB Graphics: [SiS] 65x/M650/740 (output from lspci) HDD: 40 GB Now jaunty ...
3
votes
2answers
861 views

is there any command like “wall” that runs a “command” in all terminals

as you know "wall" command sends a message to all terminals: wall message now my question is this: is there any command that can send a "command" to be run in all terminals? for example sending ...
6
votes
1answer
1k views

force re-negotiation of PCIe speed on Linux

I'm working with PCIe Gen 3 cards and from time to time they seem to fall back to PCIe 1 or 2 speeds (according to lspci and also observed by the throughput). When rebooting/power cycling the machine ...
5
votes
1answer
10k views

How can I autologin to desktop with systemd?

How can I configure systemd to automatically log me in to my desktop environment, preferably without using login manager? I'm using Arch.
2
votes
2answers
405 views

How can I stop dolphin from reading my entire home directory tree in order to make it usable on AFS?

At work, I would like to use KDE's dolphin as a file manager. However, our home directories reside on an AFS share [1]. When starting dolphin, it becomes unresponsive for dozens of minutes. stracing ...
6
votes
2answers
1k views

What is the terminal's graphic API?

How can certain programs set background and font colors, write characters to the same location on screen (e.g. to the third row, fifth column) more than once? Some examples are the progress bar ...
13
votes
5answers
5k views

How to make `xargs` ignore child's exit and keep processing further

I sometimes run long xargs jobs overnight and it is really annoying to discover in the morning that xargs died somewhere in the middle, for example because of a segmentation fault in one single ...
17
votes
2answers
304 views

Shell function definition: why is there a space after the opening brace?

You probably know of that fork bomb: :(){ :|:&};: #WARNING: harmful code I wonder why it is necessary, for it to parse, to include a space after the opening curly brace.
7
votes
4answers
983 views

Date computations without GNU tools

I have to perform some date calculations and conversion in a shell script. For example computing the difference in day between a date formatted as Nov 28 20:27:19 2012 GMT and today. There are ...
2
votes
1answer
282 views

KDE Kubuntu System Monitor ProcessTable.sgrd and SystemLoad2.sgrd malformed XML

When trying to open the System Monitor, I received an error saying that the files ProcessTable.sgrd and SystemLoad2.sgrd contain malformed XML. The resource graphs no longer appeared after the ...
0
votes
0answers
433 views

Linux Mint 13 not installing

I just decided to move to Linux. I downloaded the Mint 13 iso and wrote it to a DVD. I installed it on my Win7 laptop with VMware workstation to test and all worked fine. So I decided to reboot my ...

15 30 50 per page