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

0
votes
2answers
39 views

How to execute a compiled C program in Linux terminal

#include<stdio.h> main() { int a,b,c; printf("enter the value of a and b for addition:\n"); scanf("%d %d",&a,&b); c=a+b; printf("Addition of ...
0
votes
2answers
31 views

Starting programm into window manager

Is there a way to start a program from a terminal, that is not a "child" of the window manager (p.e. XFCE), into a window manager? The executed program has to be detached form the terminal, so that ...
0
votes
1answer
13 views

synergy interprets a 'space' for a 'slash'

My setup is : Linux Server OSX Client Every time I use the space on my Linux box keyboard (and the pointer/focus is in a window on my OSX machine), I get a slash '/' instead. How do I fix this?
0
votes
0answers
10 views

Puppet - removing user who is logged in?

I've just started learning puppet and have came across a problem I was wondering if anyone knew how to fix.I m trying to remove a user I get an error message stating that they are logged in so can't ...
0
votes
0answers
18 views

How to execute output in c program in linux terminal [duplicate]

I done in gedit of linux terminal while giving output command it is telling premission denied I tried giving command gcc o- filename filename.c and next I gave ./filename
0
votes
1answer
23 views

USB drive stop working while is in use

First of all i'm sorry for my english. I post here because i've searched a long time in google and i've not found anything useful. I've seen some post on this forum too but all are too old or don't ...
0
votes
0answers
15 views

QEMU guest and Linux host networking configuration

+-----------------------+ +---------------------+ | bro - Host - Linux | | Guest - QEMU- Linux | | +------+ +------+ | | eth0 | | | tap0 |----| eth0 | | ...
1
vote
1answer
13 views

How to store password for switch user in my .profile

I usually connect to my AIX server using putty via my regular account and then do "su - otherAccount". This way I've to enter password twice, one for my account and one for the otherAccount. I've ...
0
votes
0answers
19 views

Windows equivalent of linux “blockdev --rereadpt /dev/sdb” command?

I have three machines A,B and C. Machine A is connected to an iSCSI disk on Machine B. Machine A can only write information to this iSCSI disk. Machine C is also connected to this same iSCSI disk on ...
0
votes
0answers
25 views

How to connect to the a Linux machine behind a router via ssh tunnel

I'm using Windows system (Machine W). I want to a Linux machine (Machine L) behind a router via ssh tunnel. I have another Linux machine (Machine T) to establish ssh tunnel. I want only packets for ...
1
vote
0answers
11 views

Use SYSLINUX to boot from a separate device

I have a laptop with no harddrive that I'm booting from a modified persistent LiveCD thumbdrive, but performance is terrible due to the low speed of the thumbdrive. I also have a class-10 SD card of ...
0
votes
1answer
25 views

Can't get codecs for mp4 on Ubuntu

I cannot enable mp4s on any sort of video player on a fresh install of ubuntu, though admittedly Ubuntu 10.10, which I have attempted to update via the Ubuntu-Software-Center route. Is there a simple ...
0
votes
0answers
14 views

Forcing ext4lazyinit to finish its thing?

Is there any way to 'force' ext4lazyinit to finish the thing it does with maximum priority? Something like "I don't care about my system's ressources, just do your job as fast as you can"? I should ...
1
vote
0answers
13 views

Linux: What is causing high interrupt activity for IRQ 23 (ehci_hcd)?

I run gkrellm to monitor my workstation. Total CPU usage usually runs 0-1% at idle; when there is activity, it's usually cyan-colored (user space). It was running clean this morning. A couple hours ...
0
votes
1answer
40 views

Is it possible to open a port for listening without netcat?

I have a need for a Linux system to listen on a TCP port and dump what it receives to a file and/or stdout. The system does not have netcat installed. I have root permissions, but am not allowed to ...
4
votes
1answer
41 views

Bash regex to rename set of files

I have to rename a set of files, using the rename command (with a regular expression).  After some tries, I'm not able to find an expression that gets the expected result. I've got a file pattern ...
0
votes
1answer
25 views

Linux does not recognize my new laptop battery

Hi there I just bought a new laptop battery for my acer 3820tg, connected it but looks like my Linux Mint 17 can not recognize it. Battery led on laptop is blinking by orange color and acpi command ...
1
vote
0answers
31 views

Recover deleted files Raspberry Pi [duplicate]

Yes, I know I should've had a backup, but I accidentally rm -rf'ed a folder with some files I need in it. It was in the home directory, I shutdown the Pi as soon as I realised. Is there some file ...
0
votes
1answer
13 views

Scroll bar in xgterm?

Does anyone know how to add or activate a scroll feature in xgterm? It is a bit obnoxious to not be able to scroll around the rest of the terminal.
0
votes
0answers
30 views

Update the driver for Intel(R) HD 4000 - Ubuntu 13.10

I have a problem with my computer on Ubuntu 13.10 . The boot stops after the grub. I think (thx to logs) there is a problem with my graphic card. It is an Intel(R) HD Graphics 4000. I can launch the ...
1
vote
1answer
27 views

Different globbing behavior with same shopts?

I have multiple shells (bash) open on the same machine, and in one of them, globbing seems to have stopped. ls * gives ls: *: No such file or directory, and so on. I figured that I must have set some ...
0
votes
1answer
39 views

Send email for a multiple addresses [on hold]

How can I send email for multiple addresses in my Python code? #!/usr/bin/python import smtplib import sys, getopt recipient='' subject='' body='' try: myopts, args = ...
7
votes
0answers
62 views

Hooking Linux machine to secondary router/ISP: how to setup routing correctly?

Abstract: I have (I presume routing) issues when adding a secondary ISP to my existing network setup: incoming traffic through Router1 is not answered, but local traffic and incoming through Router0 ...
0
votes
3answers
37 views

Create archive with hidden files and folders creates a . root entry

I am trying to archive a project folder with hidden files and folders, and I get one with a root entry of .. It's annoying. Typically : tar -czf $ARCHIVE_NAME -C $DIR . will create an archive like ...
0
votes
3answers
24 views

Redirect stdin to stdout

I've got a script, ex myscript.sh, and it has to redirect to stdout what it gets from stdin (like a cat). For example: myscript.sh < myfile.txt > myfile2.txt How to do this? Also, how can i ...
1
vote
0answers
16 views

Semaphores leftovers on linux machine

While managing large Linux servers environment I see sometimes machines reaching their IPC limits, more specifically, semaphores leftovers: Linux #ipcs -u | grep -B2 sema ------ Semaphore Status ...
0
votes
1answer
26 views

Puphpet, Vagrant and Nginx custom locations

I'm trying to add some custom Nginx locations to a Vagrant Puphpet config.yaml file and it seams I cannot find the correct format for that. I searched for it but no luck. Did anybody already did this ...
0
votes
0answers
10 views

Qt Installation woes on RHEL 6

I wanted to install qt-creator on my machine so I went ahead and downloaded the appropriate rpm package qt-creator-3.0.1-3.el6.x86_64.rpm. Soon ... rpm -ivh qt-creator-3.0.1-3.el6.x86_64.rpm ...
0
votes
0answers
14 views

Access server via URL or web application

I have 2 queries listed below. 1) Is it possible to execute a command in server via a URL (HTML or JSP). examples: find hostname - http://123.456.789.1/hostname.(jsp or html) HOSTNAME ls -ltr - ...
0
votes
0answers
19 views

Webcam not recognized by flash (browser)

I have a webcam that works fine in software such as camorama and cheese. However, I cannot use it in websites that allow you to use a webcam (it's not recognized). I'm using Chromium 34.0 with Flash ...
0
votes
2answers
74 views

Debian USB install cannot find hard drives

I'm attempting to install Debian wheezy onto a new server box I just built, however the auto-detection for the platter drives and SSDs (using SATA 6gbps) does not seem to pull up anything. In fact, ...
1
vote
1answer
28 views

Restore boot without formatting (UEFI)

I have a problem and I would not format more my poor HDDs. Hardware situation: Motherboard Asrock 970 Extreme4 (UEFI) HDD1 (/dev/sda) -> Recovery | EFI Partition | Windows 8.1 HDD2 (/dev/sdb) -> ...
0
votes
0answers
14 views

unable to find a suitable fs

I am trying to install edx on a virtual machine. But i am getting problem with apparrmor.When i run command. $ apparmor_parser Warning: unable to find a suitable fs in /proc/mounts, is it ...
0
votes
1answer
11 views

USER field in ps command(android env)

In android environment, What does USER in the ps command indicate? ps USER PID PPID VSIZE RSS WCHAN PC NAME root 1 0 748 608 c0267708 0001b95c S /init Here ...
0
votes
1answer
26 views

What happens with existing connections, if default gateway is changed?

I have been wondering about the following scenario: +-------+ +-------+ | ISP 1 | | ISP 2 | +-------+ +-------+ | | | +--------+ | --eth0| ROUTER ...
1
vote
2answers
42 views

Can't install wireshark on Debian Linux

I'm trying to install Wireshark on Debian (Debian 3.2.51-1) but i'm getting this error: apt-get install wireshark Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
21 views

Relocate jpg files from nested/buried structure to relative known directories

I'm trying to batch move/organize a large number of files (.jpg) from nested subdirectories to a relative directory. The structure is pre-planned. Just not 100% sure what the most efficient and safest ...
0
votes
0answers
9 views

Using tshark, how to filter all packages without data packages (http)

I'm trying to filter all the HTTP packages with a capture filter, cuz I need to save the packages in a .pcap file. But I don't want to save the data packages.
1
vote
0answers
18 views

Send email alert when receiving mail on a different address

I currently have 3 email addresses for various things (university, work, personal - all gmail addresses) - I'm trying to stay notified of new emails in all three, but the widely-used methods aren't ...
0
votes
2answers
20 views

Get specific point in referer of apache access.log

How can i get referer from apache access.log whitout the "GET" and "HTTP/1.1"? cat $APACHELOGFILE | awk -F\" '{print $2} The Output is: GET /folder/xpto/ HTTP/1.1
1
vote
0answers
7 views

Can I configure GNOME 3 to move a window to it's own workspace when maximized?

I'm using GNOME Shell 3.10 and would like to have each maximized window moved to its own workspace automatically. Ideally I'd also like GNOME to prevent any workspace from having more than one ...
-1
votes
0answers
16 views

Software to maintain multiple remote linux machines [closed]

I'm looking for a software which allows you to maintain multiple remote machines. Every machine runs Ubuntu. For example, if I need to run Software Updates, I don't want to access every single machine ...
0
votes
0answers
10 views

GNU screen command on path not found

When I use GNU screen in the following way, it works: screen java -jar .... but why does screen bukkit .... not work when bukkit is a executable script from my path ($PATH)? I've read here, ...
0
votes
1answer
15 views

Using xargs with $() - operator precedence?

Inspired by this question. The original question, in short, is "How to turn all :2f into - in all files within a folder". e.g. If I have a file ./abc:2fdef it should be renamed into ./abc-def. At ...
0
votes
0answers
7 views

Is ramdisk_size still needed with a .cpio initrd?

I'm creating a rescue system with the following two files: rescue.linux (version 3.2) initrd.cpio The initrd.cpio file can be quite large, larger than the default 4MB of a ramdisk. However, it ...
4
votes
2answers
25 views

Rename ':2f' to '-' on folder names in Linux

I've got a hard drive taken from a NAS drive where files had been put on from a Mac - However, some of the filenames had been, for example, 'backup 16/07/14' which has then been changed to 'backup ...
2
votes
1answer
20 views

Debian - restore packages to stable after playing with unstable

I installed some unstable packages on my wheezy and now some libraries and other dependencies are all mixed up because the newer versions were installed than the ones that the packages from stable are ...
0
votes
0answers
112 views

After installing Debian 7.6 first (and any) boot I have a blank screen

I've installed Debian Wheezy 7.6 on my old Dell Inspiron 1525 laptop, with no Desktop Environment and Linux kernel 3.2.0-4-amd64. Specs: CPU: T5550 - Intel Core2Duo Ram: 4GB VGA: Intel Chipset 965 ...
0
votes
1answer
38 views

Linux Mint 17 could not boot

I have a sony external hard drive. In that i created dev/sdc1/ (NTFS) for windows8.1 clone image via clonezilla. dev/sdc2 (NTFS) dev/sdc3 (NTFS) then i deleted sdc2 and then created root/ , home/ ...
0
votes
0answers
33 views

Samba4 + Windows 7 + Linux Client

Server side: I have installed samba4 (4.1.9) on a centos server 6.5. Samba’s installation went smoothly. Clients: Windows: I have installed Windows 7 Enterprise Edition 64 bit with SP1, it joined ...