Questions tagged [unix]

Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.

Excerpt from the Wikipedia page

Unix was originally written in assembly but has since been rewritten in C. It has been branched many times both commercially and open source. One popular variant is the BSD variant which originated from the University of California, Berkeley. It also gave rise to Linux.

Notable variants

  • Silicon Graphics - Irix
  • IBM - AIX
  • Sun Microsystems - Solaris
  • Hewlett Packard - HP-UX

Unix is officially trademarked as UNIX.

Unix on Wikipedia

1949 questions
1
vote
4 answers

Unable to mount XP share using fs-cifs from Linux

I have a head unit that runs Linux that is connected to my PC via an Ethernet cable. I have a Windows XP share on this PC that the head unit needs to be able to mount, however, when mounting using the following command, it fails. Here is the command…
codewario
  • 548
  • 3
  • 16
  • 36
1
vote
1 answer

Check if drive has enough space before writing

I am looking to make a backup to a remote drive, but I want to do a check prior to doing so. Is it possible to snatch only the "Available" space from the df output, rather than all of the details, to compare to the size of the dump?
koo
  • 23
  • 3
1
vote
6 answers

How can I install OpenBSD to a SSD without a Optical Drive?

I'm searching for an OpenBSD bootable image that I can install on SSD to run pf on. I've found these images for m0n0wall and pfSense but not for OpenBSD alone. Can somebody link me to an image with instructions on how to install it directly to a…
Zen Master
  • 131
  • 2
  • 6
1
vote
6 answers

Is a Unix flavour (i.e. Solaris) any good for a VPS web server?

Lets just say I am a fanatic to using something such as this, and would be willing to purchase the appropriate licenses (or open version of Solaris maybe) and install it. My questions are, do software packages such as (an) sshd and recent Apache…
Alexander
  • 207
  • 1
  • 3
  • 11
1
vote
1 answer

Port forwarding / SSH tunneling - explain this to a beginner

I am attempting to forward traffic from port RP on remote host RH to port LP on my local box LH. I have tried running ssh -R (RP):localhost:(LP) -N user@(LH) from the remote server. This creates an SSH tunnel, but it does not seem to do what I…
john stone
  • 13
  • 2
1
vote
3 answers

How to connect with MySQL server if it won't connect via the socket?

I have an account on a shared server. I have jailshell access and also PhpMyAdmin. I want to run mysql commands via SSH but I'm getting an error: $ mysql -u mySqlUser -p mySqlPw Can't connect to local MySQL server through socket…
cwd
  • 2,763
  • 9
  • 33
  • 48
1
vote
1 answer

How do I install Rake (Ruby on Rails)?

I want to install Ruby on Rails (I'm running a FreeBSD but don't want to use Ports for RoR) so this is a more generic unix/RoR question. Simply what is the best way to install Rake. http://rake.rubyforge.org/ suggests: % ruby install.rb or gem…
Gazzer
  • 185
  • 1
  • 2
  • 9
1
vote
2 answers

Days since a specific date

How to print in linux/unix bash the number of days since a specific date till now? (for example days since 23rd of June 2009 till today)!
Osama Gamal
  • 111
  • 3
1
vote
4 answers

Nmap: what is the difference between "nmap " and "nmap -sS "?

This is an extremely basic question but also one I can't really seem to find an answer for, despite looking through the nmap documentation (man, online, and google). My question is, what is the difference between doing nmap and nmap -sS…
shadow
  • 11
  • 2
1
vote
2 answers

Unix quota per user script

Is there any way to automate user's home folder qouta by script. I have auto useradd script, and I want to add code in script about quota for home folder of size 2 GB. For example: edquota sally Disk quotas for user sally (uid 1045): …
user77473
  • 41
  • 1
  • 3
1
vote
2 answers

Logwatch: Ignore certain IPs for SSH & PAM checks?

I have a CentOS 5.6 system, which runs Logwatch. If I perform a security scan (Nessus) against this host, it produces unnecessary noise in the Logwatch output. I'd like to run these security scans regularly, from an internal IP and an external IP,…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
1
vote
1 answer

Dell R210 & FreeBSD

I'm trying to get FreeBSD installed on a Dell R210 server with the H200 hard drive controller. I can boot with the 8.2-RELEASE ISO and the 8-STABLE-20110522 ISO. My problem is getting it to boot from the internal HDs. It seems that I need a driver…
Data Scavenger
  • 477
  • 3
  • 9
1
vote
1 answer

What is a "virtual context switch"

IBM's AIX has a "virtual context switch" column in lparstat but neither IBM's redbooks nor google searches will tell me what exactly a virtual context switch is and how its different from a regular context switch. All my searches yield what a…
bot403
  • 412
  • 2
  • 8
1
vote
1 answer

Solaris : No ping to logical Zone interface

I have the following issue on Solaris 11 Express. I have a 1 running zone named Zone1, that I want to add a new interface to. I bring up the interface bnx1: ifconfig bnx1 plumb Assign the address to the interface and bind it to the zone: ifconfig…
Bigmyx
  • 97
  • 1
  • 1
  • 9
1
vote
1 answer

Why no one seems to use FreeBSD to host Rails app?

I'm moving this thread previous adressed to stackoverflow. (Original Thread) We use FreeBSD 8.2, Rails 3.0.7, postgresql 8.3, passenger and nginx for our production servers. (More Infos) We seems to have a odd configuration because no one seems to…
Hartator
  • 135
  • 5