0
votes
1answer
566 views

sfdisk don't like partitions - want to dump another hard drive to restore software RAID

I'm using Cent OS 6.5. I have two Hard Drive which are exact copies of each others (/dev/sda and /dev/sdb). /dev/sda failed and had to be replaced. I am trying to copies everything from /dev/sdb to ...
0
votes
1answer
29 views

How to remove secureboot entry from bios boot menu?

I accidentally booted an opensuse usb in uefi mode and proceeded to install. Since then, I have been stuck with a secure boot entry in my bios boot options. How do I remove it?
7
votes
4answers
23k views

Udev : renaming my network interface

I just installed RHEL 6.3 on a Dell 1950 server. This server as two GBit ports, Gb0 and Gb1. For some obscure reason, udev chose to name Gb0 eth1 and Gb1 eth0. This is definitly not a good find for ...
0
votes
0answers
4 views

Moving /tmp folder to different location. Problems with /tmp not being emptied

I have two harddrives on my computer running Linux Mint. The first is an SSD and has my / partition and the second is an HDD and has my /home partition. I have heard that too many writes to the SSD ...
-3
votes
1answer
37 views

please help…ive waste a lot of time and im freaking out [on hold]

im trying to get kali linux running in my virtual machine everything looks like it installs correctly but instead of booting up kali linux after installation im getting this error message. ive tried ...
0
votes
0answers
3 views

Can't show the content of \sdcard of my Android phone from Ubuntu's Nautilus or FileZilla via sftp

I installed SSH Server from Ice Cold Apps on my Kyocera Hydro Icon. Then I set up a ssh server with the app, and ran it, and I could access the files in the phone from my Ubuntu's Nautilus using sftp. ...
2
votes
2answers
865 views

No build scripts available when compiling module outside of Linux source tree

I am attempting to build a basic module outside of the Linux source tree (3.18.0-rc6). When I build it, I get an error saying it couldn't find scripts/... My directory setup looks like this ...
0
votes
0answers
2 views

citrix - icaclient - no valid ICAROOT directory found

I have icaclient 13.2 installed on funtoo and when launching selfservice, I immediately get an error: No valid ICAROOT directory found When I enter my gateway in, the error comes up again and I also ...
2
votes
3answers
900 views

How can I get my PS1 prompt to show time, user, host, directories and git branch

I've seen others add all this information to their PS1 prompt. I like the approaches that colorize the elements and also do a carriage return at the end
0
votes
0answers
4 views

How to set up the gateway for wlan0?

I am using a private hotspot to connect a Raspberry Py to internet. I've setup the password and the ssid in the /etc/network/interfaces file. With this configuration I'm able to connect to the wifi ...
0
votes
1answer
292 views

Keyboard doesn't working in boot menu on VirtualBox

I've just trying use CentOS 6.5 LiveCD on VirtualBox but all my attempts fail. When the system starts I see "Automatic boot in 10 sec ..." - if I do nothing, the message disappears after 10 seconds ...
2
votes
3answers
1k views

Print some fields of /etc/passwd

I have a question concerning the usage of wild cards in Linux. Here I have some lines from a long list of lines in the /etc/passwd -file. root:x:0:0:root:/root:/bin/bash ...
4
votes
4answers
60 views

How to grep -v and also exclude the next line after the match?

How to filter out 2 lines for each line matching the grep regex? this is my minimal test: SomeTestAAAA EndTest SomeTestABCD EndTest SomeTestDEFG EndTest SomeTestAABC EndTest SomeTestACDF EndTest ...
0
votes
1answer
563 views

Bash script, ask for user input, to change a directory, sub directorys, and file's mtime atime linux recursively

Using GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) I am a bash scripting novice, not sure where to begin except at shebang #!. The following command. touch -a -m -t 201501010000.00 ...
0
votes
2answers
76 views

I can't seem to get debian 8 to boot right on powerpc g5

Every time I install it I get a message like press l for Linux, press c for cdrom and it just gets stuck there I don't know what to do. It says specifically: First stage debian GNU/Linux Bootstrap ...
1
vote
2answers
637 views

Is the chromebook Linux based at its core?

Just wondering if the Chromebook uses Linux in some way? If so, would there be a way to run Linux commands (e.g. Ssh) from a command line on it?
0
votes
1answer
8 views

rpm and deffattr

Why does %files ram %defattr(-,root,root,644) %dir %attr(755, root, root) /usr/lib/ram/postd /usr/lib/ram/postd/about /usr/lib/ram/postd/local.conf /usr/lib/ram/postd/local.init.conf ...
0
votes
1answer
12 views

Is there a default ssh server or ftp server running on most linux distros?

I am quite new to using linux and I am wondering if, in most circumstances there is a default ssh and or ftp server running. I have started a few virtual machines and I have always been able to ssh ...
0
votes
1answer
1k views

CentOS 7 won't serve static https content, why not?

I just re-installed httpd and created a static index.html file. I have firewalld configured to allow internet access to the https service. But when I type https://my.server.ip in a web browser, the ...
0
votes
0answers
12 views

Environment Variable not Exporting [duplicate]

I have this script that I'm writing, basically as my own free dynamic dns system (with a bit more manual-ness at the moment). Here it is: #!/bin/bash ...
0
votes
0answers
3 views

Default input device sox

I'm trying to configure sox to use a webcam that I just ordered. I've confirmed that the mic works through the GUI. I ran arecord -l and found that the card, device numbers are 1 and 0, respectively. ...
1
vote
1answer
22 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
1
vote
1answer
8 views

Ethernet Connection not working on Ubuntu 14.04 (with Windows 10 dual boot)

I've dual booted Windows 10 (first) with Ubuntu 14.04. The ethernet works fine when logged into Windows, but when I log into Ubuntu, The Connection Icon (right on the top tray) shows the wireless ...
1
vote
1answer
708 views

iptables allow only ssh and vpn traffic

I have dedicated server with ubuntu 14.10 installed. The server should connect to an openvpn server and the traffic should only go through the vpn, except for SSH traffic. My idea is to realize it ...
0
votes
3answers
29 views

Add cron to Crontab

I am looking at these tutorials https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-on-a-vps and I have cron installed but when I write the command 5 * * * * curl ...
8
votes
1answer
9k views

postfix/smtpd: warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory

I have problem with postfix on debian after upgrading from squeeze to wheezy. Postfix was configured to sign messages using dkim-filter. Before update, everything was working flawlessly, now it fails ...
0
votes
1answer
15 views

Installed OpenSSH on Mint 17 but it doesn't seem to be running

So I've installed OpenSSH on Mint rafaela 17.2, but it doesn't seem to be running when using the modified config file. Not sure why service says its up, but I don't have a PID, don't have a listener, ...
3
votes
4answers
6k views

Slow start of Midnight Commander on CentOS

Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
1
vote
1answer
296 views

Getting logged out of user account upon execution of a program

On my friend's computer when Skype is launched either via terminal or GUI the current user is forced to log out of the system. Purging and reinstalling Skype did not work and we are using the same ...
3
votes
1answer
944 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
-1
votes
2answers
31 views

Install a specific RHEL point release

Is there a way to effectively yum update to a specific point release in RHEL 5 and 6? When a new point release is rolled out, the powers that be in my organisation put it through acceptance testing, ...
1
vote
0answers
30 views

How to replace words in a string which has “|” in it

For example line, in this loop in a shell script: for ((k=13;`awk -v f="$k" -F " " '{print $f}' line$i.txt` != "|";k++)) I want to replace the words in the line from 13th position until a "|" is ...
1
vote
1answer
19 views

Rename file names extracting pattern from them

I have a list of file names abc1.doc, abc2.doc and so on. Always in the form text[number].doc. I want them renames to [number].text.doc. How can I do this?
2
votes
3answers
5k views

I have high io stat. High writes. But what files are being written?

avg-cpu: %user %nice %system %iowait %steal %idle 11.50 0.02 5.38 0.07 0.00 83.04 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz ...
6
votes
2answers
97 views

What does CTRL+4 (and CTRL+\) do in bash or readline?

I just found out by accident that CTRL + 4 closes programs reading stdin input from the command-line. This is how it looks when I type CTRL + 4 or CTRL + / into programs reading stdin ryvnf:~$ ...
2
votes
1answer
2k views

RT3290 Wireless still not working

I've been trying to get my wireless working for two weeks now. I have 1814:3290 wireless card. I am on Linux Mint 14 64-bit. I have tried all the suggestion on here: ...
0
votes
0answers
4 views

Losing LibreOffice Writer configuration

From time to time, the configurations of LibreOffice Writer is lost for no known reasons. Macros, Shorcut Keys, etc all are lost as if it's fresh new installation. Why does it happen and how can I ...
1
vote
5answers
42 views

Making a *nicely* formatted list of number of files in directories - awk & sed probably

I have lots and lots of files in a series of directories, and would like a nicely formatted list of how many files are in each directory. The directories are ordered thus: Parent directories named ...
1
vote
2answers
2k views

awk - get input from both file and STDIN?

Is it possible to get input from both file and the terminal? I wish to ask the user something in the END portion of the awk script. That input should be typed in by the user and not read from the ...
0
votes
1answer
12 views

Is CTRL+4 equal to ^4 or ^$ in caret notation?

This is a problem I have been thinking about. This Wikipedia page suggests that Ctrl+{Symbol} uses the shifted variant of {Symbol} when written in Caret notation. This suggests that CTRL+\ becomes ...
1
vote
0answers
4 views

multiple systemd-fcsk message on Debian 8.1 boot

Suddenly, when booting my computer, I see several messages like this: [ 16.123575] systemd-fsck[337]: , 408::f6/00, 306::c6/00, 408::f6/00, ... and in the end: Not automatically fixing this ...
57
votes
4answers
12k views

What exactly is POSIX?

I see POSIX mentioned often and everywhere, and I had assumed it to be the baseline UNIX standard.. until I noticed the following excerpt on a Wikipedia page: The Open Group The Open Group is ...
0
votes
0answers
122 views

Cannot connect to internet after using airmon-ng check kill

In new version of Kali 2.0 with updated "aircrack-ng" tool, there is a problem between Internet connection and using cracking tools. I have my wireless card as wlan0. And the Internet connection is ...
2
votes
0answers
8 views

Per user routing on wifi

I'm using vpn but i want to have one user that could access network not through vpn but using my real ip address. The problem is that all solutions i found by quick google'ing, for example this ...
2
votes
1answer
7 views

ddrescue resuming rescue operation to a different image file

I have a 3TB WD Green HDD that failed. I bought two WD Red 3TB HDD + Synology DS215j NAS. Before installing NAS in RAID1, I want to use the WD Reds to recover the data from the 3TB WD Green HDD (one ...
3
votes
1answer
717 views

How do I run a script just before halt using LSB headers on Raspbian

I'm building a shutdown button for my Raspberry pi, and for that I have a python script that needs to change a GPIO pin on my Raspberry Pi just before the system runs the halt script. Now Raspbian ...
2
votes
1answer
17 views

How to reduce bootup time of linux?

First of all, I appreciate for taking times. I have a PC with the following configuration: 1- CPU: Cor2Duo 2- Ram: 2 GB 3- 40 GB HDD I just need serial and network. I don't need Xwindow. I just ...
2
votes
2answers
262 views

Automatically attach a file to a mail with mutt

I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt. I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it doesn't work. ...
3
votes
1answer
24 views

Using File Date/Time as Metadata: Reliable?

Background: I have groups of files in their own directory which I merge into one file in order of their filename. I call them t1.txt, t2.txt, t3.txt... I merge them in order of the integer. ...
0
votes
0answers
12 views

Creating a Wireless Network Management GUI workaround

I just installed Alpine linux, and it all went as smoothly as i'd hoped, except for the wireless networking (and XFCE's Power button and reboot buttons being greyed out, but that's irrelevant here). ...

15 30 50 per page