0
votes
0answers
14 views

Strange file cannot be deleted [on hold]

"git status" Untracked files: (use "git add <file>..." to include in what will be committed) "\020\320\350\001" "ls -l" -rw-rw-r-- 1 cf cf 0 Feb 14 07:26 ???? In Dolphin it ...
-2
votes
0answers
10 views

Right now I am working with RPC

I am working with RPC, and when i try to run a simple program of displaying a message when the client is invoked the server doesn't respond anything. I am not sure if the issue is with the rpcbind ...
-1
votes
0answers
9 views

how to setup vnc server?

I am using "Redhat" and i am properly setup vnc server without any problem. i am using vnc client for remotely access. but now a want to remotely login into the "Web Browser" like below image ...
1
vote
1answer
9 views

Problem with Touchpad on Fedora23

I have installed Fedora 23 on my Dell Vostro 3550 Laptop. But my touchpad is not working properly. When I am holding a finger on my TouchPad, the pointer on the Screen is flicking all the time. That ...
1
vote
0answers
14 views

Linux Mint Login Fail [on hold]

I am running Linux Mint 17.3 Rosa with the cinnamon desktop. Linux Mint has been working fine for me for quite a while, but recently after trying to login to my user account, with the correct ...
1
vote
1answer
11 views

Bourne Shell do while loop returns all the data but has two errors no such file or directory and repeats the shell name

The idea of my loop is to print the first digit of every line of a file. The file being this: 256-56-8411 Bob 3.61 Junior CS 471-44-7458 Tim 3.45 Senior CE ...
0
votes
0answers
4 views

Get second Monitor (VGA) to work on Tinycore

I am having troubles getting a second monitor to run on Tinycore. I can confirm that the second monitor is working because I am using it right now. The monitor is a regular VGA connector. The primary ...
0
votes
2answers
22 views

Explanation of options(flags) for bash

I often see scripts with usage of options as in if [ -f some_file ] checks whether some_file is a file. I have a very vague understandings of flags, but can someone give me a good explanation? Others ...
1
vote
1answer
6 views

How do I install another distro on a linux DVR

I was fiddling with an old DVR and discovered it had telnet unblocked. So I ran ncrack and after gaining access started looking around. It seems to be running some custom version of Linux. Not many ...
2
votes
1answer
33 views

Why are these nested options in a POSIX shell script being word-split?

I have a script count_args that counts arguments: #!/bin/sh echo $# If I call it with these options, it tells me it gets two arguments: $ ./count_args --options '1 2' 2 But if I construct the ...
0
votes
0answers
3 views

Scaling the screen in SUSE LEAP

How can I downscale the screen size in SUSE LEAP, the desktop area is a bit oversized, this usually happen to be solved when I restarted the X server, but now since the propietary driver didn't work I ...
0
votes
0answers
9 views

Is it possible for bash/readline to “clean up” completion suggestions out the terminal?

If you are using zsh and do a tab completion for commands, pathnames, options etc, whenever there are multiple potential matches the suggestions will be displayed below the prompt. Once you chose a ...
0
votes
1answer
20 views

List file in sub directory with certain permission

So basically I need to list files in sub directory which has all permission for user and group but not other. Basically rwxrwx--- All I got is: ls -d */* to show the sub directories but now how ...
0
votes
1answer
25 views

While using Cygwin, can't provide alias for gcc

I'm using Cygwin, and have installed the entire developer's package as well as most if not all of the other packages. When I provide an alias for gcc, I get the error "-bash: alias: gcc: not found. ...
1
vote
1answer
23 views

Apache can't access file while is has permission

I don't want to allow others read access, so I have added my user and the apache user to a group called apachme and then set that group to all the files and folders I want apache to have access to, ...
4
votes
2answers
98 views

What is the gnome-terminal ANSI escape sequence for “CTRL + arrow/s”?

I am trying to configure my bash ~/.inputrc to these settings (Note: ←, → mean the left and right arrow keys) Ctrl + ← - should jump back a word Ctrl + → - should jump forward a word Currently I ...
0
votes
2answers
18 views

Create a separate partition for /var/ /var/log and /tmp/ [on hold]

I was asked at work to setup an RHEL 6.7 server to run an application called Nessus 5.2. As a security measure, they requested to create separate partitions for /tmp, /var/, /var/log. Would you ...
-1
votes
1answer
41 views

What's the difference between doing cat and between piping only

assume I wrote this script : #print_time.. cat <file1.txt> | grep "*.log" | head -4 | tail -2 | helper | sort -r -n -k2 #helper.. while read line; do linearr=($line) (( time =${line[2]} ...
2
votes
2answers
18 views

Two input pipes through file descriptor shuffling and /dev/fd

I want to pipe two programs into one. If my shell supports it, I can use Process substitution. For example, to list the common lines of two files in indifferent order, I can use comm -12 <(sort a) ...
3
votes
2answers
66 views

Multiple machines on single network with same IP

I have a raspberry pi 2 that I'm using for a KODI media center that has the ip address 10.0.0.4. Another pi I just got is showing the same ip (derived from /sbin/ifconfig -a and listed under wlan0 for ...
1
vote
0answers
7 views

Installing linux kernel 4.4.0-trunk-amd64 crashes X server

I have installed Debian 8 and xfce. My machine is Lenovo Ideapad 500S. There's no information for this machine on how to properly use Debian on it. When I install linux-image-4.4.0-trunk-amd64 and ...
0
votes
2answers
14 views

Run this PHP file via Cron Job

Here is the script: <?php //Create back files? define('CREATE_BACKUPS', FALSE); if (!is_dir($argv[1])) { echo "You must enter a valid path such as /home/apresv/public_html or ...
2
votes
1answer
12 views

Is it possible to send an xpdf process a signal that causes it to reload the file being displayed?

On page change, redraw, or Reload command, xpdf will reload the file it is currently displaying. Is it possible to cause xpdf to reload the file by sending a signal? Which signal? (I am basically ...
0
votes
0answers
5 views

Debian jessie. nouveau, MMIO read fault at… but. Any work around?

I keep getting this message. kernel: [ 25.058888] nouveau E[ PBUS][0000:01:00.0] MMIO read of 0x00000000 FAULT at 0x002140 [ !ENGINE ] This is the var/log/messages. Feb 13 21:00:21 ...
-4
votes
0answers
17 views

I am unable to figure out how Wind river Linux works [on hold]

I have received a new device with Wind river Linux running on it. I want to do memory dump and analysis on this machine running Wind river Linux. Is there a proper source using which I can figure this ...
4
votes
2answers
72 views

Hook action on process creation

Is it possible to hook a script execution on each process creation? Essentially the equivalent of inotifywait to monitor disk activity but applied to the process table. It would be to allow to do an ...
0
votes
0answers
10 views

Monitoring mysql with munin - worse MySQL performance?

If I monitor my MySQL server with munin, can I envisage with worse MySQL performance? When I want to activate statics as an example in PHPMyAdmin it says that the MySQL performance can be inferior as ...
0
votes
0answers
3 views

BeEf Famework Kali-2 configuration

I am running Kali-2(rolling 1 latest) in Vmware workstation 12. I have forwarded my ports and am using NAT. The beef framework links only seem to work within the local network. Any specific reason? ...
0
votes
1answer
20 views

Where is wpa-conf documented?

I use wpa-conf in /etc/network/interfaces to make the WLAN interface automatically connect to the AP: # This file describes the network interfaces available on your system # and how to activate them. ...
0
votes
1answer
13 views

Force bash to respect newlines in command output [duplicate]

When I run ls * its returning entries delimited by a newline. However my shell is ignoring the newlines to condense the output. I would like each entry on a separate line. Currently: > ls * a b c ...
0
votes
0answers
13 views

USB Serial Port Settings With STTY

I needed a way to connect to a usb serial port to send and receive data from Arduino boards. I found a really awesome little script that was working great, until it suddenly stopped working. The ...
0
votes
1answer
10 views

usb0 problems with raspberry pi

i have recently bought a raspberry pi so i can learn "linux" and other stuff with it, i loaded it with noobs and add raspbian and ubuntu mate (this port from xda forums) and everything works well. ...
1
vote
1answer
16 views

Create Local apt repo with staging environment

I am trying to create an apt repository with reprepro which is very straight forward for the most part. I have been using this article as a reference because I liked the structure of having a staging ...
1
vote
1answer
8 views

Reducing max audio volume without reducing base volume

Is there a way to reduce the maximum possible audio volume without affecting audio that is below that maximum volume? I don't care if audio that would have gone above sounds horrible and distorted as ...
2
votes
1answer
21 views

How to set pointer speed?

I have kali linux 2 installed. And I have a mouse of 8200 cpi. How can I set the minimal mouse pointer speed? If I set minimum in settings, it is still unusable. Also I tried:xset m 0 0, but still ...
0
votes
1answer
24 views

Bash script not working with crontab

I own a raspberry pi that runs raspbian jessie. I'm using this raspberry with motioneye as a system surveillance. Motioneye records files to a sd card but i want to delete older files in folder ...
0
votes
1answer
15 views

stocked in ubuntu grub rescue

I have followed lots of suggestions but got stocked and nothing works... on Hd I have windows7 and ubuntu that I don't care about, nor of all the others partitions except one with saved documents, I ...
0
votes
0answers
13 views

Is there any alternative to pam_mount?

I want to do the following: Users should have encrypted home directories (with fixed maximum capacity) The login password of a user should also be the password for the user's encrypted home ...
-1
votes
0answers
17 views

linux 0.01 tolower macro : “ctype.h” [on hold]

i am rading a book about operating systems and it take Linux 0.01 as example, i did not understand the logic of the macro that convert an upper char to lower, there is the code on the "ctype.h" file ...
0
votes
2answers
15 views

Why doesn't the -x exclude option in zip seem to actually exclude the path?

Using Raspbian on a Raspberry Pi, I want to back up the /etc files, but not all of them. I'd like to exclude /etc/alternatives, so I used this command: sudo zip -r ...
-2
votes
0answers
14 views

How namespaces and containers work generally? [on hold]

Can anyone point me to a good article\s that explains how containers implemented with namespaces?
0
votes
1answer
7 views

How to install i915_bo driver in Linux Mint

The chosen answer in this post mentions the installation of the i915_bo driver. I have the same OS (Linux Mint 17.3), but I'm running the i915 driver. Can someone please tell me where do I find it ...
0
votes
1answer
16 views

I have the latest version of hping3 installed, but Bash says “command not found”

I'm trying to use the hping3 tool on Debian GNU/Linux (Jessie), and it doesn't want to play nice. When I run apt-get install hping3, it tells me that it's at the latest version already. When I run ...
2
votes
1answer
23 views

Help to install Apache Module mod_systemd

I would like some help with installation of Apache Module mod_systemd. I am using Arch Linux. I have no idea where and how to start, any hint is also appreciated
1
vote
1answer
23 views

how to create another physical volume/partition with existing unused lvm space without data loss?

I have a 1T USB disk with Fedora 20 installed. It shows as sdd in the first image below. I only used about 50GB. There are 3 logic volumes under the sdd2 and also there are about 620GB of free space ...
1
vote
2answers
19 views

Strip certain objects out of a flat file database

I have a flat file database and I need to strip certain objects from it. There are numerous blocks in the file but I am interested in 2 objects in the OBJECT NickCore block. Example below: OBJECT ...
2
votes
4answers
107 views

How to escape shell metacharacters automatically with `find` command?

I've bunch XML files which I would like to move to corresponding folders with the same name. Here is sample structure (in shell): touch foo.xml bar.xml "[ foo ].xml" "( bar ).xml" mkdir -p foo bar ...
1
vote
2answers
36 views

what means 'processor execution level'?

I'm reading about Unix in a book "The design of UNIX operating system". But, in the text middle of process state (e.g wakeup, interrupt), there is term 'raise processor execution level'. What does ...
3
votes
3answers
40 views

How to improve bash scripting from 1 long line to a better method?

I have a script that open up terminal and open up 5 tabs, execute a certain command, and go to a certain working directory. #!/bin/sh gnome-terminal --tab --title="Zookeeper" --profile Hold -e "sh ...
1
vote
2answers
30 views

How to check if unmount of USB device is completed?

I once unmounted an USB device using Ubuntu or Debian file manager, and when the icon next to the drive that shows it is mounted disappeared I immediately pulled the USB device out. Turns out that ...

15 30 50 per page