0
votes
0answers
3 views

write error: No space left on device. Removing 'extra' packages. Attempting recovery

The Issue: When I type: dpkg-query -Wf '${Package;-40}${Priority}\n' | sort -b -k2,2 -k1,1 I get a list of all installed packages on my machine, example: ... raspberrypi-artwork ...
0
votes
0answers
2 views

No core dumps on Mint 17.3

I'm on Mint 17.3, and I can't seem to be able to get the system to generate core dumps. I expect, e.g. $ sleep 100 & kill -abrt $! to dump core, but it doesn't. I've enabled $ ulimit -c 1 ...
0
votes
0answers
3 views

Networking problem with new Intel NUC

I recently got a new Intel NUC6i5SYH to replace my very old and not too powerful home server. I've installed XenServer 6.5.0 (as was on the old server) and plan to just copy over the VM's and other ...
0
votes
0answers
5 views

Sharing a directory from MAC to Docker

How can i share a directory residing on mac osx host to the docker running on it.
0
votes
1answer
8 views

How to run a script upon IP change

My Debian machine is currently part of my home LAN, behind the ISP box which handles all network related activities (DHCP, firewalling, telephony, IPTV, ...). A classical case of residential home ...
0
votes
0answers
8 views

Ubuntu gets shutdown after unplugging adapter

I have ubuntu 14.04 installed on my laptop Lenovo T430. The problem which I am facing is my machine gets shutdown after I unlug the adapter although the battery is charged 100%. On my machine windows ...
0
votes
1answer
8 views

linux program not running at boot time

I have a few scripts: collection.sh start.sh script1.sh and script2.sh. and here is how I have these set up to run at boot time collection.sh calls start.sh, and start.sh calls both script?.sh. ...
-2
votes
0answers
9 views

Can I update Lubuntu?

I have Lubuntu on my very old laptop. When the update reminder came up I just confirmed and entered the password so it can update. When the computer restarted it looked like Ubuntu and not Lubuntu. I ...
0
votes
0answers
17 views

how to login a as particular user using shell script [duplicate]

How to login as a particular user using shell script? i am tried [user1@localhost /tmp]$ echo -e "PASSWORD\n" | su shubham i m not login as a "shubham" user
0
votes
0answers
8 views

how to use web browser as VNC client?

i want to remotely login my user in the web browser but i don't know how to do this. I am using "Redhat" and i am properly setup vnc server without any problem. i am using vnc client for remotely ...
0
votes
2answers
26 views

Confused about the behavior of asterisk in ls command

On Centos and Debian I tried this. Does the * with the ls command imply recursive search? If I start to type a dir name and hit tab I see this: # ls /etc/rc<tab> rc0.d/ rc1.d/ rc2.d/ ...
1
vote
1answer
21 views

How to mount a drive from command line

I normally mount my drives just by opening it from filesystem. It automatically mount when I click on a drive. But I wanted to mount a drive from command line. I did ran this command sudo mount -o ...
0
votes
0answers
8 views

How does one remove a tar-installed Node.js from CentOS 7?

A CentOS 7 server has v0.12.7 of Node.js installed, and the installation was done using a tar. This is leading to conflicts when I try to install a more modern version of Node.js using yum. What ...
0
votes
0answers
6 views

Run mkvirtualenv command as another user

I want to run the "mkvirtual sth" but I have to run the script as superuser. sudo ./install.sh install.sh looks like this: # ... mkvirtualenv sth # su - geeret -c "mkvirtualenv sth" # (tried ...
0
votes
0answers
5 views

Pure Data on Linux Mint , ALSA output error (snd_pcm_open): Device or resource busy

I'm currently working on Linux Mint 17.2 with Pure Data. If I open a video in Mozilla and then I enable DSP on Pure Data, I get the following error: ALSA output error (snd_pcm_open): Device or ...
0
votes
0answers
6 views

Computer beeps trying to boot from a portable setup

I installed openSUSE on an external drive, with the intention of taking my workspace with me and use it across different computers. All went fine, except one computer that won't boot. To be more ...
1
vote
0answers
9 views

download rate limiting based on network usage

I have a Debian Wheezy (Open Media Vault) server with a few different downloaders working most of the time. (Primarily FTP) I would like to be able to adjust the download limits of this server based ...
1
vote
1answer
9 views

What is the default virtual terminal font?

From the Arch Wiki: By default, the virtual console uses the kernel built-in font with a CP437 character set, but this can be easily changed. I actually prefer this font over the default ...
0
votes
1answer
9 views

Install Ubuntu on Unallocated Space after E Drive?

I want to dual boot Windows 7 and Ubuntu, I already have win 7 installed in C drive The question is can i install Ubuntu on Unallocated space after the E drive? i mean this space is not behind C ...
1
vote
1answer
11 views

Debugging “unable to connect to sendmail server”

In a corporate environment, we have a mail server which has only ports 25/tcp and 587/tcp available. When we use Perl Scripts (using HTML::Mail) to send hundreds of legitimate mails, it occasional ...
1
vote
1answer
18 views

Find duplicates by column in a file

I have an input file containing file paths and their md5sum, separated by semicolons and sorted by md5 hashes : /media/LaCie/Images/recup2/recup_dir.1/f1295328.jpg;0080ececd3da8533f5d11e449cf73287 ...
0
votes
2answers
13 views

Port 8080 and 22 Redirect 2222 doesnt work

I am attempting to open a few ports 8080 and 22 redirecting to 2222. I have selinux disabled in /etc/sysconfig/selinux. I am using 8080 to access Tomcat and Port 22 to have it redirect to 2222. When ...
0
votes
1answer
10 views

selinux allow port 8332 porttype

selinux is blocking port 8332. Now I want to unlock it. But what porttype do I have to use for an rpc connection? This is the message I get: SELinux is preventing /usr/sbin/php-fpm from name_connect ...
0
votes
2answers
22 views

CLI command to capture region with delay?

Of all screen-shot tools that I have seen in Linux, the KDE one (ksnampshot) looks the most powerful. ksnapshot --region is a command that I can associate with a shortcut to capture a selected region ...
-2
votes
1answer
27 views

Permission denied when trying to create file in writable directory

I have set 666 permissions to the directory, that means rw for anyone. But when my PHP script tries to create an empty file in it, I get a permission denied error. This is the line that creates the ...
0
votes
1answer
7 views

grub2-reboot without root

I use the following script (based on code here) to reboot to windows, so I can stop kicking myself every time I start daydreaming and miss the boot menu. #!/bin/bash ENTRY=$( grep Windows ...
0
votes
0answers
3 views

Why isn't clamscan reporting “access denied” errors?

man clamscan says that --quiet results in it only printing error messages, and return code 2 means "Some error(s) occured". However, when running clamscan --quiet /usr/bin I'm getting return code ...
1
vote
1answer
34 views

Display file with ANSI colors [on hold]

I have a file with ANSI colors. test.txt: \e[0;31mExample\e[0m I would like to display the content of this file in a terminal, like cat does, but I would like to display the colors as well.
0
votes
0answers
10 views

How do I get WI-FI working on Parrot-Secuity OS?

When I get into parrot OS it says etho disconnected there is no wireless option shown for a Wi-Fi network I am in dual boot with windows 10 I had this same issue with kali Linux everything I saw on ...
1
vote
1answer
32 views

Can not run executable files from a mounted drive

I have downloaded eclipse and rubymine and previously placed in home folder. Then I used to open both programs by double clicking on eclipse.sh and rubymine.sh. Now I moved these two folders in a ...
-3
votes
1answer
27 views

How does the ps command work?

For an assignment I need to implement my own version of the ps command, but I'm not sure where it gets its information from. Where do I look to find all process information?
-1
votes
0answers
26 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
12 views

Right now I am working with RPC [on hold]

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
vote
2answers
49 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 ...
2
votes
0answers
19 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
17 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
7 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
28 views

Explanation of options(flags) for bash [on hold]

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 ...
0
votes
1answer
17 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
38 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 ...
1
vote
0answers
5 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
15 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
27 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
29 views

Syntax of bash alias definition

I'm using Cygwin, and have installed all the developer packages 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 What ...
1
vote
1answer
33 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, ...
5
votes
2answers
213 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
19 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
43 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
19 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
69 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 ...

15 30 50 per page