The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
57 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 ...
2
votes
1answer
715 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 ...
0
votes
1answer
133 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 ...
0
votes
2answers
76 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 ...
2
votes
1answer
285 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 ...
5
votes
2answers
960 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. ...
3
votes
2answers
642 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 ...
1
vote
2answers
140 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 ...
1
vote
1answer
94 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 ...
-1
votes
3answers
311 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 ...
2
votes
1answer
224 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 ...
0
votes
1answer
188 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 ...
3
votes
2answers
167 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 ...
-2
votes
1answer
4k 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 ...
1
vote
2answers
471 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?
3
votes
2answers
7k 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.
3
votes
1answer
770 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 ...
5
votes
1answer
108 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 ...
1
vote
5answers
2k 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 ...
3
votes
4answers
2k views

What is the OS X / BSD equivalent of the GNU “ps auxf” command?

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?
2
votes
1answer
1k views

Will restarting the system flush BIND (named) cache?

Will restarting the system flush BIND (named) cache? I use GNU/Linux.
0
votes
1answer
120 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. ...
0
votes
3answers
1k 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.
3
votes
1answer
165 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 ...
1
vote
2answers
83 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 ...
3
votes
2answers
1k 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 ...
2
votes
3answers
417 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 ...
1
vote
2answers
842 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 ...
2
votes
1answer
345 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 ...
257
votes
33answers
93k 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 ...