0
votes
0answers
5 views

Using directive and namespace aliasing with Ksh

Can I create an alias for a korn shell namespace? Is there anything like the using directive in C++ (bring several namespaces together and throw a (compiler) error if a symbol designation is ...
0
votes
0answers
4 views

How do I exit coasting when a key is pressed?

I have enabled coasting on my touchpad: $ synclient -l | grep -i coast CornerCoasting = 0 CoastingSpeed = 20 CoastingFriction = 50 It works fine. However, if I ...
1
vote
1answer
19 views

How to install Linux (ElementaryOS) on a hard drive whilst preserving its files?

I am currently on this screen:           (This links to the original, uncropped, version of this image.) after choosing "something else". I have a 1 TB WD hard drive (/dev/sdc) onto which I want ...
1
vote
1answer
7 views

Is it sensible to use multiple LVM layers with mdraid

I'm building up a home server that will be used for a handful of different things. I'd really like to try a Btrfs raid 1 array for a large data store, but I'm using CentOS 7 (older kernel although ...
0
votes
1answer
21 views

Process command

When I used ps -u root command in Ubuntu it showed the following output? PID TTY TIME CMD 1 ? 00:00:02 init 2 ? 00:00:00 kthreadd 3 ? 00:00:00 ksoftirqd/0 5 ? ...
-3
votes
0answers
8 views

How to automate yahoo page using watir [on hold]

i'm new to ruby and i need to write a script to automate yahoo page using watir. if anyone like to help me out please give me a sample script i can start up with. Thanks in advance
0
votes
1answer
10 views

Ubuntu 15.04 desktop frozen after login

I have just done a fresh install of Ubuntu 15.04 Server. After I log in, I see the dash and after a while just a black screen with the cursor on it. I have updated my nvidia drivers (sudo apt-get ...
5
votes
1answer
54 views

Shell namespaces

Is there a way to source a shell script into a namespace, preferably a bash shell script but I would look into other shells if they had this feature and bash didn't. What I mean by that is, e.g., ...
0
votes
1answer
17 views

How to avoid recursive directory traversal for syncing two directories?

I see a lot of useless recursive directory traversal in: rsync unison owncloud All above application (and many more) do recursive directory traversal over and over again. Since the application ...
0
votes
1answer
13 views

What is difference between different cpu.cfs_period_us values?

I'm reading kernel[1] docs and confused about the cpu.cfs_period_us in this part: 3. Limit a group to 20% of 1 CPU. With 50ms period, 10ms quota will be equivalent to 20% of 1 CPU. # echo ...
0
votes
0answers
7 views

systemd in Raspbian for NZBGet

Having shifted to systemd I am having to run software such as NZBGet, Sonarr and from /etc/systemd/system folder. I have managed to get all but NZBGet running here is the file: [Unit] ...
4
votes
1answer
64 views

making the current directory as if it were where absolute path starts

I'm wondering if there is an app that makes it so that commands after it operate in an environment that treats the working directory as if it were the top-most one, and there is absolutely no way to ...
0
votes
1answer
4 views

in freebsd add DHCP IP as an alias on top of statically configured IP to the same interface on console (not by config files)?

I need to find a way to configure an alias by DHCP but not touch statically configured IP of the same interface and have to do it all by console, not by editing some conf files. As far as know you ...
1
vote
1answer
6 views

NTFS partitions with high IO load causes consuming all processor time

My system (linux 3.16, ntfs-3g 2013.1.13AR.1) has 2 NTFS partitions and 2 ext4. I have 2 hard drives, each of them has 1 ntfs and 1 ext4. I've noticed that high inpit-ouput on NTFS partitions causes ...
-1
votes
0answers
13 views

Php Problem with mysql_query()

I've been having problems with my php code. I seem to be getting an error from @mysql_query(). Here's my code for php: <?php // A simple PHP script demonstrating how to connect to MySQL. // Press ...
4
votes
1answer
17 views

tmux key binding to pipe pane contents to program

I'm trying to get this key binding to work to pipe the contents of the current pane to a program of my choosing: bind P command-prompt -I "vim -" \ "capture-pane -eJ -S - -E -; \ set-buffer ...
2
votes
0answers
14 views

Huge battery drain during suspend to ram - 12%/hour

I got a new machine that drains disproportionate amount of battery during sleep: ~12%/hour. It's not a battery problem as the system makes it nearly 5 hours on normal use. Something is definitely ...
0
votes
1answer
17 views

Make room on my disk to install another OS

I installed Kali Linux on my HDD with the installer Option (right after the partition settings) Use entire disk space(beginners) After installing Kali, I wanted to install 2 More OSs but now i ...
1
vote
2answers
69 views

how to log reboots dates

I'm new to Linux, and I'm always unsecure if I'm doing things the proper way I'm using a Raspbian system that sometimes reboots ( for some non software problems ) and I want to have a log on when each ...
0
votes
0answers
19 views

Cannot access the hardware clock as a non-root user

I try to use the hwclock but I get this output: [arkadi@arkadi-linux /home/arkadi $]hwclock hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the ...
1
vote
0answers
10 views

Wine anti aliasing doesn't work

I'm using infinality for my font rendering on my Arch machine. (And yes, I've installed the multilib packages.) My fonts are beautiful everywhere except in Wine since anti aliasing does not work out ...
1
vote
1answer
12 views

Using Btrfs to eliminate corrupted archives

I am trying to get my personal filesystem in order I want to tar everything and get it organized into proper directories I have many HDDs and a few SSDs I want to use Btrfs with it's checksum and ...
0
votes
1answer
8 views

How to properly install nvidia drivers in Debian

I have the following configuration: root@bitthunder:~# lshw -c display *-display UNCLAIMED description: 3D controller product: NVIDIA Corporation vendor: NVIDIA ...
1
vote
1answer
17 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
0
votes
0answers
9 views

restrict access to certain directory lighttpd

how to restrict access to certain directory in lighttpd, block all ip's and only allow for my ip address. root directory is at /var/www . and i created /var/www/stats directory and symlink to ...
0
votes
3answers
29 views

How to obtain the whole disk activities triggered by file systems under linux?

I want to record the disk access activities called by OS. Such data I want to record are received by disk from OS, including disk sector number, request length, arrival time, read or write. To be ...
1
vote
0answers
20 views

Exporting a function from .profile/.bashrc

What am I doing wrong...? It's fine if I do this on the command line and then call it but not when I load it from .profile. Linux Mint Qiana, Bash 4.*, if it matters. function android() { command ...
1
vote
0answers
9 views

Unable to get networking working in FreeBSD-10 Jail

I am unable to use networking inside of a jail. I am following this: http://www.scottro.net/freebsdjail.html Here is my /etc/rc.conf hostname="sparkette" ifconfig_dc0="DHCP" sshd_enable="YES" ...
1
vote
2answers
22 views

Difficulty using 'md5sum -c'

I'm having some difficulty using md5sum to verify some copied files. I have two directories: dir1 and dir2. In dir1 there are five files: file1, file2, file3, file4 and file5. dir2 is empty. If I ...
0
votes
0answers
10 views

Dell 11 Ubuntu MATE touchpad problem: reacts to pad of finger, but not tip

(I also posted this in the Ask Ubuntu Stack Exchange. Not trying to spam you guys, just not sure where to post). I just installed Ubuntu 14.04 MATE on a Dell 11 Chromebook, and since booting for the ...
0
votes
0answers
7 views

Tiny Login Window for Mint Linux inside virtual box

I am running a virtual box 4.3 under Mac OS on a MacBook Air. I just installed a fresh copy of Mint Linux (Cinnamon 17.2). The installation went without a problem but upon restart the login window was ...
0
votes
1answer
8 views

Working with exporting PATH CentOS strange behaviour

I Trying to modify $PATH variable in two differents Scripts: The Scripts were located in: /etc/profile.d/ # gedit /etc/profile.d/php.sh & #!/bin/sh PATH=$PATH:/usr/local/php/bin export PATH # ...
-1
votes
0answers
27 views

Escape in awk invoked [on hold]

Using this line: sed -i 's/\t*$//' file_a > file_a I would need to incorporate in R in the system command (to execute it in a loop). I know that the escape is / but: system(paste("sed -i ...
1
vote
1answer
36 views

validate the sequence number in the trailer of a file

We have a file that arrives daily and has a sequence number in the trailer like 9999 TR SAP _AP Distribution 0000000000000001 where 0000000000000001 is the sequence number and the file that ...
0
votes
0answers
8 views

Get AMD 8320 CPU temp?

I'm looking to get the CPU temperature of my AMD FX-8320 chip. I have lm-sensors installed and I've run sensors-detect saying yes to all of the prompts. I also have the kmod system service running and ...
4
votes
1answer
52 views

using pipe to run command in background

I was reading this question on rpi and noticed an interesting line that got me thinking: mkfifo tcp.stream nc -l -p 1234 > tcp.stream | omxplayer --live tcp.stream Notice the io redirection. ...
0
votes
0answers
14 views

Debian server management GUI

I have to manage a number of Debian servers (one as the KVM host, and the others as virtual servers for File management, Infrastructure management - DNS, DHCP etc, and finally a Debian based ...
1
vote
1answer
13 views

Fix flv file with small errors

I have a couple of flv files downloaded with youtube-dl. When they are played they fail after a few minutes with: Unsupported video codec (X) where X is e, 9, or b. My guess is that one block is ...
-1
votes
1answer
48 views

SSH into a Remote Machine with a Password

I'm to trying to dd a remote disk using SSH with the following command: ssh userfoo@111.111.111 "dd if=/dev/xvda1 | gzip -1 -" | dd of=/home/user/image.gz I get the following error: ssh: ...
1
vote
0answers
7 views

Ubuntu 14.04 - Multiple Griffin Technology Powermate Knobs

I am running Ubuntu 14.04, and I want to run multiple griffin powermate knobs: https://store.griffintechnology.com/powermate. I want to map them to different keys other than audio control. I want to ...
-1
votes
0answers
37 views

16 threads machine, however only 8 can be used [on hold]

Basic Information: CPU: 2x Intel Xeon E5520 @ 2.27 GHz; 4 cores/processor | 2 threads/core | 16 processes; OS: OpenSUSE 11.1; As shown in basic information, this machine has 16 threads. Therefore ...
1
vote
1answer
18 views

Move data from regular partition to lvm

I've read a bit about lvm and decided that I want to switch to using it. It seems like actually setting up lvm can be done from the debian installer, so I suppose that'll be easiest. What I'm not sure ...
0
votes
0answers
16 views

Installation of linux and windows xp

I have 80 Gb harddrive, 512 Mb RAM in my pentium 4 pc. Now the Windows XP I had got corrupted and i want to install new xp sp3 but each time I use the bootable USB it says unable to find operating ...
1
vote
0answers
21 views

Linux cgroups: limit CPU usage in absolute values which do not depend on CPU speed

I have a server with a 2.4GHz processor. And there are several cgroups, each one allowed to use 25% of CPU. That's equal to 600MHz. Then I replace the CPU with a faster one, let's say 3.0GHz. If I ...
1
vote
0answers
17 views

Moving to FHS 3: How to overwrite GNU Autotools directory variables?

In GNU Autotools, the directory variables $sharedstatedir and $localstatedir expand to $(prefix)/com and $(prefix)/var respectively. However the com and var directories don't exist anymore in FHS 3, ...
-1
votes
1answer
14 views

Setup portable linux distrubution on external HDD [on hold]

I have a 2TB external HDD. All i want to do is choosing a correct Linux distrubution and installing it on my external HDD. Operating system should be portable i want to use it with different ...
-1
votes
0answers
17 views

systemd systemctl service on Debian [on hold]

● nzbget.service - NZBGet Loaded: loaded (/etc/systemd/system/nzbget.service; enabled) Active: inactive (dead) since Sat 2015-07-04 16:34:56 BST; 1h 5min ago Process: 774 ExecStop=/opt/nzbget/nzbget ...
-3
votes
0answers
24 views

Find the number of jobs present in each box. Find the number of child box in each parent box [on hold]

BOX_A--------------------SUCCESS JOB_AA--------------------SUCCESS JOB_AB--------------------SUCCESS JOB_AC--------------------FAILURE BOX_B--------------------FAILURE ...
9
votes
2answers
222 views

Could Apt delete packages that are need by software that users have installed from source?

Apt handles dependencies among packages installed from its repositories or *.deb files. However, what about software that users have compiled and installed from source with ./configure && ...
1
vote
0answers
6 views

Share WiFi internet over same WiFi adapter

I am trying to share internet through my WiFi adapter which is in use for connection to that internet. While I had Connectify license on Windows, I was able to do so: Internet from: My Wifi adapter ...

15 30 50 per page