0
votes
0answers
6 views

simplescreenrecorder in ubuntu: the sound output isn't clear

Issue: simplescreenrecorder in Ubuntu 16.04 Xenial: the sound output isn't clear. Reproducing: I followed the instructions from this video.
1
vote
2answers
21 views

How keep last 50 lines in logfile

I try to keep last 50 lines in my file where I save temperature every minute. I used this command: tail -n 50 /home/pi/Documents/test > /home/pi/Documents/test But the result is empty test file. ...
0
votes
0answers
4 views

Gnome's activities overview alternative for Openbox?

Gnome has this nice feature under Super that allows one to list all of the running programs from all the workspaces - the feature is called activities overview. I am using Openbox; how can I have the ...
0
votes
1answer
22 views

lowercasing & converting files to text an empty *.txt file appeared

I check if there's some files of a certain kind inside a folder to lowercase the extension and then extract the content this way: existDoc=""$(ls | grep .DOC | wc -l) if [ $existDoc -gt 0 ]; then ...
0
votes
0answers
14 views

Windows 7 still appears even after windows 10 upgrade

I installed the Windows 10 upgrade last night and let it run overnight. This morning my system had rebooted to my Linux partition (my default). I rebooted using the same grub configuration, expecting ...
0
votes
0answers
7 views

understanding the output of iostat

I have disk partitioned my disk into 7 partitions and i have further divided the last partition into 5 logical volumes. I am writing some content into one of the the LV (dm-3) and I just checked the w/...
0
votes
0answers
13 views

Which process is causing high software interrupts?

I am running virtual machines on a physical host using devstack and I see very high si usage on one core. Is there a way to find out which process is responsible for this high si usage?
0
votes
1answer
12 views

Show running processes without the system processes

what is the command to show the running processes by the current user? I want to see stuff only I have launched from the command line or via the desktop, without all the desktop stuff and system ...
0
votes
0answers
4 views

How does the legacy/UEFI bootloader know where to find the stage two bootloader?

Most systems I have been exposed to format their disks very simply with only boot and rootfs partitions. Others also have recovery (like Windows) and swap, but I am trying to keep it simple. I have ...
0
votes
0answers
18 views

Why do some distros come with LAMP installed? [on hold]

Ubuntu comes pre-installed with PHP, MySQL and Apache. OSX does also. Whats the reason for bundling them with the system?
0
votes
0answers
17 views

Automatically Fill Web Forms From Terminal Linux

I would like to be able to automatically login to a site that uses cookies and Javascript for the login form on a Debian box. I need to be able to do this from a terminal without graphical programs. ...
0
votes
0answers
4 views

cannot install Duplicity on CentOS7

I'm trying to install Duplicity on my homeserver. I want to use it to backup to a cloud service that has webdav accessibility. I downloaded duplicati-1.3.4-noarch.rpm and tried to install it with yum ...
2
votes
1answer
10 views

Getting SCSI Tape Usage Info

I have a SCSI tape (/dev/st0) and I would like to get information about how much of it is used. How can I do that, preferably with a command?
0
votes
0answers
8 views

How do i install sound driver for kali linux

I'm trying to install a sound driver on kali linux, but I'm GETTING THE ERROR:: root@kali:~/Desktop# apt-get install -y linux-headers-$(uname -r) Reading package lists... Done Building dependency ...
0
votes
0answers
11 views

Missing eth0 connection in Ubuntu Virtualbox

I am not too sure where I went wrong. But first things first. I am using Debian on Beaglebone Black and Ubuntu 14.04 with a VirtualBox. I am doing Ethernet-over-usb with my Beaglebone Black. Internet ...
3
votes
0answers
41 views

My crontab only likes five asterisks

I have a problem with a user. Crontab refuses to run any job unless it's scheduled to run every minute (* * * * *). An soon as you edit the task to run, say, on minute 15 of every hour it fails to ...
0
votes
1answer
39 views

AWK output help

I am currently writing something to parse some apache logs, yet the system command seems to be putting itself above print. Haven't done a whole lot with awk, so it could be something very simple. IFS=...
3
votes
4answers
112 views

Getting console width using a bash script

I'm encountering an issue where I am trying to get the size of a terminal by using scripts. Normally I would use the command tput cols inside the console, however I want to be able to accomplish this ...
5
votes
1answer
377 views

Delete files older than 500 days

I have directory with files from 2010 year.. I want to delete all files older than 500 days and I tried this: find /var/log/arc/* -type f -mtime +500 -delete {}\; But I get this: -bash: /usr/...
0
votes
1answer
10 views

Launch top level screen from inside screen

I am inside a screen session, and from there want to launch another screen. However I don't want the new screen to be within the existing ( or a child process of the existing ). I.e. if I simply ...
3
votes
1answer
27 views

Git pull error always for a binary file

I finished a git push to a Bitbucket repository and in the Bitbucket account I found these update were done. But when I do a git pull in a production CentOS server, I got error below. Does anyone know ...
0
votes
1answer
12 views

rbash for ssh ldap users

I have some ssh ldap users who connect to my server (centos7) for reset their password. I would like they use rbash for execute passwd command but I don't know how to do. I can't add rbash to /etc/...
0
votes
2answers
28 views

extend ubuntu partition in VM

I have Ubuntu as virtual machine guest hosted in esxi server. The Ubuntu disk storage was 5 GB and I wanted to extend the disk up to 30 GB. I extended it via esxi client, and now I see this in Ubuntu ...
0
votes
0answers
18 views

System program problem detected

I am using Ubuntu 14.04 LTS version. While using this system, I have observed a general pattern: - Whenever I try to copy/cut multiple files and move them to some different destination using GUI, ...
0
votes
1answer
11 views

Set Volume range in ALSA

I just bought a Asus Xonar U3, but it's way too loud. So I played around a little bit and compared values of the Xonar U3 and my old Soundcard in /var/lib/asound.state and noticed there are some ...
0
votes
0answers
19 views

What is purpose of non-printing character in prompt string [duplicate]

Let's consider the following prompt string PS1 obtained from the 16.04 ubuntu default environment, after having removed colour escape sequences: '\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}...
-2
votes
0answers
13 views

(SOLVED) No Internet through Terminal on Virtualbox without Proxy [on hold]

I am currently using Virtualbox on my Windows PC to run Linux, but when trying to do any terminal commands that require internet, such as apt-get update or ping 8.8.8.8 I get an error (that changes ...
0
votes
0answers
5 views

X won't start with Intel on-board graphics + nVIDIA card

I'm running Debian GNU/Linux Stretch with Linux kernel version 4.7.0-rc7. My machine has an on-board display adapter and an nVIDIA GTX 650 Ti, which I only use for compute work and has no display ...
-3
votes
0answers
16 views

PlayonLinux program not working, but with no signficant errors… SFD

Hello I am trying to install this (I commented it...) program... I don't know what is the problem is... the program says that it cannot finish loading?.... This is what SFD says... (I installed ...
4
votes
2answers
103 views

Return on error in shellscript instead of exit on error

I know that set -e is my friend in order to exit on error. But what to do if the script is sourced, e.g. a function is executed from console? I dont want to get the console closed on error, I just ...
0
votes
0answers
5 views

How to get active platform driver which used my MUSB

Problem I developing android application which using libusb to work with particular device. But this isn't not a question related to programming. I noticed that on some devices ISOC requests ...
2
votes
1answer
38 views

Custom lsof output

I need a list of the opened files, ports and so on by a process. Now whenever I use lsof -p <PID> I can parse the output, in a python script, but the problem is that sometimes I am getting some ...
0
votes
0answers
8 views

ksar (a sar grapher) development stopped 2013 - no RHEL 7x compatibility - any alternative?

Ksar is a BSD licensed Java based application to create graph of all parameters from the data collected by Unix sar utilities. Usually Unix sar is part of Unix' sysstat package and run sa1, sa2, ...
3
votes
2answers
88 views

pass variable in ssh

I'm trying to pass a variable to ssh remote but not works. My code is: #!/bin/bash set -x conexion="user@xx.yy.zz.pp" parameter="$1" ssh -T $conexion <<'ENDSSH' clear echo "$parameter" ENDSSH ...
0
votes
0answers
6 views

Netconsole is not logging all kernel panic

I've setup netconsole like written in the ubuntu wiki. When I provoke a kernel panic with echo c > /proc/sysrq-trigger the whole output of the kernel panic gets logged into my receiver system. ...
0
votes
0answers
5 views

perf says change_protection_range is the hotspot

I attached perf record to a process and the report says that 92% of the time is in kernel function change_protection_range (and next 5% in vm_normal_page). The program is using a lot of memory, and ...
0
votes
1answer
24 views

Regex for time stamps and corresponding lines

I have a human written text file that contains time stamps in form of dd-mm-yyyy,HH:MM or HH:MM:SS. I have managed to extract time stamps from text file using regex but I would like to also get a line ...
0
votes
2answers
30 views

How to deploy only Linux kernel into WiFi router? [on hold]

I am working on a project regarding router's firmware. I analyzed several of the open source projects (OpenWrt,DDWrt,tomato,...) and used OpenWrt tools to build custom firmware for the router, but my ...
-1
votes
1answer
24 views

execute a remote script from local script with ssh

I'm trying to execute a remote script from local script by ssh. If I do these from command line (local) works: ssh usertry@10.x.x.x <<'ENDSSH' /path_to_script/scrip.sh value ENDSSH But when ...
0
votes
0answers
10 views

Security guideline - permissions of /etc/cron.allow set to 600 [on hold]

The security guideline that my company follows (CIS Ubuntu 14.04 LTS Server Benchmark) states that users should be explicitly added to /etc/cron.allow and that file should have permissions set to 600 (...
0
votes
0answers
5 views

Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (mysql2 is not part of the bundle. Add it to Gemfile.)

Trying to install gitlab After I typed this: sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production I'm getting this error: RAILS_ENV=production rake aborted! Please install the mysql2 ...
0
votes
0answers
3 views

RES shown by 'top' not matching with CODE + DATA

I am trying to diagnose the memory consumed by processes. I am running top and as per the man page of top, RES should be = CODE + DATA, but in my case it is not matching. I am seeing that VIRT = RES +...
8
votes
2answers
569 views

What is a practical example of using the suspend command in Bash?

suspend is a builtin command in Bash. When would you naturally use this command and find it useful?
0
votes
0answers
21 views

curl - connection refused

I am trying to curl and its failing both on localhost & on the remote host. [root@server1]# curl http://10.169.108.132:8080/redhat71/repodata/repomd.xml curl: (7) Failed connect to 10.169.108.132:...
0
votes
0answers
8 views

Routing traffic on specific interface over OpenVPN with FreeBSD

I'd like to setup OpenVPN between a FreeBSD client and an (Arch) Linux server such that All Internet-bound traffic explicitly sent from FreeBSD over the tunnel device is routed through OpenVPN but ...
-2
votes
3answers
37 views

How to set own ip address for localhost [on hold]

I have installed centos 7 i want work on Linux,Apache,Mysql,php(LAMP). Can any guide me how to set my own ip config to work
0
votes
0answers
11 views

why does my rdseed loop does not work

I have this script. This goes in every folder in that directory.These folders contain Sfile example S20120213.014536. After going to the folder it do the command rdseed -d -R -p -f (Sfilename). The ...
0
votes
0answers
13 views

Which SCSI Command can get the information similar to SMART attribute?

There are two questions. http://www.tldp.org/HOWTO/SCSI-Generic-HOWTO/index.html 1) From above site, I learned How to send SCSI Command and receive data from SCSI device. Also, I heard SCSI ...
0
votes
0answers
8 views

Highest sampling rate with SoX recording

What would be the highest sampling rate I can specify for recording in SoX? I have a microphone device incorporating a high speed sampling card. I would like to record signals at 16 bit and either ...
0
votes
0answers
12 views

Text field text, on some web pages, is barely visible on i3

Text field text, on some web pages, is barely visible. For example, so far Yandex Email: User Name field Youtube: Search field How to solve this issue? Note: Installed Manjaro (i3 version), ...

15 30 50 per page