I'm working on testing a modification to a bash script for work. I'm trying to scp a file to the same source directory. For testing purposes, I've altered the permissions on the target directory so that the scp'ing user doesn't have permissions to write to it. The first try I get a return code of 1. The second try I get a return code of 0, even though the permissions haven't changed and the file actually fails to transfer. [more inside]
So I found this wonderful program unix program, that needs to be installed and used on my macbook (yosemite). OMG. How do you install stuff like this?!? [more inside]
At my Pretty Big company, I run a large Unix-based system that does Something Important, and we need to find someone to help me, and ultimately to take over running of the system. My two challenges right now are A) how to describe what I need to the HR folks, and B) how to evaluate the candidates that they come up with. Can you help me describe what I need, and come up with a way to test the people that show up? [more inside]
How to recursively copy a directory and keeping its tree structure but with the files in the new dir being not copies of but hardlinks to the originals? [more inside]
Anyone have a recommendation for an online linux administration course ? [more inside]
I accidentally added a line of source for Utopic to sources.list. And later my system can't get into GUI. While trying to fix the problem I accidentally typed in command sudo apt-get update and sudo apt-get upgrade. So tragedy happened: my system was upgraded to 14.10 utopic daily built! which I don't want! what's worse, becuase it was upgrading from 12.10 to 14.10, a lot of dependency can't resolve, and many services stopped working. The worst thing is, I still can't get into GUI. What should I do for this circurmstance? I'm a newbie in Linux/Unix. Thank you very much!!!
I think my son, who is on an AP math trajectory in high school, would benefit from getting some familiarity and basic programming skills in the Unix world. I've noticed math depts in some universities include study of these skills in early years. Are there some tutorials we could use in the OS X environment to get a leg up? [more inside]
I am looking for a command line tool that will let me edit data in a shell pipeline by hand before sending it out again on STDOUT. [more inside]
ISP: Web Hosting Control Panel, cPanel, Plesk and OSS solutions. Are they generally complete systems, front-end AND back-end? How are they designed technically, and is it worth using as an ISP. More inside! [more inside]
I want to track a variety of topics passively using services on the interwebs. Google Alerts, RSS Feeds, and IFTTT are not solving the problem (or rather, I am not sufficiently solving the problem with them). Help me use available services to get to this promised land. [more inside]
I have a few hundred text files, all in the same directory , each of which contain a single line of text that looks like so: string OR string OR string ... OR string OR I need to add "EID(" to the beginning of each file, and replace the last "OR " with a ")" I am on a Mac and am fine with Terminal- it is how I got this far. At this point though, I am totally failing at getting the right awk or sed to make this happen. Hope me? [more inside]
How can you kill a RHEL process that does not show up in either top or ps -ef? [more inside]
Some of my data is having some extra carriage returns that is seriously harping my style, I'd like to use UNIX commands to fix the data so it can be loaded into tables. Have used sed, not working. Details inside: [more inside]
Could anybody suggest some name ideas for a program (UNIX command-line/cron job, not GUI) for progressively backing up/archiving files in a directory tree to archive volumes and sending them to some remote location (i.e., Amazon Glacier, or else a server reachable by ssh)? [more inside]
In this game, you roll a number of six-sided dice to get a total. The total is either the highest single die result, or the sum of any multiples rolled, whichever is higher. For example: If I roll three dice and get a 3, 4, and 6, my total is 6. But if I roll a 4, 4, and 6, my total is 8, the sum of the two 4s. What I want to find out is the mean, median, mode, and standard deviation of the possible totals given N dice. How might I create a simple script to compute this? [more inside]
I've been learning a (very) little bit about Unix and AIX while doing some maintenance on our company's ERP server. I've been finding a lot of defunct processes. I have a few very n00b questions. [more inside]
OSX: script to find all files matching a list of filenames and report their location? [more inside]
Trying to find-and-replace text within a file, using the Terminal on Mac OS X 10.7.4. Can't for the life of me get it to work. Please help. [more inside]
Looking for elite e-mail blacklist tricks to block a stalker. [more inside]
Unix cURL syntax: multiple URLs to multiple files (download) [more inside]
Looking for a community/forum where I can learn more about networking, code, security, and OS-independent CS topics
I'm looking for a forum where I can ask questions about networking, security, coding, operating systems, web design, etc. There are many of these out there, but I'd like to find a single community which covers all these topics more or less equally (so it isn't a Linux forum with a small section on BSD, or a coding forum with a small section on networking). I'd like it to be the sort of forum where users stay around for several years as they learn and contribute at different levels, with high literacy and education-to-spam levels. Could I have your recommendations please?
Is it possible to centrally control permissions on a FreeNAS or other UNIX-like filesystem? [more inside]
I am at work, at a college, and there seem to be wifi hiccups throughout the day, moments where the connectivity is briefly lost. How can I log these interruptions so I can convince our technicians that there is a problem? [more inside]
Unix shell ls command: the output scrolls off the screen a lot of the time, so I find myself doing ls | less. There's probably an easier way to get ls to pause and wait at the end of every screenful of output. Could you tell me what it is? Sorry if this is a dumb question.
Unix wizards: How the heck can I sequentially rename a bunch of files to 001, 002, etc., without using a shell script? [more inside]
Weird Unix terminal issue where yer trying to up arrow through bash history and it looks messed up, right? [more inside]
I'd like to perform an SQL query with outer joins, from text files on my PC, using only a unix emulator. Is this possible on my PC? How would I write and execute it? [more inside]
CompSciFilter: Someone kindly explain to me what differentiates Unix and Apple OS. [more inside]
I'm a Windows systems administrator and power user and an enthusiastic user of Unix/Linux-based operating systems. I have hand edited make files and recompiled linux kernels manually. I know how to do administrative scripting and am a Microsoft products (SharePoint, if it matters) support professional/systems engineer in my job. I am certainly not the geekiest person I know but I'm in the top 5 percent. I am switching to a Mac Mini (Lion Server, specs maxed toward storage) after decades of using Windows laptops/desktops and some Linux machines. I'm prepared for the lack of physical mobility, but I don't feel prepared for not being a power user. What methods/resources would you suggest I could use to get up to speed with being a Mac Mini and OSX Lion power user? [more inside]
Tell me why I should use Ubuntu. [more inside]
Need help scheduling a unix task under Mac OS. Probably an easy question for those who understand such things. [more inside]
The case of the missing Mac HD space, and symlink shenanigans. [more inside]
How do I enable people on a Mailman list to send common (MS Office, PDF, etc) attachments in their email to others on the list? [more inside]
What hourly rate for a 10+ year UNIX (Linux) admin in Bay Area? This is for maybe 2-3 visits a month, each 3-4 hours in duration. [more inside]
Temporarily leaving the elegance and convenience of emacs for the awkward mess that is Visual Studio
Non-beginner programmer with a unix background looking to pick up C# - What do I read? [more inside]
I am trying to clone a Sun V440 server that is using the built-in raid (not disksuite). When I move the seed drive from the original server to the new server, the raidctl program complains that the drive is already part of another raid set (which it is), but I'd like to use it anyways as a seed for the new server. Any tips?
How do you go about when you look for a part-time entry-level software developer job? [more inside]
Using Finder is murdering my mind. What's the most efficient way to move/delete/rename files, view sort by metadata? On a Mac. Getting good with unix commands? Some sort of Vim file management system cobbled together with plugins?
Where can my colleague go in the U.S. for up to a week of sysadmin training and mingling? [more inside]
I'm seeking to write a shell script (probably using sed) that will be given some text and will abbreviate it for me. I've no need to reinvent the wheel, if such a shell script already exists. More inside. [more inside]
Recommendations for a tiny Unix distro for serving servlets and nothing else. [more inside]
UNIX. There's /usr/bin/time to measure how much time a unix command needs to finish. What's the equivalent for spitting out how much memory a unix command needed to allocate to finish it's work? [more inside]
The /usr/bin/ssh program on my work Mac got deleted. Without the install disc, how do I download and install a replacement so I can do shell stuff again?
My MacBook's keyboard mysteriously changed to Dvorak! How can I tell if someone messed with my computer? [more inside]
GUIDPartitionTableFilter: How can I non-destructively change a partition's filesystem type ID in OS X? [more inside]
OS X Unix filter: Please help me find and delete an obsolete cron job on an iMac running Leopard. [more inside]
A two parter: 1. I remember reading a quote by someone along the lines of 'every new 'killer web app' is a unix app. google=grep; facebook=wall; etc. Can you help me find this please? 2. Now that you grok the idea, can you tell me more analogs of unix vs web apps? Which unix apps are yet to be made webby? Which have been, but badly implemented? Which are your favorite unix apps? Etc.
Open source, command line, low "impact", png-producing, full-featured, good-looking graphing on Linux and other Unices? [more inside]
I'm curious as to what are the current "best practices" when it comes to centralized administration of a network of Unix (primarily Linux, but not necessarily so) machines? Essentially, what is the equivalent of Active Directory for a network with one or more Unix hosts? The immediate answer I come up with would be something like OpenLDAP plus PAM but what I'm looking for is the suite of tools (GUI and CLI apps) for managing the directory, deploying software, centralizing sign-on and security, managing printers, etc. In a perfect world, I would like to centralize administration of Windows, Unix, and OS X machines via a single directory service, though I imagine such a solution would be expensive and/or cumbersome if it even existed. Or is this something Samba 4 will do?
Could anyone recommend a color laser printer for ca. 500 GBP for a small office? Compatibility with Linux and Solaris---essential. BONUS question: should I also buy a monochrome laser for B&W printouts or is an unnecessary overkill when one has a color laser?