1
vote
1answer
362 views

Can I deactivate the broadcom driver if I have a Realtek wireless card?

I am trying to get my wireless working on ubuntu 12.04. If I run lshw I see this output, indicating a Realtek wireless card. *-network UNCLAIMED description: Network controller ...
3
votes
3answers
296 views

Is it mandatory to have a file system and MMU in Linux? [closed]

Suppose I do not need a filesystem and I have only applications where data reloading may not be required - so MMU may be redundant. Can I remove these two items from Linux, and boot the OS ...
4
votes
2answers
4k views

How can I listen to communication between a process and a serial port?

On a Gentoo Linux machine, a process is communicating with another computer via serial port (/dev/ttyS1). I want to listen to this communication (i.e. what is being sent/received by the process) ...
4
votes
3answers
9k views

What's the easiest way of installing JRE on Debian?

What is the easiest way of installing JRE on my Debian OS (Linux)?
8
votes
6answers
1k views

Semi-asynchronous pipe

Assume I have the following pipe: a | b | c | d How can I wait for the completion of c (or b) in sh or bash? This means that script d can start any time (and does not need to be waited for) but ...
2
votes
2answers
8k views

Packet loss with RX error packets

I am seeing packet loss from all my blade servers within the HP Blade C7000 enclosure. # ping 192.168.2.140 PING 192.168.2.140 (192.168.2.140) 56(84) bytes of data. 64 bytes from 192.168.2.140: ...
0
votes
0answers
1k views

Can't install iwlwifi driver in Crunchbang

I just installed Crunchbang 10 to my Laptop in dual boot with win7. My wlan card is a Intel(R) Centrino(R) Wireless-N 2230. I saw I had no wifi, so I tried to install the driver from here by ...
4
votes
1answer
531 views

Why do piping and redirection work differently with here documents?

Combining a redirect with a here document seems logical enough: $ bash > foo <<EOF echo Hello EOF $ less foo Hello But with a pipe it behaves differently: $ bash | tee foo <<EOF ...
0
votes
1answer
418 views

Compiling ImageMagick with special path to librairies

I have been compiling ImageMagick 3.1.2 with the following options ./configure --prefix=/usr/local/imagick-3.1.2/ --with-php-config=/usr/local/php-5.3.13/bin/php-config ...
3
votes
1answer
28k views

Running linux script on remote linux system using putty [closed]

I would like to copy certain logs from a remote linux system to the windows system. I'm trying to make a batch file, that will connect to the linux system using putty like: putty.exe -ssh ...
2
votes
1answer
520 views

Mapping C-1 does not work in VIM

I'm trying to bind 1gt to CTRL + 1, so in vimrc I added nmap <c-1> 1gt But pressing these keys in normal mode does not work. Either VIM (konsole) or gVIM Anything wrong with my command?
-2
votes
1answer
121 views

How to compile c, c++ and python code as “Released/Final” version? [closed]

I want to know if there are ways to compile C, C++ and Python code in order to not be able to reverse engineering it over Linux or not? I have heard there are some ways over Windows to do it, but I ...
2
votes
3answers
2k views

dmesg filled with audits every minute from cron

My dmesg is filled with output of like the following, starting from a couple of seconds after booth and continuing indefinitely: [ 3155.216230] type=1006 audit(1393236841.859:85): pid=4206 uid=0 old ...
4
votes
1answer
4k views

Map physical USB device path to the Bus/Device number returned by lsusb

I need to get the title of the attached USB device. I can do that with lsusb. udev allows some substitutions when I write rules: say, we can use $kernel to get name of the device, or $devpath to get ...
2
votes
2answers
190 views

How to prepare a headless machine?

I'm currently preparing an SD-card for my Raspberry Pi, i.e. an ARM machine, while I'm sitting on a x86 one. Therefore I cannot simply chroot into it and run rc-update add sshd default. So, how else ...
6
votes
4answers
1k views

Using sed to add a URL to the start of every line

I have the URL (see below) of a certain web page that lists many different versions of a software package. URL=http://ftp.gnu.org/gnu/wget/ The following one-liner gets me the latest version tar ...
2
votes
2answers
377 views

netstat command doesnt work anymore on the new dedicated server

I was using the following command on my previous dedicated server with the same version of the FreeBSD installation: # uname -a FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 ...
-2
votes
1answer
429 views

Zorin OS: Low disk space message [closed]

I am frequently getting low disk space error and attached screen displayed. Let me know what to do.
0
votes
1answer
967 views

how I can generate mac address increamental like 00:00:00:00:01 00:00:00:00:02

how I can generate mac address incremental like 00:00:00:00:01 00:00:00:00:02
1
vote
1answer
1k views

How to change hard disk spin-down time on my WD MyBook Live?

I have a 2TB Western Digital MyBook Live. It works quite well and provides a web-based administration interface. There is an option to either enable or disable power saving mode, which spins down the ...
2
votes
2answers
307 views

How to get directories and and subdirectories count fastest way?

I want to get the number of directories and sub directories.I tried following command which takes very long time . I tried waiting about an hour to finish the command. commands I used $ find . -type ...
10
votes
2answers
42k views

How do you fix apt-get update “Hash Sum mismatch”

I have an Ubuntu 12.04 virtual box vm that I instantiate using Vagrant. git clone https://github.com/spuder/puppet-gitlab vagrant up As soon as the vagrant box runs apt-get update, I get the ...
21
votes
1answer
15k views

What is maximum RAM supportable by Linux?

What is the maximum supportable RAM by Linux? Assume that hardware is/supports 64-bit. Among all Linux distros. Does it go up to 16 exabytes, or is it limited like with Windows which I believe is 192 ...
0
votes
1answer
258 views

libphp4 Not Found?

I'm using CentOS 6.5 and Apache 2.2.15 I've installed PHP 4.3.11 by download: wget http://museum.php.net/php4/php-4.3.11.tar.gz tar zxvf php-4.3.11.tar.gz cd php-4.3.11 ./configure make make install ...
2
votes
2answers
63 views

join sed output

I'm looking to somehow pass the output of the following command: $ sed -n '5p' file-A into $ sed '5 c\ > "string extracted from previous sed command" file-B So basically, I want to replace ...
42
votes
2answers
5k views

How do keyboard input and text output work?

Suppose I press the A key in a text editor and this inserts the character a in the document and displays it on the screen. I know the editor application isn't directly communicating with the hardware ...
4
votes
3answers
5k views

How can I restore file timestamps of video recordings using the embedded metadata?

I'm looking for a command that will read the metadata of a ‘*.mp4’ file and touch the file's timestamp with the creation time of the video. The command should be read-only with respect to the file ...
21
votes
2answers
2k views

^x^y unix trick for all instances in last command?

One of my favorite Unix tricks is ^x^y, which will take the last command and replace the first instance of "x" with "y". However, I'm wondering if a similar trick works to replace all instances of "x" ...
2
votes
3answers
9k views

How to remote Linux desktop with audio support

I have a Debian PC (Server) and I would like to remote this machine from one client (Windows, Ubuntu,..) and be able to hear the sound from the server. I tried some tools (Radmin, RealVNC, but I ...
2
votes
1answer
3k views

usbhid can't find input interrupt endpoint

I have Scientific Linux 6.5 installed. From the beginning (on this computer) I constantly see this line jump in between all starting commands during the start up of the system (when I press esc to see ...
2
votes
0answers
116 views

Alternate keyboard inputs: dwm on Debian

Currently my laptop's keyboard has some broken keys (z, x, c). When using my Windows partition I know I can just use Alt-codes to enter the keys or use alternate hotkeys for the respective keys (Alt- ...
3
votes
1answer
2k views

Proxmox Master Node crashes

I've inadvertently discovered a Proxmox bug. I run a personal cluster of 4 nodes (a technology lab for giggles and gags). Each node has a Dell Perc 5i and 4 HDDs in RAID 10. The standard Proxmox ...
-1
votes
1answer
59 views

How to enable someone to SSH to my server from Windows? [closed]

I want someone from windows to log in into my server using SSH, so he can edit files and install things. Is there a step to step how to do it? I need to: Create his user account. Configure it, ...
1
vote
1answer
437 views

How to install 64 Bit snort on 64 Bit openSUSE 13.1?

My question is simple: I would like to install 64 Bit snort on my 64 Bit openSUSE 13.1. There is an unstable package available here:http://software.opensuse.org/package/snort I got everything but ...
1
vote
1answer
68 views

Can I change an unmounted partition's type from another partition on the drive?

On my hard drive I have a largish unused partition that I would like to use. Trouble is, it's an old Windows partition and I'd prefer to make it a proper Linux partition (I intend using it via LVM if ...
1
vote
1answer
2k views

How to select which graphics card to use?

I have a desktop machine (running Ubuntu 13.10) with two video outputs (both nVidia): an integrated graphics card, which I want to use for my desktop display, and a PCI graphics card, which I would ...
0
votes
3answers
152 views

contents of xp cd is not visible [closed]

I'm using Ubuntu 13.04. I want to take an ISO copy of XP installation CD but when I insert CD it's seen as empty CD. Is there any way to access the content of CD?
2
votes
0answers
921 views

How do I set default font for all Qt5 applications?

In Qt4, there used to be a tool called qtconfig that allowed you to set the fonts and other stuff. It also picked up the settings from KDE4's control panel. I'm working with Qt5 now (binary ...
4
votes
1answer
1k views

How do I run a script just before halt using LSB headers on Raspbian

I'm building a shutdown button for my Raspberry pi, and for that I have a python script that needs to change a GPIO pin on my Raspberry Pi just before the system runs the halt script. Now Raspbian ...
2
votes
1answer
2k views

VMD X11 session over ssh

I have a remote compute server on which I would like to run VMD. Every time I start the application, it crashes with the following error report: Info) VMD for LINUXAMD64, version 1.9.1 (February 1, ...
4
votes
1answer
5k views

Why am I getting apparmor error messages in the syslog about NTP and LDAP?

On my newly installed Ubuntu 12.04 machine, with ntp and slapd installed, the following messages appear in /var/log/syslog at regular intervals: Feb 23 18:54:07 my-host kernel: [ 24.610703] ...
2
votes
1answer
1k views

Status of 5GHz support for 802.11 WiFi devs in BSD (2014)

To put it simply, 2.4GHz band doesn't work anymore due to the plethora of various Wi-Fi and other devices, whereas 5GHz is still almost entirely empty. Do any of the BSDs -- FreeBSD, OpenBSD, NetBSD, ...
2
votes
2answers
454 views

disable sudo password prompt for boot script

I've got raspbian installed and need to mount a cifs path after boot is completed. In fstab I got an entry for this with the noauto parameter. When using auto, boot hangs. So in raspbian, the file is ...
5
votes
2answers
13k views

bash script error: source: not found

I must be missing a fundamental understanding about sourcing files in bash. I've tried the different approaches that seem like they should work, but I still get this error source: not found. In my ...
1
vote
0answers
61 views

Merge several files with maximum 1 line difference

Suppose I have the following files: file0.c: int b=NULL; int a=NULL; file1.c: int b; int a=NULL; file2.c: int b; int a=NULL; I am looking to merge the files file1 and file2 to generate the ...
4
votes
2answers
7k views

SELinux httpd write access to a directory

I am new to SELinux. came from debian. I want to give httpd access to a directory. SELinux Alert Browser suggests: # grep httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ...
2
votes
3answers
125 views

How to optimize this oneliner? (if second column empty, put the line in another file)

I have a little "oneliner": while read ONELINE; do if [[ -n "`echo $ONELINE | awk '{print $2}'`" ]]; then echo "$ONELINE" >> LIST-ok.txt else echo "$ONELINE" >> ...
0
votes
1answer
146 views

Why has `whonix` gateway a full blown `kde` desktop?

Why is it that the gateway, that's just there to relay traffic in to and out of tor network, has a full blown kde desktop? Is it possible to down-size it by 'apt-get purge kde-workspace' or are there ...
11
votes
3answers
6k views

Is there a file for each socket?

"Everything is a file" in the UNIX World. Above sentence is famous. When I run echo "hello programmer" >> /dev/tty1 , I can watch the given string on TeleType 1 , .... What and where is file ...
7
votes
3answers
4k views

key bindings table?

Do we have a key bindings table that translates all the various ways of referring to a key press? I'm using zsh, but I presume that if there was such a table it would work for any shell. The reason I ...

15 30 50 per page