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

learn more… | top users | synonyms

0
votes
0answers
7 views

unix process showing unusual cpu usage and timing in ps aux

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 684 186912060 0.0 17140 988 ? Ss Feb24 54195432:44 root 7319 288895842 0.0 4096 668 ? S 04:30 ...
0
votes
2answers
24 views

Inserting a linebreak in lines starting with a pattern

I have a huge file that has the following format: #pair: 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 ...
-1
votes
1answer
28 views

Is GDDR5 compatible with DDR3?

I want to buy a MSI GeForce GTX 760 that is GDDR5 and I have a motherboard that is only DDR3. The thing is, I don't know if there is a newer type of motherboard that can support GDDR5 or my ...
0
votes
1answer
30 views

Interpretation of the unix command: ip address

I have to interprete the result of the unix command: ip address I'm getting something like this: 2: eth-man: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen ...
-2
votes
1answer
24 views

Algorithm to find the color of a shirt [on hold]

My requirement is to prepare a 3-4 page of document explaining the different approaches or algorithms (currently existing) to find the color of a shirt. Can anybody point me to the link where i can ...
1
vote
1answer
21 views

sFTP process ids explained?

Could someone explain to me the process that sftp makes when creating a connection and transferring data, on a control/data level? I know the basics about the ssh authentication and such, but for ...
0
votes
1answer
12 views

what is the difference between /var/lib and /var/run

I am studying unix-like filesystem structure especially FHS. Anyways i know in the recent FHS /var/run is moved to /run I can't understand the difference between lib and run. Can someone elaborate ...
1
vote
3answers
40 views

The system cannot find the path specified

Here is my situation. I have a Windows server box and a Linux box. On my Windows server I have Sharepoint installed and was able to access the shared directory through the Windows command line by ...
1
vote
1answer
19 views

single click or command setup for webserver on unix system

One of the product has requirement of on premise webserver. We are using LAMP stack. We have selected website for on premise use due to business constrains. We are to install this on multiple servers ...
0
votes
1answer
14 views

Awk - Syntax error

I am writing a bash script. setenv lineNUM `grep -n ms-listviewtable wget_list.log | awk '{print $1}' | cut -d ':' -f 1` setenv next `expr $lineNUM + 2` echo `awk '{FNR>=$lineNUM && ...
0
votes
1answer
22 views

Create a new process and make it use more than 10% CPU?

Really odd question I know. It's to help demonstrate my university coursework. I'm going to be killing processes that are using more than 10% of the CPU.
2
votes
2answers
35 views

How to list only ordinary files on UNIX

I'd like to list only ordinary files (not directories or symlinks) using ls from GNU tools. So far I have only some hackish greps. Is there an option or better way of doing that? Edit: I need more ...
-2
votes
1answer
22 views

Trying to count and print song file names using awk

RANK NAME BAND YEAR GENERE DOMESTIC/INTERNATIONAL 206:Reach Out, I'll Be There:The Four Tops:1978:Pop:3/2 207:Bye Bye Love:The Everly Brothers:1950:Classic:3/2 ...
0
votes
1answer
27 views

I have file called songs and i'm trying to find the longest and shortest song name using AWK

RANK NAME BAND YEAR GENERE DOMESTIC/INTERNATIONAL 206:Reach Out, I'll Be There:The Four Tops:1978:Pop:3/2 207:Bye Bye Love:The Everly Brothers:1950:Classic:3/2 ...
1
vote
2answers
44 views

Monitoring Excessive User Home Directory Growth

I am trying to write a script for a school assignment that will check and see if any of the non-administrative user home directories have increased in size by more than 100 MB in a single 20 minute ...
-1
votes
1answer
21 views

Domain [ Understanding ] issue when creating a Linux email server

Ok, here goes my paradoxical question. For about 1 year into my hobby-ish career, I used to buy my domains and a hosting package from Reseller Club. I purchased their " shared hosting " plan and ...
0
votes
1answer
25 views

Unix Scipt Shell: alert on change of specific files

Could any one Help me with the script Im trying to make a script shell that will alerts/email the root if any of those files has been modified and the script has to auto routine , so the script have ...
0
votes
2answers
17 views

Head of ssh file resource

Sort of an odd question, but is there some way that I can operate on remote resources as UNIX files? E.g. I'm looking for some way to do tasks like the following: head ...
0
votes
1answer
20 views

vi Error | Out of memory saving lines for undo - try using ed

While executing the following command on a large file: vi largeFile.log I get the following error: Out of memory saving lines for undo - try using ed My environment is: AIX6 I cannot add any ...
3
votes
1answer
41 views

Is there a scenario where rm -rf -no-preserve-root is needed?

I've seen some questions on here where people accidentally do rm -rf --no-preserve-root or rm -rf *, wiping out most or all of their file system before they can react. Is there ever a reason to use ...
0
votes
1answer
37 views

Piping tail -f into awk

Greeting, I am trying to pipe tail -f into awk to monitor a logfile in realtime, but according to examples, there should be not problem but I can't get it to work. here is the command I'm running ...
1
vote
1answer
30 views

From where comes the inode number of a file mounted through NFS?

I asked a question on codereview to know if I could safely replace the following code: :inode => [stat.ino, stat.dev_major, stat.dev_minor], which threw NotImplementedError because of jruby not ...
0
votes
1answer
14 views

Unix (process) creates a core file

I have a bit of a tricky situation. First of all I am a noob with no-to-little UNIX knowledge and experience. I work for a huge company with lots of security protocols and I can't debug or look into ...
0
votes
2answers
21 views

File sorting confusion

Q1. I have a command and I'm confused why it's sorting the filesizes by Kilobytes then Megabytes? $ find ~ -maxdepth 1 -size +1024c -type f -exec du -h {} \; | sort -nr 80K /home/sl6/S3401636/Lab 4- ...
2
votes
0answers
15 views

find using regexp and echo matches

I have about 50 users in /home/ directory and I have cloned a git repository to everyone: Executed at /home/ as root user: find . -maxdepth 1 -type d ! -name . -prune -exec git clone ...
0
votes
1answer
21 views

7z commandline: test archive and only show failures?

What is the easiest way to get only the failures from 7z when testing an archive for integrity? Looking at the command-line options, there seems to be no verbose or non-verbose option (i.e. there ...
0
votes
0answers
24 views

Getopts - command with multiple options

I have a command script i'm making and wondering how do i go about combining multiple options the general usage of the command is as follows: Usage: myCommand [-fpr] [-n count] [-s size] [-u user] ...
0
votes
0answers
6 views

Homebrew and RVM bickering

Homebrew requires /usr/local/bin to appear before other binary directories in PATH RVM wants to be sourced last The bottom part of my .zshrc: Alternative 1: export PATH=/usr/local/bin:$PATH [[ -s ...
0
votes
1answer
15 views

Merging two directory trees with same structure, but different contents in Unix

I have two directories with the following structure: A |_0 |_1 |_2 B |_0 |_1 |_2 each 0,1,2 directory contains unique contents. I want all of the contents to simply exist as: A |_0 |_1 |_2 Is ...
0
votes
0answers
19 views

Kali Linux: Renaming files in bin

I'm just curious. I want to rename files in /bin such as - ls --> als //after I change it, the ls command no longer works and I have to use als instead - adduser --> aadduser - chmod --> achmod so I ...
0
votes
0answers
11 views

How to retrieve all messages from someone using lync

How can I get all messages from a person I have lync-ed, please?
0
votes
0answers
15 views

How does one install this mcrypt package?

I'm using MAC os x Mavericks, so after dlownload mcrypt-2.6.8, I decided to to configure ( per the recommendation of a dozen blogs ) like so : MACOSX_DEPLOYMENT_TARGET=10.9 CFLAGS='-O3 -fno-common ...
0
votes
1answer
30 views

scp file with spaces in it

I have a file called test file.txt on machine 1(windows). I am trying to get this file over scp to machine 2(Linux). setenv fileName "test file.txt" scp user1@machine1:C:\Folder\$fileName ...
0
votes
1answer
61 views

Setting up a working internet connection in solaris 11

the title of this post states most of my problem. I am trying to connect to the internet for like 3-4 hours. But for being a total newbie at unix environment I failed pretty badly. How can I configure ...
0
votes
0answers
20 views

How to find the currently running app from terminal on OS X?

I'm writing a shell script runs in the background and monitors user activity. I'd like to be able to capture current application/document if possible. How can I do that?
1
vote
1answer
59 views

Unable to open Windows Disk partitions in solaris 11

The NTFS Windows HD partitions are not appearing in solaris file system, which was not the case when I used Ubuntu. Every single file on my HD was exposed to me when I was in Ubuntu. I have already ...
-1
votes
0answers
15 views

Trace routing a network printer path?

Is it possible to trace the network path of a printer connected accross servers.how can i find If a print command is given for document through which server the document(or print queue) went accross.
0
votes
1answer
54 views

How can I organize my Windows directories more efficiently? [closed]

I've been using Windows (7 now) for years now, but I can never figure out how to efficiently organize my directories and programs. I'm finding it difficult to locate and run programs that are spread ...
2
votes
2answers
38 views

UNIX command for deleting / removing files on today's date

I want to remove all the files in the directory I am in currently in that were created today. So if today is April 3rd then the UNIX commond I am asking for would remove someFile2, someFile3, ...
0
votes
1answer
20 views

find files older than create its parent folder in a directory and move them there

I've been trying to create a bash script that does the following. Use the find command to search for files older than 7 days (find . -type f -mtime +7 ! -iname '.*', take the parent directory(of the ...
4
votes
3answers
47 views

Using Unix's find command to find directories matching name but not subdirectories with same name

Edited: I mistakenly misrepresented my problem. A more accurate example now appears below. I'd like to recursively walk all directories inside a target directory, and stop each recursive call after ...
0
votes
1answer
22 views

Why my freebsd has several sendmail processes?

While using freebsd 8.2, I noticed, by top, that several sendmail processes are always running. I never explicitly start any of them. Is it safe if I just kill them? And how can I detect which ...
0
votes
2answers
33 views

ifconfig command on mac does not show IP address

When I run ifconfig, eth0 is not shown, and only en0 is displayed: >> ifconfig en0 | grep inet inet 192.168.0.102 netmask 0xffffff00 broadcast 192.168.0.255 When I type My IP in Google, my IP ...
0
votes
1answer
14 views

What is the keyword in .ssh/config for tunneling in the background?

In command line option, we can specify -N -f to let it run in the background. How about the identical keywords in .ssh/config? Instead of doing ssh dest -N -f -L 1337:localhost:1337 I would like to ...
0
votes
0answers
35 views

Why do python's os.stat and du and ls not agree on block size?

While writing a simple function that computes the quantity of blocks consumed in a directory, I checked with du to see that I was getting the same answers. Why do ls and du say this file occupies ...
0
votes
2answers
34 views

Error - fi:command not found

if 0 -eq 0 then echo uploaded fi fi: command not found why?, can some one oint out the misake?. I am very new to unix scripting. I amusing 'csh'
0
votes
2answers
56 views

which unix or linux command is used to change root password of remote machine(Just an IP address) without using SSH Login

which unix or linux command is used to change root password of remote machine(Just an IP address)? Suppose I just have an IP address of the target machine which is on my network, But I do not know ...
0
votes
1answer
16 views

Cut - the delimiter must be a single character

I am trying to cut the information from a variable of a variable. I am using csh. Ex: setenv time \`date | cut -d ' ' -f 4\` echo $time setenv hour \`$time | cut -d \':\' -f 1\` echo $hour Output: ...
0
votes
5answers
92 views

Little clarity needed about: PC and Mac and Unix

I've always thought that a PC and A Mac were two different computing platforms, not just with in their operating systems (Windows & Mac OS) but different from hardware to thier respective internal ...
-2
votes
1answer
48 views

Should I switch over to UNIX? [closed]

I used Windows 98 second edition. I loved it. Then I started on Windows XP Pro 32 bits. I found it reliable and easy to work with. Now I get a message that Ms will not support Windows XP Pro, from ...