0
votes
0answers
24 views

Monitoring Linux Machines [on hold]

I have a couple Linux machines and VMs at home that I am wanting to monitor. Basically, what I would like to do is setup a web page that display's information such as CPU/RAM usage, Uptime, IP Address ...
3
votes
1answer
17 views

When is the appropriate time to start Redshift using upstart?

I have been trying to get Redshift to start before login so that the bright welcome screen does not blind me, in particular when switching users. Running Redshift as a service does not seem fully ...
-2
votes
1answer
25 views

Read columns from file and substitute values in another file using bash script [on hold]

I have following file : input.txt b73_chr10 w22_chr9 w22_chr7 w22_chr10 w22_chr8 w22_chr8 I have written the following code(given below) to read the first and second column and substitute ...
1
vote
1answer
30 views

How to install Linux (or a similar OS) on smartphone?

I need to install linux on my next mobile, a smartphone, which will be my first one. How do I do that? I mean, it surely won't have a CD drive and I don't see a way for including a USB drive or even ...
1
vote
1answer
16 views

Recover full command that generated core dump

A program I am working on is crashing and generating core dumps. I think that the issue is related to the arguments that it's being called with, some of which are automatically generated by another ...
0
votes
0answers
3 views

SDCC missing header file pic16f887.h [migrated]

Trying to compile a c program for a micro controller through SDCC running: sdcc -mpic14 -p16f887 blink.c gives: blink.c:6:27: error: pic/pic16f887.h: No such file or directory blink.c:12: ...
3
votes
2answers
24 views

Run in background but not discarding the output

I use a Git hosting. So I often run git push. I want to run git push in background, in order that me not to wait when it finishes but do other tasks in my terminal. But I don't want to run git push ...
1
vote
1answer
10 views

Directing old symbolic link to a different location

Example: I created a symbolic link into my /usr/local/bin folder using sudo ln -s ~/Desktop/package/Application/tool1 sudo ln -s ~/Desktop/package/Application/tool2 … I would like to move my ...
2
votes
1answer
25 views

How to remove date format

I have the following content in the file. I would like to remove dates and the underlines from the file using sed. let me know if this would be possible to do with grep either. Can someone assist on ...
8
votes
2answers
264 views

Bash .hushlogin, keep last login time and host

At my company, when I log into some servers, my last login and a huge banner are displayed: me@my-laptop$ ssh the-server Last login: Mon Feb 8 18:54:36 2016 from my-laptop.company.com ...
1
vote
2answers
19 views

How do I create a rule for custom flag replacement with C shell?

I want to have the following behavior with grep: grep --java <rest of the command> Where --java would either dynamically convert to --include=*.java or internally be equivalent to it. Is ...
0
votes
0answers
13 views

Set Default Boot Device in Open Firmware

I have an old Apple XServe G4 that I successfully created a dual boot of Mac OS X and FreeBSD 10.2. In order to boot the machine, you have to go into Open Firmware and issue a boot command... I ...
1
vote
1answer
54 views

Cannot remove file: Read-only file system

I am trying to delete a file on an Ubuntu 12.04 system for which I have root access. However, I am getting this error: root@CRST-Web:/home/real_property/html# rm -r -f results.php rm: cannot remove ...
-1
votes
0answers
11 views

how to install ysoserial in kali linux? [on hold]

i want to install software in my kali linux: https://github.com/frohoff/ysoserial. but when i do, it become like this: enter image description here can you find and fix complete it for me. thank.
2
votes
1answer
33 views

Adding folder name to .zip files inside it

I have file1.zip, file2.zip, etc. in folder called folder1. have similar folders folder2, folder3, etc. I need to add folder name to each .zip file inside these folders. So, files inside folder1 ...
-1
votes
0answers
6 views

Ubuntu Snappy for a development machine [migrated]

So Ubuntu Snappy core is supposed to be super lightweight. I was thinking to put that on a server, ssh to it and use it to write code. Would that work? Does it come with desktop environment? Can I ...
1
vote
2answers
27 views

find a file and truncate it

I'm simply trying to find a single log file and truncate it. Why won't this work? find ${listener}/tracefiles/${listener}.log -exec cp /dev/null '{}'\; This returns an error: find: missing ...
3
votes
1answer
36 views

How to make an iso of my installed system

I'm re-posting this here because it's off topic on Askubuntu. I installed Linux Mint 17.3, customized the theme, removed and added packages, made many changes to the file manager etc. I want to know ...
1
vote
0answers
6 views

How to lock keyboard layout on login screen in Gnome

I use Gnome 3.xx desktop manager on openSUSE 42.xx and two keyboard layouts. I would like to lock the keyboard layout on the Gnome login screen, so it is always US layout. Basically, I want logins and ...
0
votes
0answers
18 views

meaning of !(something) in shell [duplicate]

While searching for a way to move all files in a dir to one of its sub-folders, i came across mv !(something) something which should do the job - but only in bash. However i could not find why. in ...
0
votes
0answers
6 views

Get correct Windows partition back in Grub

Model: HP Compaq Mini 32 bit. Device: Samsung Evo SSD 120 GB. OS: Dual boot --> Linux Mint 17.1 Xfce & Windows 7 Starter. TLDR: Fixed Grub + got Mint back using parted rescue; win7 reboots or ...
0
votes
0answers
8 views

YAST is trashed and wirless networking stopped

Running openSUSE 12.2 Mantis for some time with no problem until now.It will not load up wireless network and YAST appears trashed, with this error message anytime I try to fix it. "terminate called ...
0
votes
0answers
21 views

'iptables -a' just hangs and never returns? [on hold]

I'd like to redirect requests in on port 80 to a service I already have running on port 8443. I swear I've used this command before on other systems and it's worked: sudo iptables -A PREROUTING -t ...
0
votes
1answer
18 views

Linux equivalent of WinRun4J

Does anyone know of a linux equivalent of WinRun4J? Google isn't turning up anything. Specifically (from the WinRun4J aspect), I need the ability to pass additional/extended options to the JVM via an ...
0
votes
0answers
10 views

Finger touch/mouse left click stopped working on LCD Touchscreen 4DCape-70T for BeagleBoneBlack (OS Debian)

we use many BeagleBoneBlack boards (OS Debian, kernel 3.8.13-bone50 (May 13 2014)) with LCD Touchscreen 4DCape-70T. My java application is running after startup of OS Debian 7.5. I use GPIO library ...
1
vote
2answers
9 views

lxde stop auto maximize vertical when moving window to right edge of screen

I am running lxle version 14.04.3. I would like to stop lxde from maximizing my window vertically when I drag a window to the right edge of the screen. Does anyone know how to change this setting?
1
vote
1answer
21 views

How to remove password prompt when executing su <user> command in CentOS 7?

I have two users in my CentOS system User1 and User2. I am logged in as root user and trying to add User1 to sudoer list using visudo. I have entered the following line at the end of the file User1 ...
1
vote
1answer
21 views

Cannot configure wlan0 with static ip?

Debian Wheezy on ARM: wlan0 works with DHCP but doesn't work with static IP. This is my /etc/network/interfaces auto lo wlan0 iface lo inet loopback iface wlan0 inet static wpa-ssid "mySSID" ...
0
votes
2answers
50 views

Which linux distro is more suitable for me [on hold]

I am new in Linux environment. I am currently using the Ubuntu 14.04 LTS but it's not running as i expected, because my PC don't have high configuration. Here's my system configuration Memory : 2.9 ...
-3
votes
2answers
38 views

Convert all text in a file to uppercase using sed and interested to use range operator [duplicate]

I am trying to : Convert all text in a file to uppercase using sed and interested to use range operator. can some one please help me here. content of Sample.text: unix is great os. unix is ...
2
votes
1answer
34 views

Information leaks out of encrypted file system

If I only encrypt the home directory, what are some common ways for information to leak out to the unencrypted part of the file system? Aside from the obvious problems like swap space files in /tmp ...
1
vote
0answers
33 views

patch: “bad file descriptor” in combination with pipe and LD_PRELOAD/ libtrash

Very short summary: cat "$file" | patch produces a Bad file descriptor-error, but patch < "$file" works, when libtrash is preloaded with LD_PRELOAD, and only on bigger projects. Description: For ...
2
votes
1answer
16 views

Vim: if specific version, then don't load plugin

I wonder what the best way is to decide whether or not some plugin should be loaded depending on some specific compilation/version of Vim. Any help would be appreciated.
3
votes
1answer
15 views

Tmux line wrap indicator

I would like to see at a glance where my tmux terminal dynamically wraps output lines: A wrapped line currently looks like this: This is a very long sentence that did not fit on one screen line. ...
1
vote
0answers
13 views

Permanently Configure two X Servers

I'm trying to permanently configure a second X server to start at runtime on RHEL 7. I am aware that I can start a second x server using startx -- :1 vt 2, but I'd much rather integrate it to the ...
0
votes
1answer
29 views

Can't connect to home WiFi - DHCP problem?

I am using wicd for wifi connections. Everything worked fine, but now I suddenly can't connect to my home network anymore. While troubleshooting I tried to set up a hotspot from my Smartphone which ...
1
vote
1answer
22 views

How to get file descriptor number of a output and how to redirect all of them at once

Lets take this command for example $ time ssh ec2 ls www apps real 0m0.554s user 0m0.004s sys 0m0.000s $ time ssh ec2 ls 1>/dev/null real 0m0.554s user 0m0.004s sys 0m0.000s ...
1
vote
0answers
9 views

How do I specify an alternative bridge interface (not br0) when using qemu-bridge-helper

By following the instructions found at http://wiki.qemu.org/Features/HelperNetworking I can configure qemu with qemu-bridge-helper, however, I can't figure out how to pass a bridging interface option ...
1
vote
0answers
12 views

How to check if 'Per-node memory binding' is supported in any libvirt version?

I am using kvm and getting an error: unsupported configuration: Per-node memory binding is not supported with this QEMU I have the #virsh version: Compiled against library: libvirt 1.2.9 Using ...
0
votes
1answer
19 views

Steps to follow when you run untrusted program with elevated priviledges

I had a fail regarding the security of my pc. I torrented a version of MATLAB from pirate bay and then tried to execute the installation script. The script ran without asking for a password so I ...
-2
votes
0answers
8 views

Two node cluster pacemaker setup error (http error : 500) [on hold]

[root@node01 ~]# pcs cluster auth node01 node02 Username: hacluster password: node01: Already authorized node02: Already authorized (same password) [root@node01 ~]# pcs cluster setup --name mycluster ...
1
vote
0answers
8 views

Switch off display and Lock screen in Xfce power manager when laptop lid is closed?

I have a Dell XPS 13 (2015 model), and I'm using Ubuntu 15.10 with Xmonad. I have xfce4-power-manager running and gnome-screensaver is used to lock the screen. In the settings dialog of ...
2
votes
1answer
145 views

How to use sudo -u option?

I have 2 users, userA and userB. userB needs to run some commands as userA. I have specified these options in /etc/sudoers as below: userA ALL=(ALL) ALL userB ALL=(vinoth) /sbin/fdisk I ran this ...
0
votes
0answers
12 views

Cannot find /var/run/pinger.pid in RHEL 6.6 (Santiago)

I execute the below command : ps -p `cat /var/run/pinger.pid` 2>&1 and I get error code 1 instead of 0 Can someone please explain if this is the right file from where the pinger PID ...
1
vote
2answers
21 views

How to install xorg inside virtualbox guest?

I am fairly new to Arch linux so I want to install it inside a VM first before replacing my current Linux installation. I've successfully installed base, base-devel & grub packages inside a ...
-1
votes
2answers
23 views

backup files that older then 3 day

how to move files that start as: DRR_O_sql. and that older then 3 days to other directory as /home/backup example DRR_O_sql.35435 DRR_O_sql.4534534 DRR_O_sql.54232 DRR_O_sql.4.efdedwe
0
votes
1answer
20 views

CPU frequency won't go beyond 800MHz on my Dell XPS 13 with ivybridge

I cannot go beyond 800MHz on my Dell XPS 13 Ivybridge CPU. $ cpupower frequency-info analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardware frequency: 0 CPUs which need to ...
0
votes
0answers
18 views

CentOS 7 i386 Netinstall error: 'Error setting up base repository"

I downloaded the 32-bit CentOS 7 Netinstall version from http://mirror.centos.org/altarch/7/isos/i386/, and used the http://mirror.centos.org/altarch/7/os/i386/ as the repository during installation ...
0
votes
0answers
6 views

grsec: Illegal instruction issue using libcurl5.2 on Wind River Linux

I am trying to run CurlAgent process, which is using libcurl5.2.0 on Wind River Linux. When this process calls curl_easy_init function to do the curl initialization, I am getting illegal instruction ...
-1
votes
1answer
24 views

Linux file create time [duplicate]

Hi I am new to Linux and I am searching a command that gives me the file create time in a folder. Thanks in advance

15 30 50 per page