Questions tagged [linux]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

Linux software Raid5 DegradedArray with mdadm

So I changed my case and I don't know why but one my SATA port does not work anymore. So only 5 of my 6 RAID5 disks were recognized. The volume was automounted anyway and I already wrote new files on ...
tachikoma01's user avatar
3 votes
2 answers
3k views

Install FFMPEG in Redhat Linux via rpm for a non root user

How can i install ffmpeg rpm for a non root user on linux server. I tried installing the package using rpm -ivh ffmpeg-devel-0.10.15-1.el6.i686.rpm The above package shows number of dependency ...
LeDerp's user avatar
  • 133
1 vote
0 answers
79 views

Need help writing Linux script to automate moving files when flash drive is inserted

I am trying to use a Raspberry Pi running Raspbian to automatically move (not copy) the contents of Folder A (local) to Folder B (on SD card via USB to SD card reader) automatically when the card/...
Dr. Sushi's user avatar
0 votes
1 answer
468 views

SSLH multiplexing - custom protocol (DNS)

I am using SSLH multiplexer for SSH and OpenVPN, but i need to use it for DNS server also (I am multiplexing everything on port 53 - I can't use another port). I've read that SSLH can do this (using ...
David Indra's user avatar
13 votes
3 answers
12k views

Delete kernel module completely

I would like to ask you how can I delete some kernel module completely? I mean really delete, not unload or prevent to load. I tried to use rmmod, but it just unloaded module, same as modprobe -r. So ...
Majzlik's user avatar
  • 131
1 vote
0 answers
68 views

Can I boot an Acer Power S260 from a USB flash drive?

I have an Acer Power S260 which I am trying to boot from a USB flash drive to install a Linux variant. There are options in the BIOS for booting from USB-FDD, USB-ZIP, and USB-CDROM, but not from USB-...
alisonnic's user avatar
1 vote
0 answers
351 views

Raspberry-pi remote connection using putty, GUI not working

On my Client PC I’m running Windows 8.1 and I have installed XMing. I am running Putty and I have configured it to enable X11 Forwarding. I have tried leaving the X display location blank (as default) ...
ak001's user avatar
  • 11
1 vote
2 answers
2k views

Bash Script, Striping out newline characters in variable

Still getting the hang of bash scripting... I have a function that resizes images and calculates how much to scale it based on the file size. I need to pass this percentage as an argument to the ...
ddmd's user avatar
  • 11
2 votes
0 answers
2k views

tar stops with "Cannot stat: No such file or directory"

tar complains about not finding a directory that exists, and to which I have permissions. I have seen a number of similar questions, but all of them had to do wih the option f not being just before ...
Gauthier's user avatar
  • 1,235
3 votes
2 answers
5k views

Pulseaudio remixing handles subwoofer / center volume differently

I'm using pulseaudio on my debian system. My PC is connected to a 5.1 system. I enabled remixing, lfe remixing, channels, etc. in the pulseaudio configuration (speaker-test works perfectly). When I ...
incaseoftrouble's user avatar
2 votes
1 answer
436 views

Fedora 23: Properly recreating /home partition and integrating it into an exisiting installation?

I used a btrfs raid 1 for my /home partition, but unfortunately the file system destroyed itself. '/' is on a seperate drive. Now I want to recreate the /home partition for my user (this time using ...
incurious's user avatar
  • 123
1 vote
1 answer
2k views

Linux bash script for oldest file in a folder + return value if folder is empty

I am using SUSE Linux Enterprise Server 11 (x86_64) I need to find a folders oldest file and print it out in unixtime. I did get the job done with this one liner: find $1 -maxdepth 1 -type f | xargs -...
knob's user avatar
  • 13
1 vote
0 answers
65 views

Vim doesn't respect fileformat setting on windows share [Solved]

I have mounted several SMB shares (folders are located on windows server) on my linux machine gvfs-mount smb://user@domain@fileserver/sharedfolder I can access files and edit them in vim, but vim ...
AMasz's user avatar
  • 11
1 vote
0 answers
717 views

timeout on connecting to vsftpd on Ubuntu 14.04

I have a VPS running Ubuntu 14.04. I'm trying to run a FTP server on it, using VSFTPD. I think the server is running as it should, I can connect to it locally: root@my-server:~# ftp <IP> ...
gait's user avatar
  • 11
4 votes
1 answer
2k views

Linux: How does user log out work

I'm new with linux. I've searched about how to safely log out other user and found few solution but I want to know how they work internally. I have few questions: 1. pkill -KILL -u {username} Does it ...
user590536's user avatar
0 votes
1 answer
1k views

Linux more, how to move to beginning of file?

How to show the beginning of file or show the exact line with move terminal command if I gone to the next page?
Alexey Elesin's user avatar
0 votes
1 answer
65 views

Accessing a local device host with IP ending in 0

I have made a mistake in setting up a headless embedded Linux device on a network. I left the static IP set to 10.10.10.0 with its subnet set to 255.255.255.0, which is of course an impossible ...
ausshir's user avatar
2 votes
2 answers
6k views

Can't create a partition table on micro SD card

I'm trying to reformat a micro SD card that was previously in a raspberry pi (and had stopped working). However, when I plug it into my main computer (arch) and try to partition it, I can't because ...
ZuluDeltaNiner's user avatar
1 vote
0 answers
127 views

Gnome 3 detects my screen differently VGA/HDMI

I have a screen that is correctly detected by gnome in VGA, he said the screen made 40 ", but when I connect HDMI, he said the screen made 7". Can I configure this option?
Clément Laffitte's user avatar
3 votes
1 answer
4k views

How to mount a LUKS encrypted device with password prompt NOT at bootime?

I would like to automate the process of doing sudo cryptsetup luksOpen /dev/sdc sdc_crypt sudo mount /dev/mapper/sdc_crypt /mnt/data in one line with mount /mnt/data and only be prompted for the ...
omega's user avatar
  • 91
0 votes
2 answers
7k views

How to use crontab to launch scripts

I have created a script (which I already tested if it works) and I want to use crontab to launch it everytime my pc reboots. I created these script called test.sh just for fun and it's pretty easy: ...
OverMorrow's user avatar
0 votes
1 answer
405 views

RHEL7 /boot deleted from fstab

Running RHEL7 Virtual Machine in my home lab. /boot is separated from "/". root@localhost ~# grep part anaconda-ks.cfg -A4 clearpart --none --initlabel # Disk partitioning information part pv.251 --...
yaseen's user avatar
  • 3
0 votes
1 answer
1k views

Script not running on resume/wakeup in Ubuntu

I have a script named 999_thaw_flash.sh in my /etc/pm/sleep.d The script follows like this :- export DISPLAY=:0 #!/bin/bash case "{$1}" in resume|thaw) lynx --dump link1 >> file1 lynx --...
penta's user avatar
  • 135
1 vote
0 answers
79 views

Upgrading Kubuntu through LiveCD after Crash

I have accidentally purged some important stuff, I think, causing my Kubuntu 14.04 to not boot past the startup logo (see my earlier question on Unix Stackexchange here). I can, however, run Kubuntu ...
Douglas James Bock's user avatar
3 votes
2 answers
441 views

Diffrent output of "ps -a" on Ubuntu and Fedora

I have noticed that the ps -a command produces different output when I run it on ubuntu "16.04" and Fedora 23. According the man page of both distribution the -a option should do : -a Select all ...
ob_dev's user avatar
  • 201
2 votes
1 answer
11k views

How to equivalent to ps -ef in Windows 10

I have looked online, and have not found anything that would accomplish what I want to do. I am looking for a command with output equivalent to "ps -ef" of Linux so I can find out the process id ...
user3326293's user avatar
0 votes
0 answers
44k views

Linux Command to list all FTP users in shell including the users created using vsftpd

I have created a few ftp accounts/users on my CentOS server using vsftpd. Now I would like know the username of that accounts using SHELL. I have root password to access the SSH. I have tried to find ...
A.A's user avatar
  • 141
0 votes
1 answer
320 views

Server lock-up, fsck after reboot

After locking up for whatever unknown reason, my dedicated server shows the following after rebooting: It has been stuck on this for about 2.5 hours now. It shows no progress indicator of any sort ...
user1640348's user avatar
2 votes
1 answer
5k views

PPTP VPN works from Windows, not Linux

I can't connect to my work's PPTP VPN from Linux. But when I reboot to Windows, it works. I'm using Ubuntu 16.04 and I try to connect using Network Manager and PPTP plugin. nmap returns the ...
Pitel's user avatar
  • 121
0 votes
1 answer
778 views

Trying to install Owncloud client on Linux Mint Rosa Fails

I'm running a brand new Linux Mint Rosa (17.3 Cinnamont 64-bit), and I'm having way too many problems to install the owncloud client on it: Given that the package on the mint repo seems to be ...
Neuromante's user avatar
0 votes
2 answers
53 views

How to set up a network in Windows 7 to let others can access an internal Linux server?

I have two machines. Machine 1 (denoted as M1) is Windows 7 and has two network cards. Machine 2 (denoted as M2) is RedHat 6.5. In M1, the first network card is connected into the Internet and the ...
mining's user avatar
  • 233
1 vote
2 answers
5k views

Custom script run with sudo - command not found

Problem: Running a script as sudo returns sudo: mount-remove-hiberfile: command not found Info: Scripts folder: '/scripts' (all my custom scripts are kept here) My User: 'cybex' cybex@cybex-...
CybeX's user avatar
  • 1,385
1 vote
0 answers
194 views

ap-linux in a vm, does this make sense?

AudioPhile Linux, a distro tailor made to play audio has interested me. However I don't consider it desktop-grade and I don't have a spare machine to use it with. Does it make sense to run audio-...
ThorSummoner's user avatar
  • 1,170
0 votes
1 answer
339 views

Computer gets hot with Linux Mint

So recently I had installed Linux Mint (Rosa) on computer and I dual boot it with windows 10. With windows there is no problem, it does not get hot for example if I get into YouTube or something not ...
GOXR3PLUS's user avatar
  • 103
3 votes
0 answers
9k views

FFMPEG Trying to restream a RTSP stream to HTTP

I have been trying top cobble something together to take a RTSP feed from a IP camera and re transmit it in HTTP. I am trying to get the feed in to my home automation app which does not support ...
Bob Natale's user avatar
1 vote
0 answers
3k views

docopt module is never found eventhough install

I am trying to run a simple command line that requires dependencies module. I have installed the dependencies pip install requests docopt ran the script -> ./generate-dnscrypt-cmdline. Everytime i get ...
zongo's user avatar
  • 21
5 votes
3 answers
3k views

NO CARRIER with Huawei ME906s

With my Huawei ME906s on Linux (tested with debian sid, debian experimental, Fedora 24 and Ubuntu 16.04, but the result's the same under Windows 10), I get either ERROR or NO CARRIER messages (...
phihag's user avatar
  • 2,777
3 votes
2 answers
3k views

php 5.6.20 - /etc/php5/conf.d directory missing

I can't find /etc/php5/conf.d directory in my system. Do they change catalog structure ? I already read /usr/share/doc/php5-common/README.Debian.gz There is information about linking /etc/php5/$SAPI/...
beginner's user avatar
2 votes
1 answer
319 views

How to set different shell prompt color for each newly opened terminal

I am using Ubuntu and can manually change the bash shell prompt color to green using export PS1="\e[0;32m[\u@\h \W]\$ \e[m" However, I want the shell prompt color to automatically change whenever I ...
manav m-n's user avatar
  • 353
2 votes
1 answer
2k views

Python Script with .py Extension Data Recovery

I have deleted some of my python scripts about 3 months ago and now I want to recover them, I tried Data Rescue 4 which is told as the best data recovery software but it was unable to find .py ...
hzleonardo's user avatar
0 votes
2 answers
1k views

cron job on centOS 6.5

I have used these 2 references to insert a new crontab entry. redhat ubuntu I have created a new bash file and moved it to /usr/bin. That sh file has execute permissions for the root user and the ...
bwfrieds's user avatar
  • 101
0 votes
1 answer
750 views

Why does terminal repeat "//: is a directory" after I source .bash_profile?

Sergios-MBP:~ home$ nano ~/.bash_profile Sergios-MBP:~ home$ source ~/.bash_profile -bash: //: is a directory -bash: //: is a directory -bash: //: is a directory -bash: //: is a directory -bash: //: ...
Sergio Valentin's user avatar
0 votes
0 answers
265 views

Stuck in BIOS after restarting laptop?

Good day! I restarted my laptop today after it hung up on me. When it booted, it greeted me with the BIOS screen. Of course I tried to reboot again and the same thing happened. I looked at the boot ...
Sonia Rocha's user avatar
4 votes
1 answer
2k views

Multiple X displays per monitor

I am developing software for a target system which has 3 displays, one per monitor: localhost:0.0, localhost:0.1, localhost:0.2 Though the target system has 3 monitors, my development system has only ...
Loduwijk's user avatar
  • 255
3 votes
2 answers
2k views

Which is the user‑space command for resuming from hibernation?

During a long time, I used echo disk > /sys/power/state In order to hibernate to/dev/sda10and I was using the initrd of my Debian distribution to resume. But recently, I switched to a raid ...
user2284570's user avatar
  • 1,823
1 vote
1 answer
4k views

Uninstalled Linux, still getting stuck on "grub" boot menu?

I installed then uninstalled Linux on a Windows 10 machine according to instructions at (http://www.howtogeek.com/141818/how-to-uninstall-a-linux-dual-boot-system-from-your-computer/). I removed the ...
Benzle's user avatar
  • 133
0 votes
3 answers
1k views

Linux server just as RAMdisk

I want to setup an anti-forensic Linux server to protect my users. My aim is to have the Linux distro and everything inside of it running from RAM, never storing anything permanently. It is possible ...
k1308517's user avatar
  • 101
0 votes
1 answer
650 views

Install Firefox addon in chroot environment

My goal is to install some Firefox addon inside some chroot environment. I see 2 options here: either run firefox with X from within the chroot and install the addons or put all the files where they ...
user3916237's user avatar
0 votes
1 answer
38 views

Why does Software use it's own proxy settings?

Why does some software on Linux e.g. wget and apt-get/aptitude don't make use of the system variables for proxys? Is the difference between all the system too large to do that or is it just because ...
alsternerd's user avatar
1 vote
2 answers
146 views

Configure SNMP to send messages to two different monitoring platforms

Is it possible to configure snmpd on Ubuntu (via snmpd.conf) to send messages to two different monitoring applications? For example, lets say I have defined a read only community called 'readonly', ...
Richie086's user avatar
  • 5,191

1
511 512
513
514 515
1176