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.

learn more… | top users | synonyms

1
vote
1answer
16 views

Move a directory and its contents up several levels

I have a directory with text files in /user/data/tutorial/texts/ and I'd like to move the (sub)directory Folder2/ with all of its contents to /user/. How should I go about this using unix commands?
15
votes
4answers
23k views

How to read email received on a Debian server

I have a VPS (virtual private server) running Debian Linux. When I login using PuTTY the console shows - "You have mail" I have no idea on how to retrieve this email. Which software do I need to ...
-1
votes
0answers
21 views

rm,cp,mv,stat silently failing on certain file

Has anyone encountered a situation where a certain file becomes corrupted such that all operations on it fail (specifically they hang without any error message)? In my case this happened to an image ...
0
votes
1answer
25 views

Nmap scan on my LAN is blocked by my host firewall (Linux)

I recently added some rules to GUFW to make sure only my (personal) VPN connection is allowed to get out, x.x.x.x being my ip, y.y.y.y being my VPN's IP I connect to. To - Action - From y.y.y.y ...
16
votes
7answers
16k views

How to fill a hard drive in Linux

I'm doing some testing of a piece of code and I want to fill a hard drive with data. I found that dd can make huge files in an instant, but df disagrees. Here's what I tried: dd if=/dev/zero of=...
0
votes
0answers
7 views

XenServer no internet for VMs w/ DHCP

I recently built home server with the intention of learning more about Linux/Virtualization. I installed XenServer and chose DHCP during the installation, where the XenServer Host (Dom0) has full ...
76
votes
5answers
86k views

How to specify level of compression when using tar -zcvf?

I gzip directories very often at work. What I normally do is tar -zcvf file.tar.gz /path/to/directory Is there a way to specify the compression level here? I want to use the best compression ...
1
vote
1answer
18 views

Extract text from journalctl logging facility

I have a system which I can access directly with the keyboard but not by ssh (which is my problem, and which arises the question; a RasPi 3 with OSMC 2016.05-1, which is Debian-based, version: 8.5). I ...
-1
votes
0answers
11 views

Chain/Convert Socks5 to http

i want to get socks5 traffic and translate/redirect it to http proxy (Squid) and add Authentication to each request , how can i do this ? i saw the JSOCKS but it hasn't the cascade to http option , ...
0
votes
0answers
16 views

Long term solution to Ubuntu 14 “no sound”

Perhaps everyone is already familiar with no sound problem in Ubuntu. There have been solutions and tutorials around on how to restore the sound back. Everytime I face this, I use the following method ...
3
votes
1answer
27 views

Script not working in crontab

I have a script to start my minecraft server each reboot. I can see in the logs it's calling the cmd, but no screen is being opened. If I work run the script manually /home/minecraft/scripts/...
3
votes
2answers
6k views

Apache runs locally but can't be accessed from other machine

I'm running Apache 2.2.3 in a VM for a test environment on CentOS 5. Apache is running and responding to requests on the VM itself. If I run "lynx localhost" on the VM I do get my test page. When I ...
1
vote
1answer
15 views

Linux OS crash randomly

Randomly, when I tried to open the Linux native browser the computer froze and after a couple minutes went to black and is giving me the error message: [256657.388021] nouveau E[Xorg[1344]] failed to ...
2
votes
3answers
7k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
1
vote
0answers
14 views

When powering down kali linux, I get the message “Other users are logged in.”

This is what is displayed: image of what is displayed I am currently logged in as root, so is root (console) a separate user? I just finished setting everything up so I can boot kali from a usb with ...
3
votes
3answers
2k views

How much “Load_cycle_count” can my hard drive hypotethically sustain?

I'm using S.M.A.R.T. to check my hard drives, i recently purchased a used WD Caviar Blue 2.5" and i noticed that the Load_Cycle_Count has already exceeded the 300k mark, which is the maximum that the ...
0
votes
1answer
76 views

How can I logically separate interfaces on a host?

Problem Introduction I have a network topology which looks like the below diagram. All hosts are running different Linux distributions, and all my configuration should (hopefully) be done on Host A, ...
0
votes
2answers
50 views

CentOS 7.2: Yum repo configuration fails

Fresh install of CentOS 7.2.1511. Server was originally configured with Network Manager and yum was working fine. Recently disabled Network Manager and configured network with traditional service (/...
0
votes
0answers
16 views

Kali Linux Glitched Boot

I'm having a problem with Kali Linux when it should start the gui, my cursor is constantly flickering. When I switch to tty2 I'm able to login but then I get in the command line. When I do X I end ...
0
votes
1answer
19 views

Rsyslogd Log entry about attack created by unknown application

I have a server running for testing purposes which lately caught some strange log entries in /var/log/syslog, /var/log/user.log and /var/log/messages. auth.log does not show anything suspicious. No (...
0
votes
1answer
13 views

How to use different input language for different active (application) windows in linux (i3wm)?

I need some program that can save layout for each window. For example I have open browser and terminal windows. I want typing something in a browser in Russian or Ukrainian and when I switch to ...
3
votes
1answer
26 views

Network bandwidth usage per process

On Linux (preferably in the command line), how can I view network usage per process? I'm not interested in total bandwith usage, but rather in how it's split among processes.
0
votes
1answer
18 views

Trouble enabling GatewayPorts for Remote Port Forwarding over SSH

I'm trying to use an Ubuntu server to do remote port forwarding over ssh. I've edited /etc/ssh/sshd_config to contain the following lines at the bottom of the file: ... Match User david ...
5
votes
5answers
10k views

How can I solve VLC's dependency “vlc-nox”?

I have installed Ubuntu (Ubuntu 2.6.38-11-generic-pae #50-Ubuntu SMP, i686 Athlon i386 GNU/Linux). I am newcomer in Linux. I am trying to install VLC media player using command line: % sudo apt-get ...
-1
votes
1answer
82 views

Is there a way to limit buffer cache size in linux?

I've got program consuming a lot of memory during I/O operations, which is a side effect of performing loads of them. When I run program using direct_io the memory issue is gone but time it takes for ...
-1
votes
0answers
49 views

How to find primary processor failure in linux?

I am trying to find the log messages for primary processor failure in linux machine. where I can find the log message for this? Is it possible to find the log message in mcelog for processor failure?
1
vote
2answers
3k views

Monitor Mode doesn't work in Kali 2.0

For the last year or so I have been using this exact setup with Kali 1.0. Everything worked fine with Wireshark. Now, when I am connected to a Wi-Fi access point my card REFUSES to stay in monitor ...
0
votes
0answers
16 views

Win7 laptop shuts down unexpectedly (no blue screen) but Linux works fine

I have a problem with my Toshiba Laptop (PinGuy 14.04 works fine but Win7 shuts down), it happens at random times: it could be just after logging in or while running some software after having the ...
6
votes
4answers
3k views

Hook into linux mount/umount event

is there a way to provide post-mount and pre-umount scripts in Linux? I am trying to do some scripts on storage media when mounted and before umounting (eg, for synching). Any help appreciated.
-1
votes
0answers
14 views

How to make my VMware virtual machine use proxy of host

I am running Shadowsocks over host computer running on Windows.And I running VMware machine with Ubuntu Linux on that. How to set VMWare/Ubuntu to use Shadowsocks of my host?
0
votes
1answer
24 views

Hard power-off as a requirement. How to safely enable?

I need to configure a Ubuntu 16.04 Linux system such that it withstands being hard powered-off regularly. For regular operation there's basically no writing going on, so a read-only file system might ...
0
votes
1answer
21 views

Why BOOT MENU doesn't read USB?

I've a LENOVO G50. I'd ubuntu but I would install debian from USB. So, I'd run usb with debian iso etc. but didn't run. So, I'd try with Elementary but I don't liked it. So, I tried Kali Linux in USB ...
0
votes
0answers
16 views

lsdvd, libdvdread, libdvdcss for encrypted DVD ISO, Can't Open Error

I'm executing lsdvd -x filename.iso and getting the following error libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP ...
0
votes
0answers
17 views

how to change logo via vlc RC

I am using vlc 2.2.3 with RC (remote control) but I have no luck to change overlay logo image. Commands like /bin/echo -n "pause" | nc -U /user/vlc.sock works ok but commands I tried for logo change ...
8
votes
3answers
2k views

Get Supported Unicode Ranges from Font *.ttf file on Ubuntu

I have some fonts in 'ttf' format on my Ubuntu machine. I want to know some metadata of those fonts, about which unicode ranges and which non-unicode codepages those font files are supporte. How I ...
0
votes
1answer
2k views

Connect Android to Linux laptop

I would like to establish a network connection between a Linux laptop and an Android device. More specifically, there is an MPD server on the laptop which I wish to contact from the Android device ...
25
votes
2answers
27k views

What is the default size unit in linux ls -l command

I wanted to know what is the unit ( bytes ,bits , kb ) of the output of the ls -l command in linux. Heres an example of what i got : -rw-rw-r-- 1 guest guest 39870 Feb 14 19:41 ser_cat -...
1
vote
2answers
3k views

Suse Enterprise Server 12 - Resize Root partition

I have a Suse Enterprise Server 12 installed on a VMware server, I want to be able to increase the root volume, ideal I would like to be able to set it to auto expand. below is the layout. df -h ...
1
vote
1answer
38 views

Sharing Internet connection to other devices through a router

I got a Raspberry pi which is connected to router's wan port. Another win7 computer is connected to the router's lan port. I tether my phone to raspberry and want to share its connection to the other ...
1
vote
4answers
4k 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
1answer
28 views

Linux to Windows ping

ALL, I have a LAN with the laptops running different OS. Also on Windows up until couple of days ago I was successfully using ZoneAlarm. However I recently installed MS SQL Server 2012 Express on ...
0
votes
4answers
11k views

mounting nfs gives “access denied by server while mounting (null)”

I've recently upgraded one of our machines to debian Squeeze from lenny. Previously, these machines mounted 2 NFS shares /home and /home/scans/data After the upgrade they can only mount one at a time....
1
vote
1answer
6k views

With Centos 7 as a Virtualbox guest on a Mac Host, how can I change the screen resolution of the console / command line?

I am using the minimum install of CentOS 7 with command line access only (no graphic support installed). After spending hours reading online about editing grub files, installing guest additions, and ...
2
votes
1answer
56 views

Recovering information from a damaged (reduced in size) MicroSD

I've got a 16 GB MicroSD card previously used in a Galaxy smartphone. What I see now is a disk hardly recognizable by a card-reader. The one that actually could have recognized it shows a disk with ...
0
votes
0answers
13 views

Running a program out of tmpfs

I ask this question out of interest. I have linux installed (Debian) and I created a tmpfs partition in RAM for some temporary stuff, see here. So far so good. When I put images or text in there and ...
1
vote
1answer
309 views

Circumvent limitations of CIFS/Samba

My situation: I have a NAS which serves shares via CIFS/Samba. Internally, it uses an ext3 filesystem, but this is not relevant (I think). I have some Linux computers (using ext4 filesystems) which I ...
0
votes
1answer
3k views

Tomcat 7 not starting on Centos

I try to learn to work with tomcat but are struggeling with the installation and starting of the daemon. I downloaded from the tomcat website and put the binaries under /usr/local/apache-tomcat-7.0....
0
votes
2answers
3k views

I can no longer login as root user (Raspberry Pi running Raspbian)

Raspberry Pi running Raspbian (2014-01-07) The error seem to have come from nowhere, as I was trying to login as root via SSH (yes I have it activated - for now) I got the message "Access Denied" ...
1
vote
2answers
385 views

No GUI when Booting in UEFI From USB Flash

I'm trying to dual boot my new Acer V5-122p with the pre-installed Windows 8 and Linux Mint 15 Mate. The laptop doesn't have a DVD drive, so I have to boot through USB. When I boot Mint in UEFI mode, ...
1
vote
1answer
3k views

Linux Mint livecd does not recognize Windows 8 partition

My system has two SSDs. I re-installed Windows 8 onto the disk0. I want to install Linux mint on the other SSD. Secure-boot is disabled, fastboot is disabled, csm is enabled I run Linux Mint 16 x64 ...