0
votes
0answers
3 views

Why doesn't the Linux kernel prioritize interactive programs?

I've noticed that when running at 100%, things like GNOME become less responsive until I kill background tasks that are expected to take a long time, like compilation or downloading email. Why ...
0
votes
0answers
6 views

How can I reverse a video clip?

OS is Debian 8. I have a file clip01.mp4 that I would like to reverse, so it plays backwards. Audio can be discarded or reversed as well, doesn't matter. Apparently ffmpeg is deprecated in favor of ...
0
votes
1answer
15 views

Using only in-memory command history

How can I prevent Bash from writing history entries to disk? My ~/.bashrccontains the line trap 'unset HISTFILE; exit' SIGHUP but it doesn't have the desired effect. If I run history -c && ...
0
votes
0answers
5 views

install php7 alongside php5 on ubuntu

I have installed php 5 as my main version on ubuntu 15.04 which i use to develop my current projects. I want to install php 7 alongside php 5 is there a way to install both??
0
votes
0answers
19 views

Write bash_history to a file with a timestamp

I need help with the script below. The requirement is to capture command line history in a file with specific date and time of commands, when they were executed. The below script captures history ...
0
votes
2answers
12 views

Cloning root filesystem of a virtualbox partition

I have a test virtualbox partition running CentOS 7. There are many configurations on this particular partition. Some particular configurations, I have forgotten. I need to transfer this virtualbox ...
0
votes
0answers
6 views

How to change the console_loglevel in linux?

I read at multiple places (e.g. here http://elinux.org/Debugging_by_printing), that you can change the console log level by echoing an integer to /proc/sys/kernel/printk. If that worked shouldn't the ...
1
vote
2answers
37 views

Bash script to read file and echo different lines to output files

I have a log.txt file with various lines of strings and information. I want to write a script to read the log.txt file line by line and any line that contains the word debug I want to put that line ...
0
votes
0answers
3 views

List of available networks disappears after 15 seconds Lubuntu 14.04

When I boot lubuntu 14.04, running on my Dell 11 chromebook, if I click on the network manager applet in the panel it lists the 8 or so networks in range. After roughly 15 seconds, all the networks ...
0
votes
0answers
20 views

Why can't I write to my ext4 partition even with 777 permessions?

It is a partition that is mounted in the /media directory on demand. I am the owner and I've had it's permissions set to 777 recursively. Here is the result of mount | grep sda4 (the partition in ...
1
vote
1answer
16 views

Possible mcrypt spelling error?

While attempting to start a project with Laravel, the following warning is produced multiple times: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcryot.so' - ...
0
votes
0answers
19 views

Help with Find function in Linux

I searched around and couldnt find this so sorry if it's another duplicate. Using Kali linux I am to find a file who is owned by user bandit7, owned by group bandit6 and is 33 bytes in size. However, ...
0
votes
0answers
4 views

How can I force minicom to wait to connect to a non-existent device?

Occasionally I'm trying to debug a (usually serial) device that starts very quickly. If I get the device running, I can connect to it using: minicom -D /dev/ttyUSB0 Then, if the device disconnects, ...
0
votes
1answer
5 views

Is there a way to have netcat listen and place incoming files in a destination directory?

I'd like to use netcat to regularly transfer files to a media server on my network. However, I can't figure out how (or if it's possible) to do something like nc -l 5959 > /media/data/, where ...
0
votes
0answers
3 views

nvidia card doesn't turn off during suspend-to-ram

An update to this question now that I have more information and i have localized the problem: So the situation is the following. If I suspend-to-ram my system, the nvidia card powers up just prior ...
1
vote
1answer
12 views

What is the difference between `autoload` and `autoload -U` in Zsh?

What is the difference between autoload -U and plain autoload? For instance, here it is recommended to run: autoload -U run-help autoload run-help-git autoload run-help-svn autoload run-help-svk ...
0
votes
0answers
17 views

“dyld: Library not loaded: /usr/local/lib/libcurl.4.dylib” while executing curl with a unprivileged user

My MAC OS is Yosemite 10.10, which has an old version of curl. I have installed Xcode and Xcode command line tools. I run cURL with the "sudo" command as “sudo curl”: sudo curl Password: ...
2
votes
0answers
22 views

How to read and do a min/max/avg from a NMEA stream

I have a weather station attached to my device spitting NMEA 0183 on /tty/USB0 I have alreeady sorted out how to parse the data and echo what I want in a script. What I need to do now is write the ...
0
votes
0answers
17 views

print duplicate fields in different columns from two files using awk

I have two large files. I am attempting to identify and print any duplicate fields to a new file. I have a 19 columns and over 100k rows. I need to compare columns 5-19 for duplicate values. ...
0
votes
1answer
10 views

format of a script which installs programs as root, but configures for a regular user?

I am writing some bash scripts to install and configure some programs. Because the script needs to install packages - I run the scripts as root - which itself is no problem (i.e. I have root ...
0
votes
1answer
17 views

Should the key for an automatically running cron job that runs over ssh not have a passphrase?

I'm reading an article in Master Linux Now 2013 called OpenSSH: Easy Logins and it uses ssh-agent to allow you to enter a passphrase for your key once, and then you're able to connect to a remote ...
0
votes
0answers
11 views

How has this arrangement of RAID disks occurred and is it recoverable?

I some months ago set up two RAID arrays for a system under CentOS 7. I was somewhat confused that the device list included two entries for each array, i.e. one had /dev/md126 and /dev/md126p1. The ...
2
votes
2answers
140 views

Purpose of permissions such as 0111 or 0333

What is the purpose of Linux permissions such as 111 or 333 (i.e. the user can execute, but cannot read the file), if the ability to execute does not automatically imply the ability to read?
2
votes
0answers
5 views

Multiple Keyboard Layouts and Shortcuts

I configured KDE to switch easily from a bépo (french-dvorak) to an azerty layout. I configured it with the KDE interface (systemsettings), but I guess it just call setxkbmap be and setxkbmap fr. ...
0
votes
0answers
7 views

Is there a way to have OpenSUSE (13.2) boot up without launching the GUI desktop?

What I'd like to accomplish is to have it boot to a script that would download and run a desktop through docker (something like this). We will have dozens of devices that will come pre-installed with ...
0
votes
0answers
4 views

ImportError: No module named gtkmozembed (Fedora)

I am trying to run this python script https://github.com/coderholic/PyWebShot but I am using Fedora (20) and I do not know how to get module gtkmozembed. Yum provides and yum search do not help me. ...
0
votes
1answer
25 views

/bin/sh script error “arithmetic expression: expecting primary: ” + “ ”

ERROR: ./client-disconnect.sh: 22: ./client-disconnect.sh: arithmetic expression: expecting primary: " + " I just need to know how to fix it. It's for user accounting with OpenVPN. Script ...
0
votes
2answers
39 views

How to find file without knowing the name of it [duplicate]

So I've finally given up after searching/trial and error for an hour now on how to find a file given specific criteria (none of which is the name of the file or the extension). The file info provided ...
-1
votes
0answers
11 views

No “Add to Panel” menu in GNOME 3 Classic in CentOS 7

This has been asked and answered a hundred times, but ALL proposed solutions which I've read DO NOT work for me. First up, this is CentOS 7, using GNOME 3 (selecting "GNOME Classic" when logging in), ...
1
vote
0answers
8 views

r8168 connection drops randomly

I have a Realtek RTL8168 ethernet card built into my computer (HP ProBook 455 G1), running Linux Mint 17.2 Cinnamon 64bit. Before you tell me to replace the preinstalled r8169 module with the r8168 ...
0
votes
0answers
11 views

Where can I get a better power management app? [on hold]

I'm on Debian Jessie 8.1, running with Cinnamon installed, and the default battery manager sucks. It doesn't warn me when the battery is going low, and there's no way to set the critical battery ...
0
votes
3answers
43 views

Extract numbers from a text file and place them in another file

I have a text file whose contents looks like this: ...
1
vote
0answers
18 views

RHEL7 boot logs show systemd-fsck errors, referencing fsck.ext2, when trying to run on an XFS file system

I get these errors when trying to boot CentOS 7: Jul 6 13:20:15 systemd-fsck: fsck: error 2 (No such file or directory) while executing fsck.ext2 for ...
0
votes
0answers
12 views

PAC Manager localhost configuration

I have installed pac manager to open multiple ssh sessions of my local machine. I have created a SSH session and plugged in my ipaddress, username and password but when I click connect "button", it ...
0
votes
1answer
26 views

Use my PC, or completely dedicated PC for running Linux

I'm new to the world of Programming, and this is my first time posting a question. I've went through a lot of material, both on Youtube, and other areas of the web, and I've started to get a good idea ...
1
vote
0answers
15 views

php5-embed does not load extensions

While setting up php on my Ubuntu server (using php5-embed under uwsgi/nginx), I noticed curl.so was not being loaded. The file /etc/php5/embed/conf.d/20-curl.ini exists and contains ...
0
votes
0answers
1 view

Install wifi driver for Macbook 11.1 under Tails

I am having some troubles with the wifi on my macbook using tails (usb). I encoutered a problem similar once when setting up an Arch Linux usb system but I as able to find the necessary drivers and ...
0
votes
1answer
22 views

Upgrading `popt` requires to upgrade too many packages

I am currently in the process of upgrading syslog-ng using rpm. In the upgrade process, I found out that syslog-ng has a dependency with rpm-libs which have a dependency with popt. The dependency tree ...
1
vote
0answers
10 views

How to trigger dhcp4-change using nmcli?

Am working on a networking script which will do certain things interface up/down/dhcp4-change events happen. And I need to generate these event through Network manager, not through dhclient. So how ...
1
vote
4answers
47 views

optimize command with or and pipe to parse the output of ifconfig

I have this command line, but it's doubling the grep and awk ifconfig eth1 2> /dev/null | grep "inet " | awk '{gsub("addr:","",$2); print $2 }' || ifconfig eth0 2> /dev/null | grep "inet " | ...
0
votes
0answers
6 views

OpenVZ fails Container creating (Unable to get appcache tarball name for ve-basic.conf-sample with ostemplate debian-7.0-x86-minimal)

I have OpenVZ installed on CentOS 7.1. After I execute vzctl create 101 --ostemplate debian-7.0-x86-minimal I get command /usr/sbin/vzpkg exited with error 8 Unable to get appcache tarball name ...
1
vote
0answers
19 views

Graceful shutdown with option to save files or cancel

How do I shutdown a desktop session gracefully from the command line without root, giving programs the option to ask the user to save files or cancel the shutdown? I know shutdown, halt, and other ...
1
vote
1answer
15 views

Ubuntu SELinux - why different types for files var_t vs file_t

I have Ubuntu 14.04 running on two vm's. I have have permissive SELinux enabled on both. On system1, all of my files + linked directories in /var/www/html are marked as var_t and the symbolic linked ...
9
votes
4answers
1k views

What is so special about Linux permission 004?

I was reading Practical Unix and Internet Security, when I came across the following lines which I couldn't comprehend. If you are using the wu archive server, you can configure it in such a way ...
0
votes
0answers
10 views

Configuring Samba to serve Unix-style files (e.g. owners, permissions)

I just learned that Apple has deprecated its own AFP network filesystem in favor of SMB2. I have looked, but can't find any solid information on how its handling of SMB2 implements Unix-style file ...
-2
votes
0answers
30 views

Storing data in kernel [on hold]

I need to add some code to the kernel and store some data. What is the best way to record data in kernel space at running time?
0
votes
1answer
15 views

curl script - Wait for download to finish

Below is part of a script I use to download files from a website daily. However recently they added speed limits to downloading files. I increased the sleep time but then everything else takes too ...
0
votes
0answers
19 views

Ubuntu became frozen, not responsive

This morning my ubuntu 14.04 has been frozen twice. The second time happened 15 or 20 mins ago. The first time is probably 2 hours ago. Each time, I waited for 10 mins, and nothing was improved, so I ...
0
votes
0answers
7 views

Question about sys.argv (python) [migrated]

sorry to ask a basic question, but it is hard to find on google. anyway, I have a program that does math from numbers found in various .txt files. one thing I would like to add is a -show argument to ...
0
votes
1answer
13 views

Touchpad is not detected

My touchpad doesn’t get detected. I can use my touchpad as a simple mouse, but without any extra features like scrolling. My notebook is a Toshiba Tecra Z40-A-11R. I'm running Elementary OS Freya ...

15 30 50 per page