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
1answer
42 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
54 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
33 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
182 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 ...
1
vote
1answer
91 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 ...
0
votes
1answer
85 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
310 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
40 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
84 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
50 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
77 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
26 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
1answer
102 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
39 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
128 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
34 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
150 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
54 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 ...
0
votes
0answers
68 views

OpenBSD Change tty background color

Is it possible to change the background color of one or all ttys without installing any additional packages? Using a config file, or environment variable? I tried changing the text mode resolution, ...
0
votes
1answer
51 views

What variables I can place in a Putty Link?

I create a new link in Windows with the following target: "C:\Program Files (x86)\PuTTY\putty.exe" -ssh username -pw password Are there any other options I can add in that one link target? I am ...
0
votes
0answers
15 views

Default location for public keys of remote machines on windows?

I want to move the files between a windows and Linux machine. Because I want to transfer without prompting for credentials I need to distribute the Linux's public key to the Windows machine. I am ...
0
votes
2answers
98 views

Is VIM adding the Windows newlines?

Notice the line endings from git diff: - IP_ADDR: 'http://1.2.3.4:143' + IP_ADDR: 'http://2.4.6.8:143'^M I edited this file by putting the cursor on 1 then pressing ct: and then entering the ...
6
votes
1answer
94 views

Merging different windows in tmux

my question is simple. I have two windows in tmux session, 1 and 2. How can I merge these two windows into one window split horizontally/vertically? I couldn't find an answer in manpage, so I'm asking ...
0
votes
2answers
72 views

cat wc -l count lines line with defined line endings (e.g Mac OS X specific)

As any command-line user I sometimes want to count lines in text file with well known command: cat some_text_file | wc -l I face the problem on Mac OS X, which as far I have it studied is connected ...
0
votes
0answers
44 views

What is the meaning of double hyphen in reboot command

What is the meaning of the double hyphen in the following command: reboot -- -rx
0
votes
2answers
160 views

Linux move files from specific directory one directory up and delete empty folder

I need to move files out from a directory inside a directory inside a directory and remove folder that I move them from. I would need a recursive script. The directory structure: ...
3
votes
1answer
1k views

Unix command to get number of lines in a CSV file

I have to get the count of lines from incoming CSV files. I have used the following command to get the count. wc -l filename.csv Consider files coming with 1 record I am getting some files with * ...
1
vote
1answer
354 views

Does rsync delete files, folders at destination by default?

Files Suppose that /foo/src contains only A.c and that /foo/dest contains both A.c and B.c. And suppose I run the following command: rsync /foo/src/ /foo/dest Will rsync erase B.c? Folders Now ...
0
votes
1answer
23 views

Not able to reference softlinks in a script

we have couple of softlinks to scripts a directory in our current directory. Let's take we have two softlinks , script1 and script2. We are referencing script2 from within a script1 like below. . ...
0
votes
1answer
41 views

Concatenate header of one file with tail of another

I have a large gzipped mysqldump file which contains some table definitions and then many insert statements. I'd like to edit the table definitions but leave the insert statements alone. The file is ...
0
votes
0answers
36 views

Windows client that can SSH into a tablet running Unix via the USB cable?

Seems like there should be a solution to this : I run a Unix on my Android tablet. I take tablet to any old PC, and connect via USB. I open some kind of terminal program on the PC (eg. PuTTY, ...
-2
votes
1answer
37 views

Double directory separators

I wanted to ask about double directory separators, I'm using windows 7 and as i checked there is not problem for example with this string ////\\\//\\\/\ to be used as a directory separator, The ...
0
votes
1answer
31 views

The ed text editor and line feed

With ed can I add line feeds (\n)? I've tried: s/word/word\n/ But it it just gave me a plain "n" after word. With double backslash appeared "\n". With sed this works as expected, but with ed not. ...
1
vote
1answer
35 views

Show one folder's content in other folder

My question is about Linux. I have 2 folders - /home/user/first and /home/user/second. In the /home/user/first there are some files. The second folder is empty. What I want to do is to have ...
-4
votes
1answer
34 views

UNIX Scripting language -need a script [closed]

I have 4 files let us suppose a,b,c,d in that one is zero byte file.I want a script which will identify which is zero byte file and a script which will transfer this file into "archive" . Thank You.
0
votes
1answer
68 views

How to find the matching records from 2 files in unix

I have two files which contains email_ids. 1. Test1.txt 2. Test2.txt Test1.txt contents are: abc@gmail.com xyz@gmail.com mns@gmail.com Test2.txt Contents are: jpg@gmail.com joy@yahoo.com ...
0
votes
2answers
75 views

Different /bin/sh for a specific user

I am running an Ubuntu distro where /bin/sh is a symlink to /bin/dash. While this is OK for most of my users, one of them must have bin/sh "symlinked" to /bin/bash. Is that possible? I am not sure ...
0
votes
1answer
82 views

What is the maximum memory (RAM) limit for Solaris 11?

I have been trying to find out the maximum memory limit for Solaris 11 for a report that I am doing but with no luck. Can anyone please help?
0
votes
0answers
33 views

SIGCONT definition, continue or restart?

According to the definition from wikipedia SIGCONT The SIGCONT signal instructs the operating system to **continue** (**restart**) a process previously paused by the SIGSTOP or SIGTSTP signal. One ...
0
votes
2answers
85 views

how to use grep and mv together in a directory in shell?

how do you grep the contents of all files in a directory for "TEST" then move those files to a different directory(like the home dir.)?
1
vote
1answer
335 views

Creating a zip file with a timestamp

I have been trying to create a script which compresses a directory with a timestamp and move it to another location on the same server, but I cant seem to get TESTDATE to display on the zip file, ...
0
votes
1answer
53 views

adding a static route to a unix system

I am using a UNIX compatible distribution (unfortunately I can't disclose the OS) as a router for a shared internet connection I need to add a static route such that any HTTP request to my.router.com ...
0
votes
0answers
204 views

nginx, node.js unix socket access denied

I don't understand why it refuses to connect. ls -l to /tmp srw-rw-rw- 1 root root 0 mars 4 06:26 php5-fpm.sock= srw-rw-rw- 1 root root 0 mars 4 13:30 sgtu3.kernel.sock= ...
0
votes
1answer
20 views

implementation of mandatory access control in mysql

HOw to implement mandatory access control in mysql. How to set the classifications (i.e top secret, secret, confidential and unclassified) and clearances in mysql. and how to compare them.
0
votes
0answers
67 views

Motion - How to create a timelapse of motion detected images only

I'm using motion software on debian and it's creating regular snapshots and updating the timelapse video as it goes along. Is there anyway to just have a timelapse video which contains the images ...
1
vote
1answer
39 views

apt-get install re-attempts failed installs

I've used apt-get to download some application some of which failed. When I run apt-get now it looks like it keeps trying to download these previously failed installs. Is there anyway to get rid of ...
0
votes
0answers
29 views

Why am I not receiving any system e-mails?

In my crontab, I have the following: * * * * * sh /home/rimmer/test.sh In /home/rimmer/test.sh I have the following: #!/bin/bash echo 'test'; I have also set chmod +x /home/rimmer/test.sh, of ...
1
vote
1answer
131 views

Unix to Windows equivalent

I am working on project which is currently on unix platform and we are going to port that project on windows. I want to know if there is any windows equivalent to following /proc/cpuinfo ...
0
votes
0answers
30 views

stop user from being runing any commands, should able to run only granted with sudo

Is there any single command or script which gives result, the list of how many commands a linux user is able to execute? And how to stop user from executing even a linux basic commands and should not ...
0
votes
1answer
48 views

How to stop and continue the process

I used ps -fT pid to manage a bunch of process forked from the specified pid. Now I want to modify some settings so I want to stop the processes whose pid is in ps -fT pid. After the modification ...