1
vote
5answers
88 views

list all files with extension .log except one

I would like to list all files with extension .log except the file backup.log. I have tried using this command: ls *.log -I "backup.log" But all the log files are listed, even backup.log! How ...
1
vote
1answer
21 views

detect interface name with perl

I want to detect the interface name (can't use udev because of hardware reasons) and do things according to it. Basically this should be a first check if the wifi device is able to "see" anything. ...
-1
votes
2answers
20 views

Ubuntu 15 vs Mint 17 vs Zorin 9 vs Elementary OS (newbie)

I have always used windows but my computer is always overheating and i think i should try something new. I am going to clean it with compressed air and i am thinking of installing a linux distro as ...
0
votes
0answers
12 views

RPCS3 cmake error [on hold]

I am trying to compile the rpcs3 emulator I run and receive : git init git submodule update --init cmake CMakeLists.txt -- No build type selected, default to Release CMake Error at CMakeLists.txt:14 ...
0
votes
0answers
10 views

Can't figure out firewall settings using IPtables to allow pub/sub messages to be read from publisher by subscriber

I am currently using RTI DDS as a method of Pub/Sub to send messages between a reader and writer. The machine I am using is running on RHEL 6.6. I have the following file on the publisher for the ...
0
votes
0answers
13 views

Huge packet loss on openwrt

I have a strange issue on mikrotik rb951-2hnd router. I firmwared it to openwrt a few years ago and everything worked fine. Just a few months ago I decided to update firmware. So I did it and ...
0
votes
2answers
17 views

How to let the Firewall of RHEL7 the SNMP connection passing?

How to let the Firewall of RHEL7 the SNMP connection passing? When I did this command on the computer: systemctl stop firewalld All the SNMP packet are passing well. When I restarted firewalld ...
0
votes
1answer
11 views

Install linux headers 3.7 on debian 8

I'm trying to install the amd64 radeon catalyst driver, but it needs kernel headers for 3.7 This is the output of uname -r: 3.16.0-4-amd64 I've already ran apt-get update, apt-cache search ...
0
votes
1answer
19 views

Start application in x-server session from external terminal?

How can I start an app in a specific x-server session from outside (e.g.) with putty? Until now I have startet a vnc server, logged in, openend the shell and started the app there. How can I do that ...
0
votes
1answer
45 views

“find” function still print files I've already removed

I've removed some directories and files inside them using sudo rm and sudo rmdir, but when I execute sudo find /*/*/ng* the files I've previously deleted are still showing up, anybody know why and ...
0
votes
1answer
8 views

MobaXterm: How to see previous commands' terminal output while still being in VIM? (Equivalent of 'Shift + Page Up' in PuTTY)

I'm finding this difficult to explain because I'm not sure what this is called technically so please bear with me. What I want (which is possible in PuTTY): 1) Login to a machine (using PuTTY) 2) $ ...
0
votes
0answers
6 views

Which technologies can be used to build up communication between MIPS linux and Windows?

We have an embedded Linux system running on a MIPS processor board. This system is used to control and to poll some other hardware, and to consolidate all the measurement data in one place. Now, we ...
0
votes
0answers
22 views

To set 2x2 workspace in Debian [on hold]

In Ubuntu, you can do this in Settings > Appearance > Behavior > Enable workspaces, but not in Debian 8.1. How can you have 2x2 workspaces in Debian 8.1?
1
vote
2answers
10 views

How to get Xresources background color

I tried with xrdb -query -all. But it does not give the Xterm default background color code. My background color is cornflower blue. But I could not see that in list. Can any one let me know how to ...
2
votes
1answer
41 views

Assign variable identifier in loop and echo its value

I hope this question is not a duplicate because I've been trying various ways to solve this problem but couldn't find any solution. I have a for loop in which I'd like to store a command output into ...
0
votes
0answers
89 views

Ubuntu 14.04: not booting after kernel startup [on hold]

To briefly resume, I installed Ubuntu 14.04 on an IBM server equiped with an LSI 1064 RAID card (it has been running Ubuntu 10 so far). I don't think it's related to the raid controller but better be ...
-1
votes
0answers
49 views

code is not working , not able to create new directory using ssh

Please find the below code. I am facing issue in passing the variable which is the name of the directory to ssh to create the new directory on the remote host. out put I am getting: ssh: /: Name or ...
2
votes
1answer
23 views

Keep GNU screen attached to device

I'm using screen /dev/tty.usbmodemxxxx to debug a physical device. An unavoidable part of my workflow disconnects and reconnects the device, causing screen to terminate; so I need to start it it up ...
0
votes
1answer
22 views

Device shown using lspci but udev not loading the driver

My nic shows using lspci -v but udev is not loading the driver for it. Links to screenshots of diagnostic output are below. dmesg insmod lspci pacman -Qi ls /sys/class/net uname -a original ...
1
vote
0answers
19 views

Booting the already installed Ubuntu 14 from the VirtualBox installed in Windows 7

Like the Titles says, i was wondering if there is any way to start ubuntu System in VirtualBox from Windows 7 which is already installed on harddisk
2
votes
0answers
30 views

Centos mysql: The file /usr/libexec/mysqld does not exist or is not executable.

Whenever i try to start mysql via the command service mysqld start I get the following error: MySQL Daemon failed to start. Starting mysqld: [FAILED] ...
1
vote
2answers
28 views

GPG keys copied, not working

I have copied my GPG keys from 1 server to another, on the first server everything is working correctly, on the new I get the following: (I have included the output of list-keys and list-secret-keys ...
1
vote
1answer
23 views

gnuplot set boxwidth not working

I'm having trouble with the boxwidth option in gnuplot when trying to plot a histogramm. Here is the gnuplot script I use to plot the histogram of random numbers normally distributed: # Parameters ...
2
votes
0answers
17 views

Significance of Linux kernel's default_console_loglevel

What is the significance of default_console_loglevel in Linux? Commonly I see it described as the default value of console_loglevel. However, what that means I haven't seen explained anywhere. ...
2
votes
2answers
90 views

Is there any Linux command to create a new file in a folder and auto create this folder if not exist?

I know this problem can solve by use combine mkdir and touch commands. But I want to know is there any other solution only use one command.
1
vote
3answers
44 views

Using a function defined in a parent script

I wrote the following script in the test.sh: #!/bin/sh compare() { if [ $1 != root ]; then echo "Fail" >> CAT1.txt fi } awk -F: '$4 == 0' /etc/passwd | cut -d: f1 | xargs -n1 -i bash -c ...
0
votes
0answers
19 views

build error: “log4cpp does not work”

I have been trying to build avxsynth on CentOS 7. First I successfully build the prerequisite, log4cpp: mkdir ~/avxsynth_sources cd ~/avxsynth_sources curl -L -O ...
1
vote
1answer
17 views

Why is the localtime reset to the default timezone?

I use the following commands to set the timezone on our Amazon Linux (Centos) server: ls -al /etc/localtime -rw-r--r-- 1 root root 118 25 dec 2012 /etc/localtime sudo mv /etc/localtime ...
2
votes
2answers
27 views

Where is the RHEL7 kernel source code installed?

I install the Linux kernel source code RPM: [root@localhost ~]# rpm -ivh kernel-3.10.0-229.el7.src.rpm warning: kernel-3.10.0-229.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ...
-4
votes
0answers
26 views

Run DB scripts in linux [on hold]

I want to run DB Scripts in linux but I am not able to do so . Can anyone give me the idea how to run DB Scripts? EDITED as Sybase is used in my project so what "isqlcmd" is doing I want to know?
1
vote
1answer
34 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 ...
1
vote
0answers
26 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 ...
1
vote
1answer
57 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
16 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??
1
vote
1answer
49 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
21 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
14 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
122 views

Bash script to read file and echo different lines to output files [duplicate]

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 ...
1
vote
1answer
67 views

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

When I touch a new file for example I get: touch: cannot touch 'file': permission denied It is a partition that is mounted in the /media directory on demand. I am the owner and I've had it's ...
3
votes
1answer
29 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
29 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, ...
2
votes
1answer
13 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, ...
1
vote
1answer
14 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
6 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
16 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
23 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
1answer
39 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
33 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
12 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 ...

15 30 50 per page