0
votes
0answers
14 views

How to assign variable value to constant in perl? [migrated]

I have following code #!/usr/bin/perl -w use warnings; use constant ARRAY => "XCC320G"; print ARRAY; print "Enter ur choice\n"; chomp($choice = <STDIN>); ARRAY=>$choice; print ARRAY; ...
0
votes
0answers
10 views

Apr-util showing error 139 segmentation error for testxml

I am installing Apache 2.4.10 on Solaris sun sparc 10 64bit and when I compile Apr-util along with apr, during make test, it is showing some segmentation error, error code 139 for testxml. I have ...
2
votes
0answers
10 views

How can the RES memory reported for a Java process be higher than the VIRT memory?

I've been monitoring a Java process (Oracle Weblogic) using TOP and have observed that sometimes the following will happen: RES will increase from it's usual stable level of 2,097,152 KB up to ...
-1
votes
1answer
43 views

Linux command error : not working in cmd prompt

I'm a newbie to Linux. I have encountered an error when working with Cygwin and cmd prompt in Windows. I posted the snapshots. I'm trying to use carat ^ to find the info that begin with K. But getting ...
0
votes
0answers
21 views

Linux RPC - security options

I am reading about Linux RPC at this link. I want to ask, in comparison to Linux IPC (like system V IPC), where the recipient of the interaction can configure allowed access using Linux DAC, what ...
1
vote
3answers
46 views

Display distinct values of a list and number of occurences

I have a program that writes on the standard output a list of string values, one per line, and I would like to display in real time the list of distinct values along with the number of occurences for ...
0
votes
0answers
3 views

Mouse pause with dual video cards [on hold]

Every minute or two (random but regular interval) the mouse will pause for 0.25-2 seconds. This only happens when the head on the second video card is enabled. When the mouse unfreezes, top will ...
2
votes
1answer
8 views

CInt Configure Script: Syntax error at left parenthesis

I am trying to install CInt. When running ./configure, I get the following error: ./configure: 23: ./configure: Syntax error: "(" unexpected Here is the relevant section of configure: # configure ...
0
votes
0answers
11 views

How to use tshark or tcpdump to calculate bytes transmitted

I am using this command with tshark: tshark -r pcapfile "tcp and ip.src==192.168.1.1" -T text -V -x | grep 'Total Length' This essentially parses the pcap for only connections from the source ip and ...
0
votes
0answers
23 views

Cant change screen resolution in Kali Linux [on hold]

So I bought a brand new laptop, I bought a Lenovo Y50. It runs a Nvidia GEFORCE GTX. I installed Kali linux on the HDD and the screen is to large and does not fit on the actual computer screen. ...
-1
votes
0answers
2 views

gvpe connection lost

I created simple configuration for gvpe vpn software using man page . But constantly get a log. to syslog. Why do I get a log?
2
votes
1answer
42 views

How do I securely download files in shell scripting?

I am writing some shell scripts to automatically download software packages off my server and set them up on customer servers. At some point within the script, the download command is wget ...
1
vote
0answers
6 views

routing through a GVPE network

The following is a GVPE network (VPN) setup on Debian Linux systems. It is how I interpreted the two paragraphs starting at line 174 in the GVPE README. Sadly, there is not much detail and my ...
1
vote
2answers
40 views

script that lists all files in a directory and subdirectories sorted by size, listing only file names not complete paths

I'm looking for a script that lists all files in a directory and subdirectories sorted by size, listing only file names not complete paths. find . -type f -exec ls -lhS {} \+ works but gives the ...
1
vote
0answers
12 views

LVM issues and questions

I've got a NAS configured with LVM where one of the volumes is giving errors like this: vgscan reading all physical volumes. This may take a while... /dev/ElkhornC7VG1/idisk5: read failed ...
1
vote
1answer
16 views

I try to install something, telling me to add -r flag, I do and still tells me to

when I try to install Pocketmine, It tells me to add the -r flag, i do, still tells me the same thing, picture.
0
votes
3answers
69 views

How do I detect running processes using a library package?

This command is doing the rounds for detecting currently running processes using glibc: lsof | grep libc | awk '{print $2}' | sort | uniq I find it intensely annoying, since /libc/ matches not only ...
1
vote
1answer
25 views

How to zip only files under multiple subdirectories?

I have a folder working and its structure is something like this - working/ 100/ 1/ 2/ 3/ 200/ 1/ 2/ 3/ 300/ 1/ 2/ 3/ And each of these 1 ...
0
votes
1answer
24 views

is there a way to see a listing of packages ONLY from Debian-experimental?

I am on Debian testing/Jessie and I have debian-experimental as well as in my /etc/apt/sources.list. So I am looking to list packages in two ways :- a. List all the packages which are in ...
0
votes
0answers
27 views

Does Linux use Byte Order Mark? [on hold]

I just can't find any information about that, does Linux use Byte Order Mark (BOM)?
0
votes
1answer
22 views

How to create user with only SSH permissions [duplicate]

I need to create a user which can SSH to a server, but can not run any commands or view anything, for the purposes of tunneling the connection without risk of revealing credentials. How do I do this? ...
0
votes
0answers
6 views

Spoofed mac resets to default when connects to network

I'm trying to change the mac address of the wifi card. I tryed with both ip link set wlan0 address XX:XX:XX:XX:XX:XX and macchanger, and I'm able to change it, but when NetworkManager try to connect, ...
1
vote
2answers
32 views

Unable to determine your tty name on Debian Wheezy on ARM

while trying to create my Debian Wheezy image for a FriendlyARM mini210s ARM single board computer, I am bumping into this issue. I have opened a terminal via serial sudo screen /dev/cu.usbserial ...
2
votes
0answers
10 views

Problem using Ctrl+Arrow keys in Vim when using Byobu with tmux

In Vim, I had set the Ctrl+Arrow keys to skip words. This works just fine when running Vim inside the gnome-terminal. However, when using byobu (tmux), it shows weird behavior : it deletes ...
5
votes
1answer
29 views

Using process substitution to trick programs expecting files, with specific extensions as argument?

Here is my use case: the command line utility melt can accept a file name, with the extension .melt on the command line, and open it; as an example, this is a proper test_p.melt file: colour:blue ...
1
vote
0answers
42 views

Linux Executable with Unknown type asking to be executable every time I run it in Nemo

When I try to open an executable with the type Unknown I get a message saying: "The file 'file name' has no known programs associated with it. If you trust the source of this file, and have ...
1
vote
1answer
19 views

Get 'python-keyring' to stop prompting for 'encrypted keyring' password

Situation: I followed these instructions (http://mercurial.selenic.com/wiki/KeyringExtension) on setting up the mercurial keyring-extension for mercurial. On a Ubuntu 12.04.4 (precise) machine it ...
0
votes
1answer
6 views

Providing access permissions to 2 git repositories inside single git instance

I have two git repositories in one single git instance and need one set of users to access one repository and another set of users to access second repository. How can I create a group, and add users ...
0
votes
0answers
22 views

Debian offline dist-upgrade in one step

Is there a way to perform a distribution upgrade on an offline Debian system by making only one return trip to an online machine? I've managed to perform the equivalent of apt-get update && ...
1
vote
3answers
143 views

Why does BIOS needs to load first stage boot loader from MBR, but this is not the case with UEFI?

So the question is : Why does BIOS needs to load first stage boot loader from MBR, but this is not the case with UEFI? I guess it might be because BIOS cannot address 64 bits(as well as 32 bits) ...
0
votes
0answers
6 views

How to keep directory structure with aria2?

I need to download files simultaneously- wget doesn't support that so I want to try aria2. But I don't see an option in aria2 to keep directory structure. Or maybe I should try another program?
2
votes
2answers
34 views

how to workaround a deadlock (multithreading a program)

I need to run a program 100 times, a few hours each, which is fine when running it in a serial way, just takes very long, but when I try to parallelize it using GNU parallel or simple '&' in bash, ...
0
votes
1answer
25 views

Should I install the AMD/Intel microcode packages when running Debian?

Should I install the AMD/Intel microcode packages when running Debian? What exactly do they do, and when should/shouldn't I install them? Why are they in non-free?
0
votes
0answers
18 views

OpenStack Cinder: iSCSI login negotiation failure after reboot

I have a Cinder storage and controller node running on the same CentOS 7 box as Nova compute. Everything worked fine, until I rebooted. Now my instances can't mount volumes and I get the errors below. ...
1
vote
0answers
9 views

Server Authorization directory incorrect ownership during linux mint installation

When installing linux mint 17.1 from a bootable usb onto a hard drive I get the following message: 'Server Authorization directory (daemon/servAuthDir) is set to /var/lib/mdm but is not owned by ...
1
vote
1answer
52 views

It is a good idea to download the default Linux utilities?

I am working on a server environment which has almost no executables in its /bin folder, except for some basic ones like ls and ln, but I want other common binaries (like sed, awk, gcc etc.) to be ...
0
votes
1answer
33 views

Where to put files on a installer? [on hold]

I have a program that I am going to package in a .deb. Where should I put files for my program? I have had a look at the structure of things like Epoptes but I cannot figure out where I should put ...
0
votes
1answer
25 views

Change the way folders are displayed in terminal [duplicate]

I moved over from Xubuntu to Fedora. In a colored Xubuntu terminal the folders appear in bold blue wheras in Fedora they appear as normal blue. I'm familiar with ANSI codes for colors and style but ...
1
vote
1answer
9 views

Clear all Snapper snapshots

OpenSUSE (among other distributions) uses snapper to take snapshots of btrfs partitions. Some people think the default snapshot intervals take up too much space too quickly, but whether or not you ...
-5
votes
2answers
34 views

placing things in a users home directory with .deb

i am making a .deb installer and would like to place some files in the users home directory but i can not hard code a username. does any one know of any other places in the file system that i could ...
4
votes
3answers
692 views

Any disk encryption that locks itself for some time after a number of failed attempts?

Is there any way to have your disk/partition/file encrypted (in Linux or as a hardware encryption; no Windows here) in such way that it locks itself for say 10 minutes after say 3 failed unlock ...
0
votes
1answer
32 views

Audio not working on Arch Linux [solved-ish]--see #UPDATE

I've installed the alsa-utils package. Running amixer sset Master unmute returns the error amixer: Unable to find simple control 'Master',0. Executing alsamixer gives me the alsamixer application in ...
0
votes
1answer
11 views

Nano Editor over Screen in Terminal isn't fullscreen

When I connect to a device using Screen in terminal, if I open Nano text-editor it only takes up a fraction of the screen. How do I make it fullscreen?
0
votes
0answers
10 views

Unable to get kickstart file from locally hosted http

I'm trying to get a vm up using a kickstart file. However, whenever the virtual machine initalize, it says it is unable to located the kickstart file from the location provided. Code to build vm: ...
0
votes
1answer
36 views

finding and replacing text [duplicate]

Does any one know how to find and replace text in a file. it can be implimented into a bash file. i would like to find the line and the output the text to it the file can only be opened with the root ...
0
votes
1answer
25 views

How to automat password entry without user interference?

How to type password automatically without user interference. For example echo 'MyPassword@2014' > su UserName I want to automat this in my script. The script should not wait for input. It ...
0
votes
0answers
16 views

udev/udisks detect blank usb drive

I'm trying to write a web app that allows me to remotely see all usb drives plugged in my box, and allow me to format or eject them from the web page. I've got it all working except for one case: ...
0
votes
0answers
17 views

bash/svn how to filter documents [on hold]

Does anyone know how to filter documents. For example, if I had something like this: dVa/Prs/Upe/dVar.var I want to only the last file in log and then add to this file another for example after ...
1
vote
1answer
27 views

How to install software on to multiple linux clients

Is there any free way or method for ssh that could be used to install and update linux clients for a ubuntu laptop. I do not have password less ssh but the admin password is the same for all of the ...
-3
votes
0answers
19 views

Apache2 questions [on hold]

Hello i'm pretty new in using apache. But i want to edit my website on the move. I'm using ubuntu server and i run apache2. I use ssh to connect to my server, i don't use a user interface. I heard ...

15 30 50 per page