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

24
votes
6answers
16k views

How can I change all files belonging to one user to another user?

I'm looking for a Linux command that can change ownership of all files belonging to a given user, preferably in a targeted directory, to another specified user. My dream command would look something ...
0
votes
1answer
9 views

Choose gateway regarding incomming node

I have a server behind 2 Internet Access. the ip are these: -Server : 192.168.0.1 -ISP 1 : 192.168.0.253 -ISP 2 : 192.168.0.254 I would like that packets coming from ISP 1 receive response using ...
1
vote
1answer
31 views

I just installed GMP, where did it install to?

I am not familiar with installing programs with ./configure...make and so forth. I just installed GMP like this and now I cannot seem to find where it installed to. I checked in all the bins I could ...
0
votes
0answers
677 views

Kali Linux - Debootstrap error Failed to determine codename for the release

Installing the new Kali Linux 2016 rolling release to the HDD via USB. I made a bootable USB using Universal USB. Booted off the USB and selected "Graphical Install", I had an issue at the beginning ...
5
votes
1answer
99 views

WD Green Hard Drive and home linux server

Are newer WD Green Hard Drives still a problem for Linux nowadays? The discussion here is focused on home linux servers, not NAS or data centers. Here is a summary of my research from googling. ...
0
votes
1answer
13 views

Using firewall-cmd to open up a port for INPUT only

I'm using firewall-cmd on centos7 to open up a port. But, I want to open up the port for INPUT only. I currently have this, but it, presumbably, opens it for INPUT and OUTPUT. sudo firewall-cmd ...
6
votes
2answers
2k views

Backup a server using Ansible?

Ansible seems to be a pretty efficient automation tool to deploy and to update applications on servers. Is it possible to use it to backup a (Linux) server as well? Is it a good practice to do so? ...
0
votes
1answer
24 views

Screen turning off at random, on any Linux distro

I've switched an old laptop with the dreaded SiS 771 graphics card to Linux (Debian jessie to be more specific) but while I work or even leave it on idle, the screen suddenly turns off, while the fans ...
0
votes
2answers
21 views

Can DVD-R disks be used to create a boot disk?(linux iso)

Can DVD-R disks be used to create a boot disk?(linux iso). I am trying to install linux on my imac powerpc g5 which wont boot from a bootable usb.
1
vote
1answer
17 views

To create shell script

I want to create a script to check size of all the files present under particular folder, and if size of any file present under a folder cross 500mb it would trigger a mail to me specifying the file ...
6
votes
7answers
56k views

How to access a network folder in Ubuntu using the terminal

I am new to Ubuntu(and Linux for that matter) and I am trying to access files using the terminal. The network folder is on my Desktop, but when I go to the Desktop folder via the terminal, the ...
2
votes
2answers
10k views

Total disk usage for a particular user

I would like to see the total disk usage for myself on a particular file system. I executed the command du -h ~my_user_name However, this lists every directory owned by my_user_name. I would like ...
1
vote
1answer
10 views

grab history command and args for different commands

I have the following exercise: 47 vim wilson.0321 wilson.0329 I need to grab the last command and args to create: vim wilson.0329 right now I can grab the last arg or entire command: ...
1
vote
2answers
21 views

How to stop specific dhcp interfaces from adding a gateway to my routing table in linux (RPi)?

I've been setting up a VPN server on my Raspberry Pi 3 (latest Noobs) which has worked wonderfully. The VPN creates an extra interface called vpn_vpn and my normal internet is on wlan0 or sometimes ...
0
votes
2answers
22 views

Can I use vlc on Linux to convert an audio file to m4a to be played on iPad/iPhone?

I have been working and researching this question for much of the day. I found some online advice and changed an FFMPEG preference (strict conversion to -2) and added an AAC output option. I was able ...
0
votes
0answers
19 views

Virtualbox: booting OS X guest on Ubuntu host on a Macbook Pro

I want to boot Linux natively, and boot the Mac's own native OS X virtually inside Linux. I've followed the same procedure as I've used in the past to boot Windows partitions in a Linux host, but it ...
50
votes
7answers
74k views

How can I know the absolute path of a running process?

If I have multiple copies of the same app on the disk, and only one is running, as I can see with ps, how can I know the absolute path to distinguish from the others?
0
votes
1answer
13 views

Where is the email address for maillog set?

I've got a CentOS 6.7 system that currently emails a certain address to send system messages (for example, it emailed with the body "Terminated" to indicate a process spawned by cron that was killed ...
0
votes
1answer
20 views

Dynamically resolve hostname to multiple, prioritized IPs

I have a linux server connected to a VPN. At home, I use the same VPN on my laptop, while connected to the server directly through a wireless router. To do this, I have two entries in my /etc/hosts ...
1
vote
0answers
8 views

I can not install the necessary dependencies for Skype for Fedora 23 x86_64

Hi I have a HP Envy dv7 with an uname -a output of: Linux MercadesBendz 4.4.7-300.fc23.x86_64 #1 SMP Wed Apr 13 02:52:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux lspci output of: 00:00.0 ...
5
votes
1answer
1k views

Accidentally dd'ed an image to wrong drive / overwrote partition table + NTFS partition start

I screwed up and set the wrong output for dd when trying to copy a freenas ISO, overwriting the wrong external hard drive. External drive is only used for data storage, system is entirely intact ...
0
votes
0answers
8 views

dansguardian is blocking all http traffic by default

I was trying to setup a proxy on my machine to filter web content, so I installed tinyproxy and dansguardian. I checked all the configuration files but cannot find the directive to allow the http ...
3
votes
3answers
4k views

Is it possible to force wget to use one connection?

I'm trying to download about 20GB of data with FTP with my personal account (no scp available and tar-ing is not possible). I'm using the following standard command: wget -m ...
3
votes
2answers
386 views

Setting up static IP on Linux

I understand an interface file in Linux needs to be edited and the corresponding lines added. I don't understand what network and broadcast are for, they seem extraneous compared to a Windows static ...
0
votes
1answer
25 views

how to see the output of a cron/at jobs while it is still running?

The output of a cron or atq job is automatically send by email to the user, when the job is finished. However I am running a time consuming script, and I would like to check that it is running ...
0
votes
0answers
5 views

Webfaction: how do I have my secondary user sudoing as main user in post-receive?

I am using webfaction (remember this, since I don't have access to root or standard sudo foo --bar commands to get admin rights) and have two user accounts in a server I manage for someone (one user ...
-2
votes
1answer
38 views

I can ssh into server A from server B. But I cannot ssh into server B from server A

I have 2 servers in a data center. Server B is publicly accessible, as in, I can ssh into it. Server A is not. So to access Server A, I ssh into Server B. And then from there, I ssh into Server A. ...
0
votes
2answers
31 views

Protecting Virtual machine from being copied to other hosts

I'm deploying a web application on a linux server (ubuntu) on virtual machine (In VMWare ESX 5.1 and the host machine is Windows) I need to protect the entire application and guest OS from being ...
1
vote
1answer
24 views

Is pg_ident.conf working?

When i'm trying to run psql, is says: psql --version psql (PostgreSQL) 9.3.12 psql psql: FATAL: Peer authentication failed for user "testuser" Here is my pg_hba.conf: # Database administrative ...
1
vote
2answers
13 views

How can I fix Debian Linux nf_conntrack?

I have a problem with my Linux router (Debian). When I run MTR, it always has loss in 1 hop it in my server. My friends told me it's because my nf_conntrack is full. I have been up max_conntrack but ...
0
votes
0answers
46 views

pulseaudio pavucontrol: Missing “ALSA capture from” in gui

I am trying to redirect sound output to fake microphone, but I got stuck in pavucontrol. After trying 3 tutorials, I gave up due to missing "ALSA Capture from" options. It should look like Here's ...
2
votes
1answer
221 views

How to make Nginx virtual host work? (page not found)

Running Ubuntu 13.10 in VirtualBox. I've put my website in this folder: And created the log folder on /srv/www/streamsy.com/logs/. I've done these steps: sudo apt-get install nginx sudo chown -R ...
0
votes
1answer
160 views

X Server unable to start under Linux 4.5 in Arch virtual box guest

I recently ran paceman -Syu to upgrade my system as usual but after installing the newest Linux kernel, the X Server could no longer start and produced this error in the log file AddScreen/ScreenInit ...
-1
votes
0answers
17 views

monitoring websites using curl

I am looking to monitor about 40 (Linux/Apache) urls hosted in a DMZ. I am thinking of using curl from a Linux box in the DMZ to do this and pass the data to a monitoring tool. My plan is to use a ...
-1
votes
1answer
13 views

Show umask of user I can't login to

I know I can show the umask of the current user by simly executing umask on the command line. Is there any way how I can figure out the umask of a user I don't have the permissions to login to? ...
0
votes
1answer
23 views

Decompress all gz files in a tree

I am working on an Ubuntu 14 server. Trying to create a tar.gz backup of my website, I accidentally gzipped every individual file in my /var/www/ directory, recursively. Now the whole tree consists ...
5
votes
0answers
82 views

Tar encounters “Cannot open: Not a directory” while compressing

I am using fakeroot v1.12.4 for packaging and extraction on RHEL-6.4. I have two different servers where I am compressing files using tar v1.23. Compression is failing on one server with this error: ...
3
votes
2answers
236 views

Linux: Group permission user have read and write but can't delete each other files

I want to create a shared folder on my Debian server so that users can create and edit files, but not be able to delete each other's files in that directory. /home/sharedfolder Users that can read ...
0
votes
1answer
4k views

Install CentOS on top of Ubuntu (dual boot)

I have a Ubuntu desktop and would like to install CentOS on top of it as a dual boot. The machine has two drives, each with one partition. I don't want to risk harming my Ubuntu installation. I'd ...
1
vote
1answer
3k views

Sync iPhone in Ubuntu 11.04

I want to sync music on my iPhone 4 (version 4.3.3) with Ubuntu 11.04. Is there any working way to do that? I've already tried Amarok, Banshee, and iTunes on wine. None of them work.
0
votes
0answers
9 views

Select default display output BIOS level

My custom built pc has a couple of display output ports on both integrated and dedicated NVIDIA card, but it only displays output on mDP port of my NVIDIA card currently. It works fine with Windows ...
1
vote
1answer
20 views

How many ARP Request/Reply for Ping command to work

I would like know how many ARP Request/Reply are required for ping command to get work ? Let's say we have two machines connected point to point with ip's 192.168.110.2 and 192.168.110.3 and executes ...
3
votes
1answer
4k views

integrated intel graphics 3D acceleration probem with Linux on ThinkPad S531

I have a Lenovo ThinkPad S531 running OpenSuse 12.3 64bit. This notebook has the following graphics cards: - integrated Intel HD 4000 - discrete (muxless) AMD Radeon HD 8670M After the standard ...
3
votes
1answer
340 views

Is there a way to view Windows recycle bin information from Linux?

I have several Windows hard drives with various files in their respective recycling bin directories: $RECYCLE.BIN Is there a way to view information about these files to tell if they are no longer ...
2
votes
3answers
696 views

using nawk, how to sum all numbers in $1, $2, and $3 fields?

Using nawk, how to sum all numbers in $1, $2, and $3 fields? 8 6 2 7 3 5 1 9 4 I want the result to be sum = 45
0
votes
1answer
262 views

Error message using scp over ssh

I'm not sure what's going on but as of late I can't seem to get any files copied to local from my remote server. I tried rsync from local and get the following error message: mut@mylocalcomputer:~$ ...
0
votes
1answer
25 views

At is scheduling the job but not executing the commands under it

Please help me solve my issue on at command. I am giving the below command and it is not executing. # at now at> ls -l > txt.txt at> <EOT> job 1 at 2016-04-27 11:31 when I try to ...
0
votes
0answers
7 views

Preserve Ubuntu/Win7 dual boot after moving/resizing current Ubuntu partition

I have Win 7 and Ubuntu 15.10 dual booting at the moment. Windows XP on sda1 is what I am trying to get rid of, so that I can then expand sda2 LEFT and resize sda6 (Ubuntu) LEFT to give me more room. ...
1
vote
1answer
21 views

What is the discard option in `stty -a`? It uses `^O`

In stty -a, there's an option for discard = ^0. I've googled around, and the closest documentation I get is from: http://www.tldp.org/HOWTO/Text-Terminal-HOWTO-17.html which says ^O flush (or ...
2
votes
6answers
2k views

Linux screenshots, how to take them like a mac

I run opensuse 11.2 KDE 4.3.5. I do not have a mac, but I've used one and really like the one feature of the screenshots. Specifically, Command+Shift+3 which saves the screenshot to the desktop ...