8
votes
3answers
15k views

Is it better to set rules in ip6tables or disable ipv6?

I have the following network configuration: # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:e0:1c:73:02:09 inet addr:10.1.4.41 Bcast:10.1.255.255 Mask:255.255.0.0 inet6 ...
6
votes
2answers
3k views

Can vim display ASCII characters only, and treat other bytes as binary data?

I already know vim -b, however, depending on the locale used, it displays multi-byte characters (like UTF-8) as single letters. How can I ask vim to only display ASCII printable characters, and ...
4
votes
0answers
2k views

xrandr --pos doesn't do anything

I hooked up a tv to my linux computer. I noticed the screen was offset by about 200px to the right, leaving behind a black vertical strip on the left of the screen and cutting off a portion of the ...
0
votes
0answers
660 views

No sound in Ubuntu minimal + xbmc. Possible bug?

I'm running Ubuntu 12.04 minimal+XBMC with no gnome interface. lspci | grep -i audio 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) aplay -l **** List of ...
4
votes
0answers
294 views

How to get a Finepoint Digitizer Tablet to work under Fedora Core 16?

How to get a Finepoint Digitizer Tablet to work under Fedora Core 16? The hardware in question is a Gateway m285-E. It uses an active pen (has a battery in the pen). cat /dev/ttyS0 returns ...
0
votes
1answer
47 views

w command: same output with(out) -u option?

According to the manpage for w: -u   Ignores the username while figuring out the current process and cpu times. To demonstrate this, do a "su" and do a "w" and a "w -u". I've tried this ...
2
votes
2answers
708 views

Weird escape sequence

I need help identifying what this escape sequences represents. I see this sequence is autogenerating on my server's console, but I'm not sure what is the reason for that. Escape sequence: ^[[[D I've ...
1
vote
1answer
529 views

Accessing /home/user data from an Ubuntu system mounted as external drive on Debian wheezy [closed]

I just switched my Hard Drives and I would like to copy my data from the old HDD to the new HDD. I have mounted the old HDD at /mnt, it is a LVM Ubuntu partition. What I would like to do is copy my ...
1
vote
1answer
567 views

moving from user mode to kernel mode

I read the following: "All processes begin execution in user mode, and they switch to kernel mode only when obtaining a service provided by the kernel." When it says "obtaining a service ...
1
vote
2answers
1k views

Where to I copy mouse cursor themes in xfce 4.8

I'm running Debian wheezy, xfce 4.8. Where do I copy mouse cursor themes I downloaded from xfce-look? If you can give me the location to copy themes, icons, and cursors I would really appreciate it.
0
votes
1answer
130 views

What distribution do you suggest for daily use? [closed]

I use my computer everyday for various reasons: programming in c++, android(java), java(in general) listening to music(spotify), watching movies browsing internet, watching youtube clips writing ...
1
vote
0answers
357 views

Using Radeon on muxless system with multiple X servers

I'm using HP ProBook 4740s laptop with muxless hybrid graphics: root@mekras: lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) ...
1
vote
1answer
227 views

Can I dual boot Linux Mint 32/64?

I have Linux Mint Maya 13 XFCE 4, 64bit installed on my pc. I can't download Swedish bankid on a 64bit version. Is it possible to make a dual boot by installing a 32bit version and keeping my 64 bit ...
5
votes
3answers
2k views

How to detect if a file is hidden

I have written this code as part of some coursework, where we have to create a recursive file counter without using the find, du or -R commands. This appears to work but always returns ...
2
votes
3answers
514 views

tenshi and logfiles

I'm about to set up Tenshi in order to get important log excerpts. Everything works fine except if I add some apache2 logs, # /etc/tenshi/tenshi.conf ... set logfile /var/log/apache2/error.log I ...
0
votes
2answers
69 views

Sandbox alike solution for linux

I wonder if there is a kind of a sandboxing solution for linux, sometimes there is more than one app that is candidate to solve my problems, in that case I want to try all of them to get the one which ...
2
votes
1answer
536 views

use SSH tunnel to baypass Captive portal

I know that DNS tunneling is the good choice when we try to bypass captive portal, but i tried to do SSH tunneling instead of DNS but it doesn't works, technically speaking is that possible -bypass ...
1
vote
0answers
4k views

Connecting to a serial port with VMWare ESXi and Ubuntu

Using VMWare ESXi 5.0.0, having a guest OS Ubuntu 12.04.3, upgraded to the date 05 january 2014. I've added "Serial port 1" to the Ubuntu 12.04 guest OS (let's call it "MyUbuntuPC"). Serial port 1 is ...
2
votes
0answers
21 views

Route socks proxy traffic through wireless client [duplicate]

I have a router with two Internet WANs: DSL (vlan1) and wireless client (eth1). They are both in default route: vlan is the first and eth1 is the second (I am using ip route add default scope global ...
4
votes
2answers
20k views

Can't access Windows drive: “Windows is hibernated, refused to mount”

I'm using Fedora 20 along with Windows 8. However, I'm unable to access the contents of the drive in which Windows 8 is installed. It shows: Error mounting /dev/sda2/ The NTFS partition is in unsafe ...
1
vote
1answer
2k views

How to use USB flash drive as part of filesystem for Chromebook running Linux?

I want to install Linux on a Chromebook. However, the Chromebook which I'am thinking of purchasing comes with only a 16 GB SSD. This seems to be very little hard drive space to work with. Searching ...
3
votes
1answer
730 views

How to change the default editor for a file type in Mac OSx?

The default editor for java files on my Mac seems to have been set to Xcode, but I want to change it to be the basic TextEditor. I've looked in preferences for the association, but it's not there. ...
6
votes
1answer
1k views

Trying to understand LUKS encryption

I decided to encrypt my root partition with LUKS+LVM. My ThinkPad setup: Samsung 830 128GB SSD 750GB HDD Core 2 Duo 2,5 GHz P9500 8GB RAM But the more I read, the less I understand about those ...
2
votes
1answer
214 views

I need to swap displays in Gnome 3 login screen

I use two monitors with Debian Jessie and Gnome 3. Everything works fine, but there is one cosmetic bug. However a bit annoying. I cannot figure out, how to swap the displays on Gnome login screen. I ...
1
vote
1answer
1k views

Qlogic HBA issue

We have running server with attached SAN storage and everything was fine. However last week we moved our server blade to a new chassis. Everything is same, we just add new WWN in Brocade SAN switch to ...
4
votes
1answer
265 views

How to know what files got deleted?

I'm working on Ubuntu 13.04. yesterday from a Windows 7 partition, I accidentally deleted many files. I deleted by pressing shift-del. Is there any way to know the name of the files that got deleted?...
1
vote
2answers
180 views

Is there a way to keep an app running after closing the terminal that calls it? [duplicate]

Say I run an app from a terminal, but in some cases I want to close the terminal but hope the app keeps running. Is there anyway to do so in Linux? I just found that when calling an app via "exec ...
2
votes
2answers
7k views

What does 0.0.0.0:* mean in netstat?

Could anyone explain the following output of netstat -plunt? udp 0 0 0.0.0.0:58262 **0.0.0.0:*** 1163/avahi-daemon: udp 0 0 0.0.0.0:17500 **0.0.0.0:***...
0
votes
0answers
2k views

Backtrack R3 can't find wlan

I have installed Backtrack R3 in virtualbox, but i cant find any wireless connections. Cant find anything in wicd either. What i want to do is to run airmon-ng start wlan0 in terminal, and after that ...
1
vote
0answers
404 views

Which socket is gnome-shell reading from continuously?

strace shows that the GNOME shell is continuously trying to read from a socket, which is often not available (or doesn't contain any data to read from): strace -p gnome-shell-pid -e trace=recvfrom ...
1
vote
1answer
4k views

Change directory for Kate syntax highlighting files

I'm running Standard Debian Wheezy with KDE 4.8.4 and Kate 3.8.4. The Kate text editor's syntax highlighting files are located in: /usr/share/kde4/apps/katepart/syntax If I run kde4-config --...
1
vote
0answers
159 views

setting up a local VoIP to use as a Wifi Headset

I had this idea of using Wi-fi in a vehicle to connect my cell to the car call handler.Just as it works with bluetooth nowadays. Just to demonstrate that such a thing is possible , i had three Linux ...
4
votes
1answer
550 views

Running du command reports infinity as disk usage

I'm trying to get the total size of what's stored in my home directory. To my surprise, it reports infinity after a few seconds: /home/user $ du -sh . Infinity Huh? I'm pretty sure there are no ...
3
votes
1answer
18k views

Apache “RSA server certificate CN does not match server name” error

I have an apache installation with some name-based vhosts and a SSL certficate with CN=maindomain.com and DNS Alternative Names for the all the vhosts (sub)domains. However, this setup gives warnings ...
3
votes
1answer
349 views

Understanding btrfs disc usage for single data volume

On my 256 GB disc: # btrfs fi show /dev/sdd3 Total devices 1 FS bytes used 143.43GiB devid 1 size 234.22GiB used 234.22GiB path /dev/sdd3 Btrfs v3.12 I don't understand the discrepancy between "...
2
votes
1answer
349 views

How to auto-mount all USB-devices at same USB socket to same mountpoint

I have a small computer with 2 USB sockets : A and B. I want any external USB disk, attached to socket A - to be mounted as "deviceA" I want any external USB disk, attached to socket B - to be mounted ...
1
vote
1answer
191 views

Linux - How to open a console and display command results on startup?

I have a Linux server with a screen always displaying the end of a very usefull file. How could I automatically enter a shell and display the end of this file when the server starts? I'd like to do ...
1
vote
1answer
84 views

How to make my laptop safe & secure from any accidents like deleting by mistake?

This should be a general question. This Q sprung my mind yesterday late evening because I accidentally deleted files from another partition rather than from the partition I was intending to do. I'm ...
13
votes
7answers
25k views

How to restart the Python script automatically if it is killed or dies

I am running my Python script in the background in my Ubuntu machine (12.04) like this - nohup python testing.py > test.out & Now, it might be possible that at some stage my above Python ...
1
vote
2answers
1k views

Uninstalling GDB on a Mac

I'm having lots of problems with GDB; usually crashes and starts using 100% CPU until I kill the process using the activity monitor on the Mac (using Mavericks). How do I remove GDB from my machine (...
1
vote
3answers
57 views

Before logging in my system, any way to make a key simulate another key?

In my keyboard I button doesn't work. I had earlier asked a Q on how to make a key simulate another key. That Q solved the issue only after I logged in my system. I'm working on Ubuntu 13.04. But how ...
1
vote
1answer
13k views

Installing Kali Linux dual boot Windows 8

I have Windows 8 currently installed on my computer I created a 350gb partition. I removed secure boot and enabled legacy boot sources, I booted into a live environment, installed Kali, everything ...
-2
votes
1answer
106 views

How to modify the shell prompt? [duplicate]

I would like to learn how to make my shell look like this: [user@host ~/Folder] $ instead of (the default): [user@host ~/Folder]$. Also, I'd like to have color on user@host and Folder. How can ...
1
vote
0answers
559 views

How can I get TaxACT 2013 to run on Debian Wheezy amd64 with Wine 1.4?

What can I do to run TaxACT 2013 under Wine 1.4.1 on Debian Wheezy amd64? Running TaxACTenter link description here from a terminal gives this: $ env WINEPREFIX="/home/bill/.wine" wine "C:\TaxACT\...
5
votes
2answers
819 views

zerofree verbose returns what?

zerofree -v /dev/sda1 returned 123642/1860888/3327744. The man page does not explain what those numbers are: http://manpages.ubuntu.com/manpages/natty/man8/zerofree.8.html I found some code on ...
0
votes
0answers
892 views

Compiling Linux and Creating Bootable ISO Image

I have already compiled Linux kernel 3.12.6 but did not install it into /boot as I did not want my hard disk to have another OS. I have the compiled bzImage and I don't know how to take that and ...
0
votes
3answers
480 views

transfer file to remote host and append to file if existing

I have a command-line program that continuously generates output on the shell. I would like to be able to transfer the output to another unix host for which I know IP, username and password. ...
2
votes
1answer
101 views

Make Install Linux Kernel Location Change

I have already run make to compile the Linux Kernel 3.12.6, but when I run make install, I don't want it to install it in /boot (as I don't want another OS on the hard disk). How can I change it so it ...
1
vote
0answers
1k views

Granting Access to Computer Accounts on Samba Shares

I have a Synology NAS that uses Samba 3.6.9. I also have a Windows Domain Controller (Server 2012 R2) that I'm using Windows Server Backup on to backup the System State to the Synology NAS. When using ...
2
votes
3answers
150 views

Code duplication in a shell script

My bash script (lets call it myscript) takes input either from stdin (pipe), or form a regular file (if filename was provided as an argument) a) someprog | myscript or b) myscript file.txt ...

15 30 50 per page