Linux refers to the family of Unix-like computer 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

4
votes
2answers
2k views

How can I turn off anti-aliasing for xterm / rxvt-unicode?

My system (Debian squeeze) uses anti-aliasing for fonts, which is fine for the most part. However, I would like to disable it for terminal fonts in xterm and urxvt (rxvt-unicode), and can't get that ...
1
vote
3answers
2k views

How can I automatically lock the screen when idle in CentOS?

How can I automatically lock the screen when idle in CentOS? I would like it so that a user has to re-enter their password once the machine has been idle for a period of time. If there is no option ...
-1
votes
0answers
12 views

Read multiple inputs and store in a array, then print the values from that array in shell script [on hold]

Read multiple inputs then store in a array or variables, then print the values from that array/variables in shell script read -p " Enter no. of users : " no_user if [ $no_user -gt 1 ]; ...
0
votes
1answer
17 views

colorize files on MacBook terminal

I have a dedicated remote Linux server, and was able to add this code to my ~/.bashrc file: alias ls='ls --color' LS_COLORS='di=34:fi=0:ln=36:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rpm=90' export ...
0
votes
4answers
3k views

Dual booting windows 8 and Kali Linux 1.0.8

I'm trying to install kali linux along with windows 8 The latest Kali version (1.0.8) supports booting alongside windows 8 I installed Kali Linux from a LiveCD, rebooted and it went straight to ...
0
votes
2answers
15 views

Configure which program to use as terminal

I have created a neovim.desktop file for a (terminal) application that looks like this: [Desktop Entry] Name=Neovim MimeType=text/english;text/plain;... Exec=nvim -f %F Type=Application Terminal=true ...
1
vote
2answers
4k views

Linux: wmctrl cannot open display when session initiated via ssh+screen

I'm using wmctrl on an Ubuntu machine to manage windows from a script, that I run inside a (gnu) screen. If I start the screen session from the local machine, wmctrl works fine, including if I ...
0
votes
2answers
3k views

Connect to samba server remotely

I have a Samba server say at "abstergo.m12.in" I'm fairly new to Samba as I usually use SFTP for file transfers but I wanted something more Windows Native. I used the samba config from ...
0
votes
0answers
15 views

Setup https and http on wordpress nginx

[root@serv01 nginx]# cat nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: ...
0
votes
2answers
3k views

What command lists the files created in a specific month and is readable for the owner?

I am supposed to find the command that lists all the files created in September and are readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I will ...
1
vote
1answer
75 views

Limiting low bitrates with iw on ath9k

I am trying to prevent low (legacy, B) bitrates to associate with my AP, using ath9k and iw. I think I should run: iw wlan0 set bitrates legacy-2.4 6 9 12 18 24 36 48 54 ht-mcs-2.4 lgi-2.4 But is ...
1
vote
1answer
14 views

Applications not fully realising the resolution has changed

I'm running the i3 wm under Arch, and regularly switch screen resolutions because of different external displays and just using the laptop screen. I have these two shortcuts that I use for this: ...
1
vote
2answers
1k views

Is there a way to save my workspaces through reset/shutdown?

I have several workspaces that have several terminals open in each one. I need to reboot my system, but I don't want to have to recreate each workspace after reboot. Is there a way to save the state ...
2
votes
1answer
36 views

Switch default sound card, while both use the same driver

I have problems with sound on my Linux Mint 17.1. It generally works, but gets interrupted by scratchy noise most of the time. I followed some tutorials and here is what I found out: $ LC_ALL=C sudo ...
7
votes
4answers
5k views

Running windows 8 in a VM - can I use the copy that came with my laptop

I have just purchased a Thinkpad x1 Carbon that comes with windows 8 64 bit. I haven't turned it on yet, but I plan to remove the windows install and replace it with Debian (after backing up the ...
0
votes
1answer
20 views

Issues with Ubuntu Linux installation on a Windows 8.1 laptop

I’m trying to install Ubuntu Linux on my Windows 8.1 laptop. I’m being told I need to “Disable Secure Boot” within my UEFI firmware settings. But the only way my laptop will allow me to do so is to ...
0
votes
0answers
8 views

How to record video into circular buffer?

I want to build low cost IP camera with storage out of webcam, OpenWRT router and flash drive (or probably hard drive). It's not difficult to do, but I would like to store like last 24 hours, ...
0
votes
3answers
7k views

Linux Mint Wifi keeps disconnecting at random times and asks for wifi password

I have a fresh install of linux mint 16 cinnamon edition. I have a Netgear wireless dongle model: WNA1000M. Is there any command i should run to get more details? Wifi drops about: 15min to 1hr.
0
votes
0answers
41 views
+50

How to run Cornelsen's “Tobi” software (for Windows) on linux, using Wine

There are a lot of resources on how to run Windows software with Wine, but this question is specifically about how to run a software called "Tobi Fibel" from the German Cornelsen Verlag on (Ubuntu) ...
2
votes
1answer
32 views

Mouse takes too long to be discovered

I have a dual PC setup with a device that allows me to use one mouse, keyboard, and monitor (I don't remember what that's called). One PC is running Vista and the other is running Linux. When I switch ...
0
votes
1answer
29 views

Restart process on linux by its pidn number with kill command, how?

Well, I want to be able to restart processes on linux and so I looked into kill manpages for that. Apparently kill -l would list all the signals I could send to a process to do what I need, which ...
0
votes
0answers
18 views

OwnCloud - storing data on RAID array

I have a server running Ubuntu Server 14.10 LTS 64bit. It has an O/S drive, and then a data RAID-1 array mounted under /srv/storage I've installed OwnCloud server using the default sqlite DB. I've ...
0
votes
1answer
24 views

Cannot set MAC address to any hex of my choice

I set my mac address for the wifi chip via: /sbin/ifconfig wlan0 down /sbin/ifconfig wlan0 hw ether ${WIFI_MAC_ADDR} /sbin/ifconfig wlan0 ...
1
vote
1answer
3k views

Any sound which is played from Google Chrome is very low pitch

Any sound which is played from Google Chrome is very low pitch, doesn't matter which website or source i.e. video from youtube, music from flash games and etc. However if I open same content in other ...
0
votes
0answers
27 views

Linux script, mobile responsive [on hold]

last post seems to have gone astray so.. I am hoping someone could tell me/give me a script that will check if a list of web addresses are mobile responsive. This would save a lot of time against ...
5
votes
2answers
4k views

rsync and symbolic links

I want to backup my home directory to an external drive nightly using a cron job to execute rsync. I am unsure of the exact behavior of rsync's symbolic link flags. rsync's -a flag includes the -l ...
4
votes
5answers
1k views

Shut down computer using ssh

What ways are there to shut down a computer using ssh? Im running on linux and when I try to shut it down remotely using ssh, it doesn't actually work. I used the command sudo shutdown now. ...
16
votes
3answers
6k views

What is the difference between &> and >& in bash?

What is the difference between &> and >& in bash? tldp did not mention the latter one. Is it really a redirection operator? Or does someone know a more complete tutorial?
1
vote
0answers
7 views

tcpdump capturing packets only when interface is specified

I have tried 3 different ways of capturing a stream of packets coming into my server. Two of them work and the third does not. I am trying to determine why it is missed by the third approach: ...
0
votes
1answer
22 views

Python logging class not working when sending stdout to /dev/null

I have a Python 3 script that has logging enabled (for debugging purposes). Whenever I run/execute this script it is working fine and the logfiles are created. I've also created a setup.sh-bash ...
0
votes
2answers
40 views

Testing network application with virtual network and artificial latency

In order to test a network application in a controlled manner I want to create some sort of virtual network on a single machine in which I can control latencies. (I am running Ubuntu 14.04 x64). I ...
2
votes
2answers
4k views

Error on unchanged system: hub 4-0:1.0: unable to enumerate USB device on port 1

I have a laptop running debian wheezy: $ uname -a Linux *pcname* 3.2.0-4-686-pae #1 SMP Debian 3.2.54-2 i686 GNU/Linux I recently made a debian boot usb like so: sudo dd ...
0
votes
0answers
7 views

LFS-systemd toolchain error

In 5.7-glibc,when I finished compiling.I run a test as the book mention echo 'main(){}' > dummy.c $LFS_TGT-gcc dummy.c readelf -l a.out | grep ': /tools' But it shows: dummy.c:1:1: warning: return ...
0
votes
3answers
29 views

Debian - unattended installation

Is there any way to make the installation of Debian unattended, I need to install on multiple machines with similar hardware. Basically I need to install Debian system without human interaction, with ...
0
votes
2answers
26 views

Why am I getting mv errors with this sed command?

Given the following directory: [~/test]find . . ./something_else.txt ./univision.rbw ./something_else.rb ./testtest ./testtest/weewee.rb ./testtest/weewee.txt ./univision.rb Running the following ...
0
votes
2answers
36 views

How to make partition in windows 8 hard disk? [duplicate]

I have a 1TB hard disk with windows 8.1 running on it. I want to create a partition(preferably of the size around 20 GB) from my C drive to install a linux Operating System along with windows(Dual ...
0
votes
2answers
15 views

Using MV to rename large amount of files using a script

I'm writing a bash-script to rename a large amount of files, using mv. Original filename File001.txt New filename file-new-001.doc I can change the suffix but i do not know, how to insert the ...
0
votes
0answers
9 views

Bash history deduplication causing dangerous multi-shell behaviour

I am using the following code in my .bash_profile to filter and de-duplicate my bash history: shopt -s histappend HISTSIZE=100000 HISTFILESIZE=100000 HISTCONTROL=ignoredups:erasedups ...
1
vote
3answers
2k views

ALSA - no surround playback with mplayer

When I run: speaker-test -c6 ...everything is fine. I get 5.1 playback. However, when I run: mplayer -channels 6 "some video with 5.1 audio" no audio plays. Here is what appears in the ...
0
votes
1answer
274 views

error: unable to find root device dropped to recovery shell

I recently upgraded Arch, which included a kernel update, which meant I had to copy the kernel image over to /EFI/arch in my EFI boot partition... when I try to boot /EFI/arch/vmlinuz-linux from the ...
0
votes
1answer
4k views

ubuntu 13,10 “Failed to download repository information”

I have ubuntu 13.10- 64 bit version on my machine.recently i tried to install postgres for ROR development but i couldn't complete the postgres installation and found that my update manager always ...
0
votes
1answer
23 views

Arch Linux extremelly slow and laggy

I was looking for an distribution that has Android Studio built in and came across 'BBQLinux'. The Android Studio works, but it's extremelly slow, to the point where it's unusable. I downloaded the ...
0
votes
1answer
26 views

How to stop tail -f except using kill

I want to write a shell script to detect if my program starts up successfully. There is a log file created by the program. When the log file contains a new line: Server startup in, then stop the bash ...
2
votes
1answer
4k views

Kali 1.0.5 Internet Connection Problems

I have recently installed Kali Linux and am having connection issues. It says I am connected to the network, but I am not able to access the Web. A Ubuntu 13.04 running on the same machine (dual boot) ...
0
votes
0answers
3 views

Cannot remove extra gampad mappings in retropie

I'm trying out RetroPie for the first time on a Raspberry Pi 2. I ran the retropie controller configuration tool from EmulationStation and it generated a controller file called PCGamepadUSB.cfg. ...
0
votes
1answer
33 views

Wake on Lan - Install a client on a Linux machine

this might seem obvious or stupid to somebody, but I can't find anything that helps me yet, besides the fact that I'm not a Linux user. I've got 2 NAS boxes (Iomega, now Lenovo) IX4-200D and ...
34
votes
8answers
115k views

How to upload one file by FTP from command line?

I need to upload a single file to FTP server from Ubuntu. This operation should be done in a script (in non-interactive mode). What is the right syntax for ftp? I'm trying this, to no avail: $ ftp ...
0
votes
0answers
12 views

I need a linux based recovery program for Outlook Express dbx files [on hold]

I need advice on a program to recovery emails from Outlook Express dbx files. My drive was originally in a XP machine which was hit by a virus that I could not remove. I placed the drive on an ...
0
votes
0answers
27 views

Cannot create bootable usb

My problem is that I'm always getting some problem with the cdrom. Firstly I think the ISO is fine because I can install the OS on vmware. However when I moved it in usb flash (I used 4 different ...
3
votes
2answers
31 views

Command Line Sort Files or Directories by part of their name

How do I sort files or directories by part of their name, specifically the element contained in the parenthesis or separated by delimiter? I am after two separate solutions one for directories with ...