0
votes
1answer
9 views

FS wont mount at bootup and when using certian commands [on hold]

I am using this line below in my fstab file to mount sda2 but I am having some problems mounting it. At boot up it fails to mount. If I run mount -a it fails to mount. Says I need to be root, which is ...
1
vote
1answer
17 views

blktrace - differentiating between sequential to random io

I'm looking for a way to determine whether an app is doing sequential or random I/O. Is it possible to look at a blktrace capture and say if I/O is sequential or random? If yes, any examples of what ...
0
votes
1answer
26 views

OS X - Terminal - initial bash shell broken, with a: syntax error near unexpected token `('" [on hold]

Something weird has just started to happen, when I open a new terminal window the initial shell is broken, recieve a "syntax error near unexpected token `('" error when I try to use any conditional ...
1
vote
1answer
29 views

Why ln -s creates relative broken links? [duplicate]

I have an issue with ln -s on Ubuntu 14.04, while using it in the following scenario: $ cd ~/programming/tmux/ $ ln -s tmux ~/bin/tmux $ ls -l ~/bin/tmux lrwxrwxrwx 1 USER USER 4 sie 31 11:02 ...
1
vote
1answer
10 views

Limit access on external drive mounted and used by sftp

I've got a unix user "popolo" who is chrooted in /srv/ftp/ and I mount my two external drives by /etc/fstab in /srv/ftp so I have /srv/stp/dude and /srv/ftp/sweet. Popolo has access to those drives ...
22
votes
1answer
802 views

How do I distribute a large download over multiple computers?

I need to download a large file (1GB). I also have access to multiple computers running Linux, but each is limited to a 50kB/s download speed by an admin policy. How do I distribute downloading this ...
0
votes
1answer
31 views

Will linux eventually support ALL old hardware? [on hold]

I bought a Dell Inspiron 7520 SE (Special edition) and I faced\am facing drivers issues. Now I know that my graphics card vendor (ATI) isn't fully supporting linux or may be only my distro (Ubuntu) ...
0
votes
0answers
31 views

How to try every bit of a Linux distro without installing it?

Using a live CD\USB to try a Linux distribution failed me to test aspects like graphics\wireless drivers. I remember when I tried an Ubuntu live CD it was loaded using a virtual machine so I couldn't ...
0
votes
1answer
19 views

how to extract pattern from pdf and save to text file [on hold]

How can I extract some pattern contained in PDF file to text file using shell?
1
vote
0answers
43 views

Load a background image or set the background color if Konsole/Shell is running SSH

I want to set my laptop to load an image in the shell's background or set the background color to red if I'm connected via SSH. How can this be done? With a bash function in .bashrc? I have: Set the ...
0
votes
1answer
10 views

iozone runs fail with “No such file or directory” errors

I want to start using iozone to benchmark an aufs filesystem on a virtual machine on ubuntu. I tried following the manual to use relevant parameters, but I keep getting a weird error on most runs. I ...
0
votes
0answers
23 views

Calling executable file through the network [on hold]

I am running on Linux and want to call and execute one binary file upon a HTTP request or through the network.
0
votes
0answers
24 views

Gnome 3 with multiple X Screens

Background I'm running Gnome 3 with three separate X Screens using the proprietary NVIDIA driver with Xinerama disabled in xorg.conf. (because Eclipse works better with it disabled) There is only ...
2
votes
3answers
51 views

How to get cpu usage for every core with a bash script

I'm writing a bash script to print system stats to my dwm status bar using xsetroot. Everything works as expected. What I'm currently missing is an easy way that just uses standard *nix tools to give ...
0
votes
0answers
41 views

Can sed and awk take in multiple files?

grep can search in multiple files, including those files recursively under a specified directory. This makes grep able to find which file contains a pattern. Can awk and sed also? It seems that they ...
4
votes
0answers
30 views

How can I get this proprietary low-vision camera working in Linux?

I am a visually impaired Computer Science student, and use a special USB camera to zoom in on the board/projector during lectures. The camera only officially supports Windows, and I've been using it ...
0
votes
0answers
19 views

unable to run bash as new user on an ubuntu docker container

i have a docker container and i am trying to enable sshd and log in with a new user rag. it appears that as user 'rag' i am not able to execute /bin/bash. i am not sure why. i cannot figure out ...
1
vote
0answers
16 views

How to control keyboard backlight using hotkeys

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows? In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to ...
0
votes
0answers
9 views

Crunchbang Linux Waldorf: Sound Problems with NVIDIA Corporation MCP61 High Definition Audio (rev a2)

$ lspci | grep -i audio 00:05.0 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2) 02:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Device aab0 $ sudo speaker-test ...
1
vote
4answers
155 views

why do we not need export here?

$ IFS=";" $ read first second i am;a_i b c $ echo $first i am $ echo $second a_i b c $ echo $IFS Am I right that read first second is a subprocess of the current shell process? If yes, why don't ...
2
votes
2answers
104 views

Should I embed a command in a conditional or test its return code?

It's a simple question of best pratices: Which should I use? Option 1 ping -c1 "$host" if [[ $? -eq 0 ]] ; then command else command fi Option 2 if ping -c1 "$host" ; then command ...
-1
votes
0answers
14 views

FreeBSD switch to user with nologin

I am running FreeBSD jails. i have a user i need to login as to run some commands. The user shell account is nologin. Without switching the users shell. or running su commands for each command i need ...
1
vote
1answer
14 views

Prevent the mouse to wake up display

I set my displays to sleep with xset dpms force off after locking the screen with kscreenlock. This is great, the displays wake up when the mouse is moved (by me, air, the cat). I'd like to set it in ...
0
votes
0answers
6 views

Is there a distribution with an installer that can automatically do LVM over LUKS with everything aligned as needed?

http://www.void.gr/kargig/blog/2012/01/11/linux-ssd-partition-alignment-tips/ talks about aligning SSD partitions and LVM physical volumes. ...
1
vote
0answers
5 views

xvfb-run aborting on cluster

I'm trying to run a python script with xvfb-run on a cluster using SLURM; when I use an interactive session (srun) it works fine, but when submitting to a queue (sbatch) it aborts/fails without much ...
0
votes
0answers
12 views

GNU Guix usb-install freezes at GRUB after boot

I wanted to try out the GNU usb install that was released with Guix 0.7. The problem is that when I try to boot from the USB, it freezes, with the word GRUB and a flashing type line. I followed the ...
1
vote
1answer
13 views

How does ssh server defines which key to use first having more than 1?

I have just found out that on my Ubuntu machine I have more public keys to serve in /etc/ssh directory: $ ll /etc/ssh total 296K -rw-r--r-- 1 root root 237K lip 3 2013 moduli -rw-r--r-- 1 root root ...
2
votes
1answer
24 views

How do I make Iceweasel\Firefox only display images on specified sites?

Summary: In Iceweasel (it's effectively Firefox), I want to block all images, but allow images on websites I specify. But the standard method to do this is not working. The way you're supposed to be ...
0
votes
0answers
20 views

Terminal freezes after using tar or gz

On Linux within BASH the Pseudo Terminal window (terminator) as well as the Terminal itself "freezes" when trying to use autocomplete (TAB) as well as after getting an error message using gzip and ...
0
votes
0answers
9 views

ldap user dose not exist in centos 6.5

Hope everyone doing good. Let me come to point, i have setup-ed a LDAP server and client machines Server works perfect, while make a search from client machine it too get the Query from LDAP server, ...
-1
votes
1answer
25 views

Best vim setup for my workflow [on hold]

I am using vim as my primary editor for programming (doing ssh on a remote server). I have tried some plugins for being more productive in programming but I always had issues (example: snipmate ...
-1
votes
0answers
12 views

Hosting a VPS in a virtual machine emulator [on hold]

I have a VPS running debian 7. Is there any way I can use the VPS as a guest OS in virtualbox?
2
votes
3answers
87 views

find: Why is the -a operator not commutative in combination with -print?

Supposing we're using find in current directory with audio files (e. g. MP3) and (important!) also non-mp3 files (e. g. JPEG) present in current directory or somewhere below it. Additionally to that, ...
-1
votes
2answers
26 views

How to monitor TCP connection failures in Linux and UNIX [on hold]

Describe how to monitor the number of TCP connection failures in Linux and UNIX
1
vote
1answer
23 views

How to ensure a bash script is executable via web without being in /cgi-bin directory?

My document root is /0/ i do not have any cgi-bin directories. this is my virtual host with apache: Listen *:80 DirectoryIndex 1 <VirtualHost *:80> DocumentRoot /0 ServerName domain.tld ...
0
votes
0answers
20 views

Cannot install Kali linux [on hold]

I am trying to install kali linux and I cannot do it. It is giving me this error saying "An installation step failed, You can run the failing item again from the menu or skip it and choose something ...
2
votes
0answers
7 views

Switch monitors on ThinkPad W520 while docked

I'm trying to make my (ThinkPad W520) laptop monitor turn on (by itself, with the other monitors turning off) using xrandr when docked and connected to external monitors. My end goal is to ...
1
vote
1answer
199 views

What does this `cat` statement do?

I'm new to Linux and trying to figure out what this statement in a Bash file does. I think it combines stdout, stderr and output it to the file $log is pointing to and append the multiline string to ...
0
votes
0answers
43 views

Grub: can't enter Windows 7

I want to install ubuntu using easyBCD and ubuntu ISO file, after some configuration, I set the default boot to Grub instead of windows7. But I forgot to run command sudo umount –l /isodevice to ...
0
votes
0answers
15 views

Gettting Unexpected Error during the testing of GCC-4.8.2 package in LFS 7.5

I am building my first LFS 7.5 using Linux Mint-13 (32-bit).While testing the 6.17. GCC-4.8.2 .I am getting the following error : root:/sources/gcc-build# ../gcc-4.8.2/contrib/test_summary cat ...
0
votes
1answer
15 views

How to connect a domain name to a virtual host 's sub folder without creating a virtualhost for the new domain name?

Suppose you have 2 domain names.. domain1.tld domain2.tld your server ip is : 1.1.1.1 you install httpd and set up a virtual host for the IP only. Listen *:80 DirectoryIndex index.php ...
0
votes
0answers
19 views

Kali Linux airodump Not Finding Networks

When I use the airodump it is not coming up with networks available around me. The chart comes up but nothing inside it, even though there should be about 10 networks around me coming up there is just ...
0
votes
1answer
13 views

Serve content generated by a script with Apache

Suppose you have a domain that is pointed to your server's IP. As soon as it reaches your server's IP you use Apache to point it to a DocumentRoot (in a VirtualHost). But instead of pointing it to a ...
1
vote
2answers
35 views

Search for a string in the output of a command

I'm stuck with a simple script. I want to run tracepath on multiple address and to find if some IP is contained in the output of the tracepath. For now I have the following: if tracepath -n ...
1
vote
2answers
45 views

How do I add newly created mount point to fstab?

I just mounted sda2 to /mnt. How can I force a refresh of fstab so it can pickup the changes and insert a new line for sda2-/mnt?
3
votes
1answer
36 views

Installing FreeBSD in VirtualBox aborts unexpectedly

I have tried installing FreeBSD-10.0-RELEASE-i386-dvd1.iso into VirtualBox 3 times already today (each time starting from a fresh creation of a VM) and right when I'm about to Exit (Apply ...
0
votes
1answer
21 views

How to dynamically host any domain w/o creating folders specifically for it?

Suppose a domain name has been pointed to my server's IP address.. soon as the domain name comes to me.. i want apache to execute... python_script domain.tld or perhaps.. bash_script ...
0
votes
1answer
20 views

how to bootup/reboot in verbose mode?

I have Ubuntu 14.04TLS. How can I permanently change grub to switch to verbose mode on bootup/reboot so I can see the rolling text? I would like to make this change stick. Thanks!
-1
votes
1answer
28 views

How to diagnose the problem when Apache at random times shows “Not Found” on the web?

Suppose I reload my web site 100 times by holding down Ctrl+R on my keyboard. I notice once in a while Apache throws out a Not Found error message. If I refresh again, everything works normal ...
0
votes
0answers
8 views

Error while installing fedora19 [on hold]

I have 25GB unallocated space on my hard disk, but still it shows "not enough disk space" error while installing fedora19.

15 30 50 per page