Questions tagged [gnu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Does tar create point-in-time snapshots?

I know that tar can be used to create a backup. However I wonder if the operation creates point-in-time backups or not. Basically I wonder if it grants consistency if the directory and files are ...
user avatar
0 votes
0 answers
352 views

Why do I get a Too Many Redirects Error on my GNU Social Heroku deployment?

I'm using heroku, apache, php and gnusocial. My plan is to deploy a GNU Social instance for my family. I fiddled with the composer.json file, to where it looks like this: { "name": "jmm/me-and-...
user avatar
3 votes
1 answer
2k views

How to have multiple users access to chmod() the same file?

I have a system where multiple users are running an application that chmod the same file. I've tried using setacl to add both users as user owners of the file to do this, but it doesn't work. The ...
user avatar
0 votes
1 answer
6k views

Why can't I get wget to pipe standard output to /dev/null?

When I run this command it works as expected: wget -p https://www.google.com/ After running this command I check the error code with echo $? This returns 0, indicating that last command ran ...
user avatar
0 votes
1 answer
1k views

Unable to use grep regex to search for filename containing period

Ubuntu 14.x. Using grep to search for all files linuxtest-client2. This includes multiple file extensions (csr, crt, key). When I grep for the middle portion of the filename, "2.", it also returns ...
user avatar
  • 1,021
0 votes
1 answer
993 views

Compile Node with GCC v4.9.2

I can't seem to be able to compile Node.js on CentOS 6.6 (64 bits) GCC v4.9.2 $ ./configure Node.js configure error: No acceptable C compiler found! Please make sure you have a C compiler ...
user avatar
  • 203
2 votes
1 answer
172 views

How to specify GNU screen ACL as part of its command line?

What I'm trying to do is spawn a detached screen session, but as part of the command line that creates it - also modify the ACL list. So right now I have screen -dmS MySession "SomeProgram" "...
user avatar
  • 123
3 votes
1 answer
249 views

Bug in diff: wrong output for one-character files without newline [closed]

Consider this: echo -n a > /tmp/a echo -n b > /tmp/b diff -B /tmp/a /tmp/b Clearly, the two files are different, yet, diff seems to think that the files are identical. I've managed to ...
user avatar
  • 133
3 votes
1 answer
2k views

What are main differences between Linux and FreeBSD system from sysadmin point of view? [closed]

What are main differences between Linux and FreeBSD system from sysadmin point of view ? What specifically and significantly differs Linux from BSD (memory/resources/users management, other ...
user avatar
0 votes
1 answer
571 views

gpg --import bind-9.9.4.tar.gz.sha1.asc fails with no valid OpenPGP data found

This is the first time I figured I had better check the keys of the bind software I want to install. So I downloaded what I think is a OpenPGP key ... $ wget ftp://ftp.isc.org/isc/bind9/9.9.4/bind-9....
user avatar
1 vote
2 answers
3k views

How to limit du output to a specific user?

I need to help a specific user, say alice, free up some disk space; but not all the user's files are in his home directory; many are in directories shared with other users. I'd like to have something ...
user avatar
3 votes
1 answer
2k views

GNU/Linux: SAS-disk detected as /dev/sg7 - not as /dev/sdb

I have just installed a SAS disk into a Debian server. It was detected correctly and everything was fine. Then I moved the SAS disk to a different Debian server, the same hardware model and running ...
user avatar
  • 2,796
13 votes
2 answers
11k views

Using parallel to run script without input

I'm trying to run many instances of a script with GNU parallel, but the script takes no arguments. If I just execute 'parallel foo.sh' I get this: parallel: Warning: Input is read from the terminal. ...
user avatar
9 votes
3 answers
22k views

Bypass openvpn for particular ip

My desktop machine runs Trisquel GNU/Linux 6.0 (which is basically a libre version of Ubuntu 12.04), and I use OpenVPN to connect to a commercial VPN provider for internet access. It currently routes ...
user avatar
1 vote
2 answers
959 views

Issues while untaring in Linux- tarball created from Solaris

I am getting an error- Unknown file type 'A', extracted as normal file while un-tarring a set of files which has acl permissions set. I had created the tar file in solaris as tar -cpfv ...
user avatar
1 vote
1 answer
112 views

Start Daemonised GNU Screen from script a allow calling script to end

I have a script on an embedded device that calls screen to start if a user logs in via a ssh session... #!/bin/sh SCREENRUNNING=`pgrep SCREEN` if [ -z "$SCREENRUNNING" ]; then echo "Screen not ...
user avatar
  • 11
0 votes
3 answers
2k views

Automatically power down home GNU/Linux server after 30 minutes of inactivity [closed]

I'd like my home GNU/Linux server to power down after 30 minutes of inactivity. For "activity", I'm thinking any new [CUPS] print jobs any requests to a locally running Apache server any activity ...
user avatar
2 votes
1 answer
391 views

Selenium server causes crazy load on box - how to prevent?

I'm running this linux: Linux host.themepark.com 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux And I run the Selenium stand-alone server on my box ...
user avatar
  • 1,077
0 votes
1 answer
276 views

Why doesn't ps resolve usernames including dashes

On Debian and Ubuntu (probably on other GNU systems too), when ps lists a process' user, it normally resolves its name, but when a process is running as a user which has a dash in its name, the user's ...
user avatar
  • 1,705
3 votes
2 answers
242 views

Do the GnuWin32 tools require the POSIX subsystem to run?

I would like to remove Posix from the Group Policy Object Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\Security Options\System settings: Optional Subsystems. Do ...
user avatar
-2 votes
1 answer
11k views

How to install GNU make in Windows 7? [closed]

I am trying to install GNU make-3.82 on Windows 7. I downloaded the make-3.82.tar.gz setup but it does not have any setup file. There is process given on GNU site. But when I reach to the folder in ...
user avatar
  • 115
1 vote
2 answers
2k views

let users group do "sudo -u username chown"

I would like to edit /etc/sudoers so that group users can execute (only) /bin/chown as user dummy. How might this be done?
user avatar
6 votes
2 answers
15k views

glibc 2.7 on CentOS 5.5?

I'm trying to run a program that requires glibc 2.7, but I'm running it on CentOS 5.5. Is there any way to do this? I can't upgrade to CentOS 6.
user avatar
4 votes
2 answers
6k views

how to list files that are NOT open using find command

I want to "list" all the files that are NOT open, within a certain directory using the GNU find command. Now, I am able to list the files that are open, but can't figure out a way to do the inverse of ...
user avatar
  • 143
12 votes
3 answers
14k views

Sending mail from command line if body not empty

I'd like to write a simple script that alerts me if a log changes. For this I'm using grep to find the lines I'm interested in. Right now it works like this: grep line /var/log/file | mail -s Log ...
user avatar
  • 431
5 votes
1 answer
319 views

Who is the "author" of a file (Gnu "ls" manual)

In the manual for Gnu "ls," I see this: --author with -l, print the author of each file Does anybody know what the “author” of a file means in this context? This is (maybe?) not the file'...
user avatar
  • 198
1 vote
5 answers
5k views

How to monitor switch in Nagios3?

I need to monitor the traffic rate in my LAN. I have installed nagios core 3.2 and I can monitor services like CPU load, disk usage, http server, etc. but now, How to monitor traffic? I am using GNU/...
user avatar
  • 111
15 votes
6 answers
16k views

What is the OS X / BSD equivalent of the GNU "ps auxf" command? [closed]

In the GNU utils, ps auxf gives the process list with forest (tree). Is there a equivalent for this command at BSD / OS X systems?
user avatar
  • 3,610
10 votes
1 answer
8k views

Will restarting the system flush BIND (named) cache?

Will restarting the system flush BIND (named) cache? I use GNU/Linux.
user avatar
  • 399
0 votes
1 answer
160 views

How to install GNU build tools from Blastwave

I am trying to install the GNU build tools on Solaris using Blastwave. I have installed CSWgcc4 but when I run gcc or gcc4 I get command not found. There is not any file like gcc gcc4 in /opt/csw/bin. ...
user avatar
  • 735
0 votes
3 answers
3k views

GNU Mailutils attach file

Is it possible to attach a file to an email from the CLi using mail? I am having trouble finding this feature on the manpage.
user avatar
5 votes
1 answer
1k views

send interrupt to window in screen

How can I send a interrupt to a window within screen. I have screen running with several windows. Each of the windows have processes running within them. I wish to be able to send and interrupt to ...
user avatar
1 vote
2 answers
121 views

Has anyone used GNU MyServer as their web server instead of Apache/Lighttpd/etc.?

I just stumbled upon GNU myServer and it says it's a multi-threaded server and it looks like the configuration is a bit better than Apache but I'm hestitant to try it. Has anyone used it? What were ...
user avatar
5 votes
2 answers
3k views

Difference between UnxUtils and GNU CoreUtils

I am a Windows user who wants programs like grep and sed along with other utilities like ls, cut etc in my command prompt. I came across 2 packages which would accomplish this UnxUtils GNU Coreutils ...
user avatar
2 votes
3 answers
544 views

How do I determine the linux server software/version and email server software/version running

I just inherited this a single linux box running pop/smtp for a small office (25 users). I'm new to Linux. I think the box is running Debian GNU/Linux 5.0 as the server (this is bannered accross the ...
user avatar
5 votes
2 answers
3k views

GNU watch - how do I make it read my environment (aliases, functions, etc)

This one has been bugging me for a while: I want to use the marvelous GNU watch command to run a few custom aliases and functions that are defined in my .bashrc, but it is never able to run anything ...
user avatar
3 votes
1 answer
553 views

How to extend a selection in the linux console editors nano and pico?

How do I extend a selection in nano and pico with the keyboard, so I can move and copy blocks? Sorry, this is a question I would normally find out by myself but I have searched a lot in different ...
user avatar
  • 917
1338 votes
39 answers
989k views

How can I sort du -h output by size

I need to get a list of human readable du output. However, du does not have a "sort by size" option, and piping to sort doesn't work with the human readable flag. For example, running: du | sort -...
user avatar
  • 16.7k