0
votes
0answers
4 views

md5deep utility giving wrong/different output!

md5deep utility gives different result when calculating hashes. I have used several online tools to calculate hash and they give same result but md5sum or md5deep program on linux gives different ...
0
votes
1answer
4 views

Unable to see eth0 after ifconfig

Yesterday,I have done some changes in /etc/sysconfig/network-scripts/ifcfg-eht0 in centos 6.I have edited the value of nm_controlled= "no"after "Yes".Now,I am unable to see the eth0 after doing ...
0
votes
0answers
4 views

How do I search for files from the gnome GUI in debian?

I sometimes spend time in the standard classic gnome GUI in debian wheezy, and today I wanted to search for files containing some text in a certain folder. I tried to do it the windows way by going ...
0
votes
0answers
4 views

How to get banshee music name through dbus?

qdbus org.bansheeproject.Banshee /org/bansheeproject/Banshee/PlayerEngine how to get the value of this property? property read QVariantMap org.bansheeproject.Banshee.PlayerEngine.CurrentTrack
-1
votes
0answers
5 views

Pentesting Videos copied from kali linux does not play in windows why?

I had downloaded 9GB of penetration testing videos to my Kali linux OS. Now after I made a backup of all videos on a external hard disk. I tried to play them on windows but it gives error, inavild ...
0
votes
0answers
9 views

How can I get 1080p to work on my TV with HDMI using xrandr?

I'm using Arch Linux on a small HTPC called an Xtreamer, which has an Nvidia GT218/ION graphics card and HDMI out. My television is an Orion DL40-71BK (manual, note everything's in Japanese). HDMI ...
1
vote
0answers
6 views

LVM: is this mirrored? is copy this slow?

Background: My Windows Home Server bit the dust - some kind of OS Hang. The drives and hardware were still good; after making sure I had all my data backed up, I decided to investigate Ubuntu and ...
0
votes
0answers
2 views

Possibile sources of 5us-20us latency gap when sending long block of of serial data to tty device?

I have a trivial C program that just sends a large block of data out the serial port at a fast baud rate. When looking at the bits actually coming out of the port, I see that there is a almost always ...
0
votes
0answers
4 views

eCryptfs key in kernel image or initramfs

I have an embedded Linux system with unencrypted kernel image and initramfs in NAND flash. My RootFS is in SD card. I want to encrypted some files on SD Card as my SD card is easily accessible ...
0
votes
1answer
10 views

netcat echo server - possible with pipes instead of commands as strings?

I want to create an echo server without specifying any of my commands inside strings. I want all commands to be connected by pipes. This doesn't appear possible because the response gets returned ...
1
vote
1answer
6 views

Get allocation status of a file's range in an FS which supports delayed allocation

For a very large file with delayed-allocation, some sectors may have been allocated and some may not. Delayed allocation is supported by ext4/xfs/etc.. For example, create an empty file and set to ...
0
votes
0answers
16 views

Creating Variables in a Perl Script

Are these variables good on finding users names, user id, group names and group ids? how can I improve these variables ? Suggestions? my $group_name = <STDIN>; my $group_id = <STDIN>; my ...
0
votes
2answers
8 views

Is the content of a file always stored continuously?

In ext filesystems, Is the content of a file always stored continuously? Or the file conent can be partitioned into different parts, with each part stored continuously, and all the parts stored not ...
0
votes
0answers
12 views

Cannot mount second 1TB harddrive in Linux, works fine in Windows 8.1

So I have this problem with my second hard-drive that I have been trying to fix for quite awhile now with no luck. I have searched around to try to find solutions to my problem but nothing seemed to ...
0
votes
0answers
17 views

Is my battery broken?

Li-ion Battery POWER_SUPPLY_NAME=BAT0 POWER_SUPPLY_STATUS=Charging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CYCLE_COUNT=0 POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000 ...
0
votes
0answers
7 views

Question about openSuse server

Just wondering. Does openSUSE allow to perform a minimal (server-like) installation? (No GUI for end-users, Just like Debian and CentOS with their minimal ISOs)
1
vote
1answer
18 views

What is the porpose of UUIDs for NICs?

On Fedora/RHEL/CentOS there is a line in /etc/sysconfig/network-scripts/ifcfg-x files which defines UUID: UUID=30fcd648-ad1e-4428-as6f-951e8e4d16df NICs have MAC addresses by them selves, so what ...
5
votes
1answer
34 views

Delete an array in awk

In awk, I can clear an array with a loop, making it an empty array, which is equivalent to deleting it. for (key in array) delete array[key]; Is there a simpler way? Can I completely delete an ...
0
votes
0answers
8 views

how to make logstash read kannel log

I got logstash installed on ubuntu 12.04 using the apt repository. But logstash is not reading any document. In logstash log there are teh following: ...
3
votes
0answers
21 views

automount and NFS

I have an NFS server that exports one share. Manually mounting the remote share works without any trouble. On the local machine I have an autofs automounter running (autofs-5.1.0). Mounting local ...
3
votes
2answers
12 views

FreeBSD 10 with Root-on-ZFS using only a part of the disk

I'm having a bit of trouble here. I'll try and be as concise as possible in describing my objective: I'm setting up a storage server for my employer, using two Intel DC S3500 series 120GB solid state ...
5
votes
1answer
18 views

Rotating log files while process still running

I have a process running that writes standard output and standard error to a log file /var/log/dragonturtle.log. Is there anyway to rotate the log file, and have the process continuing to write to the ...
0
votes
1answer
29 views

Launching a program and executing a command in bash script [on hold]

How can I execute a command inside a program that I launch within the bash script? Is it possible to do so? Edit: For clarity, lets say that I launch program A and in the command prompt of program A ...
0
votes
0answers
4 views

Error initializing server: OC4J administrator account is not configured

I am getting the following error message when trying to bring up ./oc4j service (oc4j_extended_101350.zip). [oracle@sc-ifactory01p bin]$ ./oc4j -start Starting OC4J from ...
1
vote
0answers
6 views

Spawn multiple dirty page flusher threads per device

In earlier 2.6.X kernels, pdflush was used and it would spawn more pdflush threads if all current pdflush threads were busy for a second (read from The Linux Page Cache and pdflush). Since the ...
0
votes
0answers
9 views

How to power-on embedded flash memory after eject

On a Wheezy-ed Qnap TS-269L NAS I sent the embedded 512M DOM flash memory (/dev/sdc) to sleep using eject /dev/sdc after creating a new partition table on it. Previously it contained /boot/efi, ...
2
votes
1answer
12 views

I can't install new packages and can't update and upgrade

I'm trying to install some program on Ubuntu, but when I try it I got the following error.- E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock ...
0
votes
0answers
11 views

Problem installing ubiquity for debian 7 [on hold]

I made a. ISO of my OS DEBIAN 7 "remastersys", record it on a USB and run in live mode. The way instarlarll is to "ubiquity" in debian but apparently I can not instalat. so I want to install the ...
0
votes
1answer
33 views

Generating random numbers from users input [on hold]

I am trying to generate a one time random password from the user's input which i will be storing in a txt file for record keeping. Here is the code: #!/bin/bash echo "Enter your string here" read ...
0
votes
0answers
11 views

How to pass multiple commands via pssh and multiple xterms

I'm attempting to open multiple xterms and run a command as an SAP user via sudo using pssh. So far, I'm able to run PSSH to a file of servers with no check for keys, open every xterm in the servers ...
5
votes
1answer
19 views

Getting the process-id out of command launched with “su -c”

I am running a java program inside a shell and writing the process-id to a text file. So when I do this: nohup java app.Main > /dev/null 2>&1 & echo $! > /var/run/app.pid It works. ...
0
votes
0answers
8 views

How to configure a “point-to-point” connection with RedHat 6.5?

My servers are hosted at Hetzner and I need to create a point-to-point connection to my gateway. The server can only reach its gateway (and its locally configured) IP addresses directly. All other ...
3
votes
1answer
27 views

Accept only y or yes with a one-line regular expression

I want to check if an input is y or yes (inputs in lowercase) and reject everything else What I have now is ^y[e]{'0,1'}[s]['0,1']$ But this accepts y, ye, ys, yes. I don't want ye and ys to be ...
0
votes
0answers
5 views

Fusing old “KNotes” repository into a “KNnotes” repository on a new KDE installation

(Migrated from "superuser"; I will probably manage to actually test this over the weekend. Meanwhile...) I want to migrate the KDE Knotes database from an account that existed on a Fedora 17 ...
6
votes
3answers
105 views

Succinct way to respond to user input?

Of course you can do this sort of thing, read var; if [[ $var = 'y' ]]; then echo "Yes"; fi But is there any way to skip the first step and do something a little more like this, (ideally without ...
0
votes
1answer
24 views

String index processing

My input file looks like: #key string pos(string) key1 AA000AA000000AAA0A 2, 3, 18, 12 key2 00A00AAA000AAAA00A 3, 18 And I'd like to add a new column at ...
2
votes
2answers
27 views

How do I actually read an XML file in human form that makes sense?

I downloaded a catalog and it is in XML format. How do change it from code to human-readable form, and ideally save it as a plain text file? I've never worked/seen these before; I tried messing with ...
1
vote
0answers
9 views

Systemd user unit that depends on system unit (sleep.target)

I was reading doc and it is still unclear for me, whether the following is possible to accomplish: service defined in ~/.config/systemd/user/task.service that depends on system sleep.target ...
0
votes
1answer
20 views

Symbolic linking to ~/ instead of ~/[path/file]

I moved all of my dot files out of ~/ in to ~/data/dotfiles I then did ln -s ~/data/dotfiles/[filename] ~/ My intention was ln -s ~/data/dotfiles/[filename] ~/[filename] This included my .vimrc , ...
-4
votes
0answers
30 views

Advantages of creating links (Soft/Hard) [duplicate]

What's the purpose of creating hard or soft links? We can create hard links using: ln source_file file_we_want to give_link And soft links using: ln -s source_file file_we_want to give_link ...
3
votes
1answer
31 views

scp to an alias

To transfer a folder from my local host to a remote host, I normally do: $ scp -r myFolder user@host:destFolder/ Trying to make this easier, I aliased the remote host destination: $ alias ...
0
votes
0answers
6 views

Module load map

How can I obtain a module load map? I've tried with the -m flag in insmod but it seems that since 2.6 there is no support for it. Thanks
4
votes
4answers
40 views

How to securely delete a directory without leaving a trace?

I already know that using shred will overwrite my files in such a way that leaves them unrecoverable. However shred can't be used to hide directories. Error Message: failed to open for writing: ...
0
votes
0answers
16 views

Debian installation fails due to CDROM not being detected

This is a problem many users have, but there doesn't seem to be an effective solution that works for everybody. When trying to install Debian 7.6 (problem exists for other versions as well) from a ...
2
votes
1answer
15 views

How can I set default settings for htop?

Occasionally, I need to check resources on several machines throughout our data-centers for consolidation recommendations and the like. I prefer htop, mostly because of the interactive feel and the ...
0
votes
0answers
12 views

Is there anything in RHEL 6.5 that would affect I/O speed for something <24K vs >24K?

Generally, transactions for my app of setting and getting data internally are measured in a couple of millis. However, over 24K in size, that time can jump to just over 100 millis. Is there anything ...
1
vote
0answers
10 views

crlibm Library Installation Problem

I am trying to install crlibm using the installation instructions, which is as usual: ./configure make make install Then I get the following output: Making install in scs_lib make[1]: Entering ...
0
votes
1answer
31 views

Combining multiple functions into a single bash script

Is there a way that I can combine the following commands (the last is a zsh function) into a single bash script? find /path/to/directory/*/* ! -name "*.js" -type f -delete find ...
4
votes
4answers
49 views

Renaming multiple files with rename

I need help renaming files in batch--the other questions I browsed don't exactly address my problem. The names of my files are generated non-deterministically, so I can't predict what they will be ...
6
votes
1answer
77 views

Can I specify the layout of a vsplit command?

When I do the :vsplit command, it always opens the new file on the left side of the screen. Is there a way I can specify I want the new file to open to the right?

15 30 50 per page