A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

1
vote
2answers
518 views

Can't boot kali linux under grub2 (usb flash)

I split usb flash to three part: | For DATA | For Kali Linux | Persistence | Then i'm install grub on /dev/sdb2: sudo grub-install --no-floppy --root-directory=/mnt/linux /dev/sdb Write ...
1
vote
2answers
72 views

Strange filesystem issue on Linux Mint - Deleted large file, no additional disk space avalable

I believe I have found a problem with Linux Mint. (Version 17? - How do I check this?) I have a program which has been running for several days and has produced an output file several hundred ...
1
vote
2answers
54 views

read operation with two interchanging processes and context switch

P1 and P2 are both processes, different from each other. this is a read operation done on the hard disk: Given above is a diagram of a read instuction in Linux, Is it true that it's better to avoid ...
1
vote
2answers
74 views

External SSD with bootable linux is too sensitive

I have OCS Vector 150 with Ubuntu 15.04 installed on it. The drive is inserted into Transcend StoreJet 25S3 closure. It's pretty comfortable for me to use it both at home and at work. Also I can ...
1
vote
2answers
80 views

iptables on CentOS 6.6

I'm trying to open a port on CentOS, but it doesn't seem to work: port 16 seems to be closed and 4075 seems to be open, even though according to iptables it should be visa versa. Chain INPUT (policy ...
1
vote
2answers
819 views

Fedora 22 - Can't Access GNOME Lock Screen

I recently installed Fedora 22 and I'm using GNOME v3.16.2. I am new to Fedora, but moderately experienced with Linux. I cannot figure out how to lock my screen with a keyboard shortcut. I have ...
1
vote
2answers
75 views

Conditional variables in Makefile

I am trying to compile source code in various ways. For example, suppose I want to compile a fortran program with source code main.f90, file1.f90, and file2.f90 as inputs. To generate hello.exe, I ...
1
vote
2answers
813 views

How do I connect to SSH over an existing OpenVPN connection?

I have a dedicated server running OpenVPN and SSH on Ubuntu 14.04. Sometimes, port 22 is blocked on a remote network, while OpenVPN can still be used. So how do I manage to connect to SSH over the ...
1
vote
2answers
3k views

Wifi very slow on Linux Mint 17, works fine on Windows

My wifi is working just fine on Windows in my new ASUS X450L notebook but is unbearably slow (often becoming unresponsible) on my dual boot Linux Mint 17. I believe it is a problem with the drivers. ...
1
vote
2answers
59 views

Fedora localized wordlist package

On Debian you can get alternative wordlists to the default /usr/share/dict/words by installing wpolish, wgerman and others. This question points how to install the default wordlist on Fedora, and how ...
1
vote
2answers
444 views

Route outgoing traffic through whonix gateway/tails, allow incoming VPN traffic (me->my VPN server-> Tor)

Basically I want to do VPN -> Tor, but with all outgoing traffic from the VPN server going through Tor, and the Virtual Machines only on the VPN server, not on my PC. So I will have a VPN which will ...
1
vote
2answers
66 views

How can I put my CentOS on public IP so that I can access it WinSCP from home?

I have a centOS system at office and I want to access it from home via WinSCP. I have a static public IP at office. Please help!
1
vote
2answers
101 views

Clone Drive Using Linux DD Command: Send IMG Over SSH Connection

I SSH to a VPN running Ubuntu Linux. To make backup copies of the hard drive, I use the following dd command: sudo dd if=/dev/sda1 of=/home/rick/hdImage-20150704.img It works, however, is there a ...
1
vote
2answers
2k views

Crontab command cannot be executed. Error PAM configurations

Here's the command that I would like to execute but it seems not to work. [mdubois@veloce ~]$ crontab -l Autorisation refusée You (mdubois) are not allowed to access to (crontab) because of pam ...
1
vote
2answers
96 views

download file in Linux console from server that use redirection

First of all, I just don't want to change name of curl's output file. The great example is http://www.getsoloapp.com/download. When you do: curl http://www.getsoloapp.com/download you download html. ...
1
vote
2answers
1k views

error in script (bash): ambiguous redirect

I'm rewriting a simple script, CopyScript.sh, I wrote a few years ago to copy contents from my NAS to a USB disk. #!/bin/bash SYNCPATH="/volume1/" ...
1
vote
2answers
38 views

how to log information when a file is executed

I want to log information when a file is executed and hopefully tail that information. What is the best way to log for example a timestamp and ip address when a file is being executed via ssh terminal ...
1
vote
2answers
315 views

How to execute sudo NOPASSWD command on other server via SSH

I have read all the post related to the issue. But If you can see mine as well and give suggestion. I am trying to do passwordless SSH and run a script on remote server. But Sudo access ask for ...
1
vote
2answers
86 views

Backing up linux server on ntfs harddrive

I'm looking for a way to backup my debian server. For the data partition I have a solution using rsync, the backup goes to an encrypted ntfs-drive. NTFS because I often take the drive with me to watch ...
1
vote
2answers
107 views

MySQL server copied from Windows won't start on Ubuntu Linux

I have an external hard drive (formatted NTFS) to which I copied the MySQL data folder from a machine running Windows 7. I have been successfully able to start/stop/use MySQL on the Windows machine ...
1
vote
2answers
124 views

Where to set advanced settings for serial port on linux

I use a special USB to serial adapter to get data from legacy hardware. Under Windows i have to set some advanced settings in order to start sending data in a way the devices can "understand" and ...
1
vote
2answers
216 views

Constantly can't open youtube on Linux but being able to load it on Windows machine

My problem is that for some reason Youtube sometimes stops, I get "problem loading page" with Firefox and the same on Chormium, I'm using Backbox(based on Ubuntu). The problem is that I can open ...
1
vote
2answers
188 views

How to keep the reverse shell open in Netcat?

As soon as the command prompt is closed on the target machine the reverse shell is closed on the client machine. Is there any way to keep the port open and Netcat working after the target machine ...
1
vote
2answers
163 views

PHP server permissisons for files and directories granted, but still not allowed

I have php code on Codeanywhere where I'm simply trying to create a file on the server but yet gets the following error : "Warning: fopen(file.txt): failed to open stream: Permission denied in ...
1
vote
2answers
69 views

Is there any way to install any linux distro without acesssing the bios? (broken screen)

I am trying to run a Linux system from my y500 Lenovo ideapad but I can not access the boot menu or bios at all. This is because I have a broken screen and am using an external display to make use of ...
1
vote
2answers
105 views

Connecting two separate SSH connections together

I'm working on a small project and looking for some advice on how to make a portion of the project work. Goal - join two separate ssh sessions together. I want to see if keys used to login to bastion ...
1
vote
2answers
523 views

Full Disk Encryption in existing Linux system without erasing any content from the drives

I am trying to achieve "Full Disk Encryption" in a already installed Linux system. I have come across with LUKS with dm-crypt, it can encrypt a drive/entire disk, but before encrypting it is ...
1
vote
2answers
200 views

sudo alternative to allow certain user to execute chmod from a program

I would like to allow a certain user who does not own the files in a directory to execute chmod on them. Interactively, I know that I can do this by configuring sudo with the sudoers config file(s), ...
1
vote
2answers
294 views

can we do the full disk encryption of a already installed Linux machine?

I need some information regarding any possibility to do full disk encryption for a already installed Linux system(e.g centOS or Ubuntu). Is there any default mechanism for FDE present in Linux like ...
1
vote
2answers
331 views

Cloning a Linux software RAID and LVM setup to another computer

I need to create a number of (almost) identical Linux machines (Debian Wheezy) with software RAID and LVM. I'm thinking of creating a base installation and cloning that one to all machines. I tried ...
1
vote
2answers
256 views

ERROR: could not load library “/usr/lib64/pgsql/hstore.so”: /lib64/libc.so.6: version `GLIBC_2.14' not found

I’m trying to enable hstore on my PostgreSQL database running on an Amazon Linux AMI. I’ve already jumped through a ton of hurdles and ended up with this error that I can’t get past: ERROR: could ...
1
vote
2answers
81 views

Does the Mac OS X SSH client integrate with other systems?

I have MacBook Pro running Mac OS X 10.10 (Yosemite), when I enable the SSH from (“Preferences - > Sharing”) it gives me link like this : members-12-13.hallsnetwork.xxxx.com Well, clearly the link ...
1
vote
2answers
172 views

Mounting an old DOS harddrive on Linux

I'm trying to mount an old harddrive from a mid 90's 486 for file recovery. The harddrive (Matrox 7850 AV) is identified correctly by the motherboard (Asus P5QL PRO), but it can't be mounted in Slacko ...
1
vote
2answers
138 views

Deduplicate images synced across devices in various resolutions

I currently have a couple of scripts and Android apps that together do the following for a set of member devices (smartphones, PCs, digital cameras): all pictures taken by all member devices are ...
1
vote
2answers
424 views

Stats on /proc/diskstats always shows more writes than reads

I've taken the following stats from /proc/diskstats: 9 0 md0 106989 0 _2923830_ 0 117988 0 _3448953_ 0 0 0 0 8 0 sda 33840 22299 _1143351_ 871132 87336 194804 _2003961_ 2201868 0 949992 ...
1
vote
2answers
79 views

How can I save Chrome's opened pdf from ftp site?

I have opened a PDF file in Google chrome version 38 in Linux. But, when I wanted to save the PDF, Chrome wants to re-download again. How do I save the pdf without re-downloading? FYI, I could ...
1
vote
2answers
465 views

Installing CUDA toolchain in linux without botching X

I've been trying for some time to install the CUDA toolchain (6.5) on my linux (Fedora 20 x64, GeForce GT 540M) system. The main issue is that the drivers that curently allow X to run ...
1
vote
2answers
137 views

Why can't I view the arp table on my VPS server?

I'm running CentOS Linux release 7.0.1406 on a VPS server. Attempted to use the "arp" command and found it was missing. I tried as root as well to make sure the command wasn't in sbin. Then I googled ...
1
vote
2answers
38 views

Need help trying to get a script to start on boot

Luke here! Although I've been using Linux as my main OS for quite a while, I'm still pretty much a noob when it comes to using it. Sorry. I have a Raspberry Pi that I'm trying to set up with the ...
1
vote
2answers
240 views

Fedora 21 fedup CLI error

I'm trying to upgrade my Fedora 20 Atom netbook to F21 using the official CLI tools, as well as the KFUpgrade fedup GUI tool I found on SourceForge. The ISO from getfedora.org wasn't recognized as a ...
1
vote
2answers
359 views

Cannot load tp_smapi module on thinkpad x60

I have an old thinkpad x60 running debian. Recently, I brought a new battery, to check the stats(manufacture-data, first use etc ..) I installed a common program called tlp on the machine. But It ...
1
vote
2answers
183 views

Rename files do the tree folder name in terminal, shell mac or shell linux

I'm working with a tree of folders and files with the structure \ Stories \ 00 \ 0 \ 00000 \ temp.xxx \ Stories \ 00 \ 0 \ 00001 \ temp.xxx ... \ History \ 10 \ 5 \ 10552 \ temp.xxx \ History \ 10 ...
1
vote
2answers
42 views

Having trouble replacing a specific hyphen in directories that follow a specific format in Bash

I have a list of directories using the format: 2014-12-03 13-03 2014-09-03 12-07 etc. I need to change them to: 2014-12-03 13:03 2014-09-03 12:07 … I’m trying to do this with for d in *\ ...
1
vote
2answers
125 views

Linux/Bash: Create relative soft links to files in directory tree?

I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir. That could be ...
1
vote
2answers
538 views

How to strip metadata from MP3 files?

I want to strip metadata from MP3 files. In a brief: How to simply get a stream of pure MP3 frames out of a MP3 file – by means of command line tools? Preferable using tools out of the box of a linux ...
1
vote
2answers
747 views

Status line in linux shell

I use Windows and Putty in order to remotely connect (ssh) to some linux servers. I have set my hardstatus in my .screenrc file so that I can monitor some useful information. But this works only when ...
1
vote
2answers
2k views

Links SSL Error

What version of links does the user called "bytepool" have that he's able to find this workaround? Refer to link below. How to tell `links` to ignore expired SSL certificate and proceed? He writes ...
1
vote
2answers
1k views

SSH Multiple Session -> “stdin: is not a tty”

I have a Linux-VPS, using it as GIT- and HTTP-Server. HTTP: Apache Git-server: git-http-backend via vhost When i log me in via SSH, everything is fine. But if i open a second SSH-Connection , i get ...
1
vote
2answers
91 views

Unexpected behavior when using screen with init.d

I added a shell script in startup with the following command: su - root -c "/usr/bin/screen -dmS SomeServer java -jar /home/SomeServer.jar" When I normally run this command, screen is created & ...
1
vote
2answers
244 views

Can an LTSP server use a GPU for client rendering?

I am setting up an LTSP (Linux Terminal Server Project) server and some Raspberry Pi's as thin clients. Could the server make use of a GPU to increase the performance of rendering the thin clients' ...