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

0
votes
2answers
120 views

How to increase disk space in linux

I searched but can’t find a simple solution and easy to implement. I have a VM with two disks, one with 50Gb and other with 20Gb, and I need to increase 10Gb in the disk of 50GB so that you have ...
0
votes
1answer
50 views

Lost data at CP -r <from source> <To destination> How to do Recovery

I took a backup into external hard disk and moved all of them to my new Ubuntu machine location /tmp which is near around 100 GB. And I moved via command prompt cp -r /tmp /home The folder into my ...
0
votes
1answer
29 views

rsync exclude config.js but include lib/project/config.js

I have a folder like this / config.js /lib /project config.js In the root directory I execute rsync rsync -azvr --exclude config.js --include lib/project/config.js . dest The ...
0
votes
2answers
252 views

W540 docking in Mint freezes

I have got Lenovo w540 and running Mint 16. When I dock the laptop into the docking station, everything freezes, including the laptop's own keyboard. How should I go along about finding out what is ...
0
votes
1answer
84 views

How to move linux distros without losing data

If I have these locations all on separate partitions: /usr /usr/local /opt /home How can I remove Ubuntu (for example) and install Mint and lose no data? How would I preserve installed packages ...
0
votes
1answer
453 views

Proxychains & TOR ping

I'm trying to ping a host through TOR and Proxychains. I have proxychains configured to work with TOR with: socks4 127.0.0.1 9050 in proxychains.conf and I have TOR service running. I ...
0
votes
2answers
1k views

how to download multiple files using axel

I have a 5 files (e.g. a.zip, b.zip. c.zip etc..) that I would like to download using Axel. As documentation is limited, does anyone know the right command?
0
votes
3answers
132 views

Open man page using nano

I want to open man pages in another text editor, in this case "nano". Does anyone know how I can achieve this please?
0
votes
1answer
3k views

How do I mount a network file system?

I'm trying to mount a filesystem on a remote machine: root@Wolf:/# mount -t nfs 192.168.0.131:/disc2 /temp mount.nfs: mount system call failed The error is delivered after a long pause. I can ping ...
0
votes
3answers
99 views

How can I debug a login denied?

I am having problems logging into a machine remotely using ssh. It allows me to enter the user name, but when I enter the password I get "Access denied." I can login using the same user/pw locally and ...
0
votes
1answer
9k views

Kali 3.12 - wlan0 not found

I am running Linux Kali 3.12-amd64 on the newest VMWare Workstation on a HP Folio 9470m My network adapters are as followed: Intel (R) 82579LM Gigabit Network Connection VMware Virtual ...
0
votes
1answer
366 views

I accidently clicked Image Creation with TestDisk

For anyone familiar with the TestDisk (undeleting software), I accidently selected 'Image Creation' and it created some file which took up the entire disk space of my Linux partition. I do not know ...
0
votes
1answer
456 views

Connect Linux to specific WLAN Access Point

In my vicinity are 2 WiFi access points with the same SSID (and on the same LAN). The signal strength of one is rather stable, while the other one is fluctuating. This causes devices like my phone to ...
0
votes
1answer
66 views

delivery order of multiple files in SCP

I want to push multiple files from node x to node y in such a way that they arrive at the destination in the lexical order of their timestamp extensions. Examples: a.20140508120001, ...
0
votes
1answer
3k views

how to enable java in Browser on Centos 6.5

i already install Java (jdk 6u45 and jre 6u45) in a Centos 6.5 Server, but i don't know why in my browser appears to enable java plugin, these are steps to install java in my machine: rpm -ivh ...
0
votes
1answer
844 views

How to make rsync completely ignore permission from source

I'm trying to use rsync to copy from an Android source where the sdcard mount has rather nonsensical permissions (---rwxr-x) and rsync fails because it creates the destination directories with the ...
0
votes
1answer
672 views

Restrict user to given directory

I wish to allow Bob to only access files in directory /var/www/main/open via sftp. I've edited /etc/ssh/sshd_config, and changed Subsystem sftp /usr/libexec/openssh/sftp-server to Subsystem sftp ...
0
votes
1answer
152 views

Enlarged partition, filesystem still reports old size

I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB. How can I use all 40 GB? Update The resized partition was an LVM Physical Volume ...
0
votes
3answers
274 views

Is it a good plan to use a desktop tower as a server than purchase an actual tower server?

I have a Dell PowerEdge SC430 which is now 8 years old. I want to replace this server with a new one, but it was suggested to me so get a Desktop tower with the same specs because it's going to be ...
0
votes
2answers
907 views

Installing openssl on CentOS 5.3

I am trying building apache with mod_ssl and I am running into issues becuase my OpenSSL version is less than 0.9.8a. I tried updating but yum says I have the latest version ( 0.9.8e-27.el5_10.1, ...
0
votes
1answer
2k views

Can't Connect to PPTP VPN When Using NETGEAR N300 Router

I'm running Ubuntu 14.04, and I'm able to connect to the VPN on other networks, just not the one in my house. I'm pretty sure that my router is blocking the connection. How can I fix this? Output ...
0
votes
1answer
27 views

How to troubleshoot a program that does not start

I'm using Ubuntu Server 14.04 and I'm trying to execute a program, namely deluged. However, whenever I do so, whether in script or directly via the CLI, it never appears when I do ps -A | grep deluge. ...
0
votes
1answer
704 views

Share LAN connection over WiFi (Intel PRO/Wireless 4965)

I have laptop Lenovo Thinkpad t61p with Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter that served by iwlegacy (module iwl4965) drivers. I have LAN internet connection that I want to share over ...
0
votes
1answer
525 views

GREP for multiple strings with wildcard

I am trying to copy lines from a log file from certain days. Here's an example of what they look like. 2014-05-01T15:53:16+00:00 DEBUG (7): 2014-04-301T11:08:10+00:00 DEBUG (7): This GREP ...
0
votes
4answers
3k views

RDesktop wrong username or password when it's the right credentials

I'm trying to connect to a Windows 7 system through rdesktop, and at the windows login I get wrong username and/or wrong password. I'm sure it's the right password. It was working before. I can ...
0
votes
2answers
226 views

raspberry pi. listening for command from servers

I have a raspberry pi that is attached to the same network as a few servers. Now I want to monitor these servers in a really basic way. I have written a program which does some checks on the server ...
0
votes
1answer
47 views

Prevent user to read files from vfat filesystems - but allow to write

Its possible do that? I want to mount a flash drive(vfat) in linux and the user be able to write to it but not to read. I've tried: mount /dev/sdb1 /media/mpoint -o fmask=0444 but no results. ...
0
votes
1answer
212 views

7z a folder in chunks of 100MB and decompress

I am trying to 7z a folder (in chunks of 100MB) and add it to archive in Linux. Is the following command correct? tar cf - dir/ | 7z a -v100m -si dir.tar.7z How can I decompress the folder? I have ...
0
votes
1answer
746 views

Is it possible to set ACLs on a sysfs mount point?

I'd like to add the write access on /sys/power/state to my UID via ACLs, this way I'd don't need to use sudo or any setuid program to make my workstation go on sleepmode, is that possible ? I tried, ...
0
votes
1answer
31 views

Gentoo virtualbox X support

So i wanted to play around in gentoo to level up my linux knowledge. I've installed it on virtualbox, but i didn't add a few USE flags, and during core compilation i didn't select a few necessary ...
0
votes
1answer
30 views

How do I use / interpret vi shortcuts on linux?

I've found myself in the dreadful predicament of having to use vi, and I don't understand this list of shortcuts for it. I'm in insert mode, and I want to save the changes that I've made so far and ...
0
votes
1answer
265 views

how to change directory in ubuntu

I'm trying to change the directories of a symbolic link. ln -s /usr/local/mysql-cluster-gpl-7.1.5-linux-i686-glibc23 /usr/local/mysql When I type command cd /usr/local/mysql it is giving me error ...
0
votes
3answers
26 views

Windows sound control

First of all, I know this is probably wrong place to post this, but I went through the list of servers and didn't find anything suitable. Now to the question: Until recently I have been a user of ...
0
votes
2answers
779 views

How to rotate enumerated filenames similar to logrotate?

I have a couple of files, let's say map-0.jpg (newest), map-1.jpg, map-2.jpg, ..., map-9.jpg (oldest). Now my cronjob downloads a new picture from the internet and should save it as map-0.jpg. All ...
0
votes
1answer
271 views

Ports in Linux vs Windows

I'm studying for a security class. I know that ports in Linux are tied to a process. So if I wanted to close/shutdown a port, I'd end the process that's using it. So if I'm in Windows, what's ...
0
votes
2answers
173 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
0
votes
1answer
211 views

Alias in KDE desktop session

Can be set alias for desktop session like it can be set in terminal? In fact I am not sure if desktop sessions work in the same way. Is there some central interpreter which interprets the commands ...
0
votes
1answer
534 views

Redirect output to printer via device file?

Is there a way in Linux to print a file with a modern printer (a Canon MX870 in my case) by redirecting text to a device file? I imagine the command to look something like this: cat my_notes.txt ...
0
votes
2answers
252 views

How does ssh tunneling and port forwarding work without ping?

I am trying to do ssh tunneling: ssh -L 1234:yahoo.com:80 home.abc.com when i run this, it SSHs me into home.abc.com. I have following questions: from my local box, i am not able to ping ...
0
votes
1answer
122 views

Text editor for exporting syntax-highlighted code in html format

Long time along I used to export syntax-highlighted code from a certain text editor on the linux platform. The idea is that it maps all the syntax-highlighting, like color, boldness, italics, indent, ...
0
votes
3answers
4k views

nagiosgraph installation error

I'm trying to install nagiosgraph where my nagios system works perfectly fine. Downloaded nagiosgraph-1.5.0.tar.gz, unpacked it and issued ./install.pl --check-prereq It gives me checking required ...
0
votes
1answer
255 views

Increase dynamic VDI disk size

I'm running Linux (OpenSuse) host (Oracle VirtualBox) with Win 7 guest. I configured the VM with a VDI format disk that grows dynamically as required. Windows currently has 3.5 Gb free but I need to ...
0
votes
1answer
88 views

Add file to RAR without keeping folder structure [duplicate]

I'm running this command: rar u /var/www/html/Backups44.rar /var/www/html/linkreplacer/MD5Change I want to add the file "MD5Change" to the rar "Backups44" but whenever i run this it adds all the ...
0
votes
1answer
176 views

Awk - Syntax error

I am writing a bash script. setenv lineNUM `grep -n ms-listviewtable wget_list.log | awk '{print $1}' | cut -d ':' -f 1` setenv next `expr $lineNUM + 2` echo `awk '{FNR>=$lineNUM && ...
0
votes
1answer
95 views

What is a shared configuration? (Fedora)

What is a shared configuration? im using fedora 20 and attempting to run eclipse as root. i am advised against this as it will cause the "shared configuration" to no longer by in sync with the actual ...
0
votes
1answer
465 views

Bind bash script to keypress

How do I map a keypress on a keyboard to a bash script? For example, when I press the "Esc" key, the script is run. OS: XFCE Spin Fedora 19 ---- EDIT ---- I need to set this via the console. This ...
0
votes
1answer
104 views

Domain [ Understanding ] issue when creating a Linux email server

Ok, here goes my paradoxical question. For about 1 year into my hobby-ish career, I used to buy my domains and a hosting package from Reseller Club. I purchased their " shared hosting " plan and ...
0
votes
1answer
137 views

How do I keep my home directory clean?

I have far too much in my home directory, but I can't move a lot of it because it's mostly dotfiles that are required by other programs (games, libraries, etc.). Ideally, everything of that sort would ...
0
votes
1answer
199 views

Install system to Disk on Chip

I'm looking for an easy way to install linux on a PC104 (x86 no cmov) system with a Disk-on-Chip. It can be a very simple system (BusyBox, etc) or a distro the installs in under 512mb. I just need to ...
0
votes
2answers
36 views

File sorting confusion

Q1. I have a command and I'm confused why it's sorting the filesizes by Kilobytes then Megabytes? $ find ~ -maxdepth 1 -size +1024c -type f -exec du -h {} \; | sort -nr 80K /home/sl6/S3401636/Lab 4- ...