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

22
votes
6answers
16k views

How can I diff two XML files?

On Linux, how could I generate a diff between two XML files? Ideally, I would like to be able configure it to some things strict, or loosen some things, like whitespace, or attribute order. I'll ...
2
votes
4answers
4k views

how to make tcpdump to display ip and port number but not hostname and protocol

I'm using tcpdump for some tests I want to see the IP and port number but the output of tcpdump is like IP pl1snu.koren.kr.http > kitch.pl.sophia.inria.fr.dnp: Flags [P.], seq 54:72, ack 1, win ...
0
votes
0answers
4 views

Add a top panel button in gnome shell to turn off monitor

I would like to add in the top panel of gnome-shell a button to execute sudo sh -c 'vbetool dpms off; read ans; vbetool dpms on' in order to turn off the monitor. I have no idea on how to do it.
2
votes
2answers
223 views

Any lightweight Linux/Cross-platform text editor that does tables? [on hold]

I like to organize info in tables. OpenOffice/LibreOffice is too heavyweight, I don't need the hit to swap nor the featureset. Is there any lightweight editor that does a table/grid like that, and can ...
0
votes
0answers
10 views

Find Windows 7 driver for Realtek RTL8111/8168/8411 PCI Express

We have a desktop computer here which has Ubuntu installed. We want to install Windows 7 on an identical computer, but now have no network connection. Windows doesn't recognize the network card. On ...
0
votes
1answer
11 views

Ubuntu Server 14.04 LTS - GRUB fails to install on a VM

I'm trying to install and run Ubuntu Server 14.04.1 LTS on a VirtualBox for testing purposes. However, I can't even pass the installation process without errors, and it will fail to install the GRUB ...
0
votes
0answers
5 views

How to unpack rar archive with p7zip under Centos 7

I'd like to make my 7z command to be able to extract RAR archives. I have installed p7zip and p7zip-plugins packages from EPEL repository. However, if I try to extract a rar file like this: 7z x ...
0
votes
0answers
13 views

Install win 7 along with a previous linux installation

Trying to install windows 7 on the last partition of my hdd (WD 500 gb lpvx advance format drive). The disk already has 6 previous partitions which have Debian Lenny, Wheezy, and Ubuntu studio 12 ...
6
votes
3answers
4k views

How to upgrade to latest git on debian 7?

I have installed git through apt-get on debian 7 which gives me: # git --version git version 1.7.10.4 I would like to ugrade to the latests version of git. I have tried: sudo apt-get install ...
-1
votes
1answer
11 views

Mounting /dev/sda on / and /dev/sdc on /usr

I want to know why you can do that kind of things? Why can you mount /dev/sda on / and /dev/sdc on /usr? Why don’t directory contents collide between /usr of /dev/sda and /usr of /dev/sdc? It ...
1
vote
0answers
11 views

XEN HVM: GUI rendering artifacts on VNC

I'm facing a strange issue running Xubuntu (tried Ubuntu also, same problem with Unity, but no problem with Metacity) on Xen HVM while connecting to it via XEN's builtin VNC. Some parts of the user ...
0
votes
0answers
7 views

How can I write a simple script for the Ubuntu terminal which turns off the screen for X seconds every Y minute?

I am quite tired of getting a headache when working with the screen for too long periods of time. That's why I want to test the following... How can I write a simple script for the Ubuntu terminal ...
0
votes
0answers
9 views

Bash script monitor file modification after its closed

It has already been asked here and I have found the solution for the first part of my question. So for the moment I have a bash script (script1) where I evaluate the sha1sum of a specific file ...
0
votes
1answer
1k views

FTP Not Connected - Can't input user credentials

I'm trying to download a file from a Linux server via FTP from Windows command line. I've successfully downloaded the file with FileZilla (same server, same file), but I want to do it in cmd.exe. ...
0
votes
0answers
9 views

midnight commander subshell - sharing a history file with the shell mc was started from

I am looking for a way to make midnight commander share its subshell history with the parent shell. To be more specific, when I start mc, open its subshell using Control+o and subsequently invoke a ...
-1
votes
0answers
12 views

explain the top command in andriod [on hold]

When I use the top command to get CPU information in Android, I get strange data in the following lines: User 0%, System 100%, IOW 0%, IRQ 0% User 0 + Nice 0 + Sys 6 + Idle 0 + IOW 0 + IRQ 0 + SIRQ 0 ...
0
votes
0answers
3 views

Pulseaudio: how to rescan audio devices?

When adding a USB device to my system (I deliberately run no modern stack for device detection), Pulseaudio can't pickup it without restart (pulseaudio -k; pulseaudio --start). Is there an option ...
0
votes
1answer
22 views

Can CygWin 64 bits compile 32 bits sources?

I am trying to compile on CygWin 64 bits the (presumed) 32 bits wake on lan tool here created by Thomas Krennwallner, supposed to compile on Unix and Windows under CygWin. After download I did: ...
1
vote
1answer
20 views

Send emails over port 80 using Linux command line

I have a server that is not allowed to send outgoing emails or have access to any name servers. What it has is an http proxy that allows it to access the other servers and I am able to do wget ...
4
votes
0answers
25 views

Tar using progress bar and handling multi-volumes

I'm trying to create a tar of a large LVM volume onto multiple external drives. That part is solved. Now, because it is a LONG process, I'd like a progress bar. From the excellent articles here, ...
2
votes
2answers
67 views

Remapped keys (with xmodmap) in Linux host stopped working in VirtualBox Windows guest

I've used the following xmodmap script for years to swap my Left Ctrl and Caps Lock keys in Linux: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = ...
1
vote
0answers
17 views

Pacmd dynamic range compression Ubuntu 14.04

I used the answer at the link below to successfully set Dynamic Range Compression on my Ubuntu media box running Ubuntu 14.04 (SteamOS session, so no Ubuntu desktop session available). Realtime sound ...
0
votes
0answers
18 views

Renaming burned CDs

I'm stuck with a problem that would require a skill set a little farther than mine, I currently installed Ubuntu for the first time on a piece of hardware, but I didn't take in account that the ...
88
votes
5answers
275k views

How to install the real Firefox on Debian?

Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It, however, lacks plugin support, and most of my favorites don't work. So what is best way to install the "real" Firefox on ...
0
votes
0answers
25 views

weird behaviour with forever, bash, apache and php

I'm running some node.js scripts with forever. I started them as www-data user (i.e. via ssh logging as www-data@server and typing forever start myapp.js, etc.). Ok, everything goes like a charm; my ...
0
votes
2answers
119 views

schroot Don't Share Home Directory

I created a schroot recently (following the directions here), and it conveniently shares my (host) user home directory. That is, /home/username is the same in the chroot as outside the chroot. Where ...
0
votes
1answer
16 views

No Volume Group found error.How to rebuild initrd in Red Hat 5.1?

Motherboard failed in one of the Red Hat Server. So, I moved the HDD to a new box. As If I boot the machine. This error shows up. After refering to many sites, they said about rebuilding initrd. So, ...
5
votes
1answer
114 views

Why does the ls command require a dash before its parameters but for tar command, the dash is optional?

I am new to Ubuntu and I am trying hard to understand the command line. When I want to see the contents of a tar file I use: tar tf tarfile.tar But when I want to see a listing of all file if I ...
0
votes
1answer
34 views

How to recover deleted files with original filenames on FAT32 usb?

I have tried several products to recover the data. I have all of the original files thanks to photorec and foremost however, the images are useless without the correct filenames. I have all of the ...
0
votes
1answer
12 views

Echo/Pipe command output to Serial line

I have a serial device running on 115200 baud at /dev/ttyUSB0. I need to Pipe the output of a command to it. I Need somthing like: command-that-gives-stdout | command-that-puts-stdin-to-serial --baud ...
0
votes
1answer
30 views

I am am connected to my wireless router at home but it won’t give me an Internet connection

I have a Thinkpad running Linux Mint 17 and my connection is on wlan0 which is the Intel Wi-Fi interface. Several days ago I was connected to the Wi-Fi router at home and everything worked like a ...
2
votes
2answers
7k views

Which keymap should I use for a wired Mac keyboard in Gentoo Linux?

I just purchase the new wired Mac keyboard: Running on Gentoo Linux it works mostly fine. The only problem I am having is the function keys and swapping the Alt and Command keys to resemble a ...
1
vote
1answer
21 views

Complex alias command

I am trying to create a complex alias. I have a lot of servers I have to ssh to and writing the entire command is quite annoying some times. I created aliases for every machine: alias ...
0
votes
3answers
30 views

Unrecognized archive format when trying to extract content from a TAR archive

I have an uncompressed TAR file created on Linux. If I use less to view the file I can see all the data; mostly code files. However if I try to decompress it I get the following error: tar: ...
2
votes
4answers
59 views

Can I use an Android Phone as a Linux Box? [on hold]

Is it possible for me to use my Android phone as a linux development box? E.g. install some sort of package manager such as Apt/Yum followed by GCC, Vim etc. Then I simply connect my phone via USB ...
0
votes
0answers
17 views
+50

How should an SDIO bus show up in Ubuntu 13

I have a couple of USB-attached SD card readers that also at least claim to support SDIO devices. I'm using Ubuntu 13.10. I'm wondering how to tell if the devices with the drivers they're using do, in ...
0
votes
0answers
8 views

What are my options to clear vertical screen space on centOS?

I'm migrating from ubuntu to centOS and one thing I have noticed is how the default GUI of ubuntu clears vertical space. It does not have a bar of open programs on the bottom and windows have a ...
0
votes
0answers
10 views

What kernel configuration flags need to be enabled for SDIO in Linux?

Which kernel configuration flags need to be enabled in order for an SDIO bus to work in Linux? Are there any additional specific drivers that need to be added for SDIO busses to work? In ...
0
votes
0answers
17 views

Fedora 8 on intel atom device using live image burn with unetboot

I'm new in LINUX, and I've been installing fedora 8 live image on intel atom based cpu ( installed on the harddrive, not usbstick) I have a running internet connection (router, Windows based PC, and ...
3
votes
4answers
892 views

Partitioning a disk with already existing partitions

On a Linux Virtual Machine that i recently setup, I had a disk /dev/sdb of size 20G in which i created 8 partitions (3 primary, 1 extended containing 5 logical partitions), using upto 10G of space. So ...
0
votes
3answers
44 views

What does this use of the echo shell command do?

I found echo -n $'\e]0;Hello World\a' in a shell script that's part of a code base I'm working on. What exactly does that do? It certainly doesn't echo anything visible. Note, I'm using Ubuntu ...
12
votes
6answers
16k views

How do I get the number of frames in a video on the linux command line?

I have a video file and I want to get the number of video frames that are in it. I can use ffmpeg to get the length of the video and the FPS. However I can't see anything obvious for the total number ...
0
votes
1answer
11 views

Old ALSA application and PulseAudio

I have an very old application, from repository - it's soundmodem (for amateur AX.25 radio packets). I'm using Linux Mint 17 with default sound driver, it's PulseAudio. Options in application ...
0
votes
1answer
9 views

Ubuntu 14 mouse single click registering/behaving as double click

Since I upgraded my Ubuntu box to 14, I was facing the issue that almost every time a folder, item, etc was single clicked, it fire a double click action. As you can imagine this was very annoying, ...
0
votes
0answers
13 views

How to auto mount vbox shared dir

In guest, i can use following to mount shared folders sudo mount -t vboxsf Download ~/Downloads my question is: how to mount it on guest startup
0
votes
1answer
18 views

If else case for established connection

How do I modify this test such that if the number of connections to port 1234 is greater than 10 then to execute a command (like an echo something)? [[ $(netstat -tan | awk '/:1234/ && ...
1
vote
0answers
28 views

Growing an encrypted RAID5 array without causing alignment issues

Question Is there anyway to tell mdadm to make sure a certain logical sector on the RAID-device stays aligned to the beginning of a stripe when growing a RAID5 array? Problem My RAID5 is encrypted ...
0
votes
1answer
32 views

How to git pull without asking password?

I have a problem for make a auto pull for a git repository. I explain my situation : i have 2 sever on linux (Debian), one for the repos (dev01) and another one for make documentation with doxygen ...
1
vote
0answers
17 views

Copy text file from a isolated server

I have a linux remote machine which is isolated from the rest of the world. To access to it I have first to connect via ssh to a gateway. When connecting to the gateway I have no prompt, but I must ...
1
vote
1answer
37 views

Last Windows 8 update removed Grub

I have a dual boot with Windows 8 and Fedora 20. Since 2 days ago, it worked well, but actually I rarely use W8. I booted briefly on it and it decided to install some updates, which made Windows ...