Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.
0
votes
0answers
41 views
Diff-Tool meld can only be started as root
it's confusing. I installed meld as root. I check the permissions:
$ ls -l /usr/local/bin | grep meld
$ -rwxr-xr-x. 1 root root 4142 22. Feb 14:03 meld
But when I change my user and try to ...
0
votes
0answers
37 views
Elementary Shell Script For Unix
I need help with writing this shell script. Could someone please help me. Thanks.
Write a shell script my_echo that accepts an arbitrary number of arguments and prints them, one per line, adding text ...
0
votes
0answers
33 views
Recovering a striped volume
Is it possible to recover a striped volume (6 TB from two 3 TB disks) that has had all it's data removed with sudo rm -rf? Assuming no overwrites. As a last resort (I'm a student with very few ...
0
votes
0answers
39 views
How to drag a window in DWM?
Using dwm (dynamic window manager), I can't drag a window or move it. I can resize windows with Meta + right click drag, but Meta + click drag doesn't move the window.
0
votes
0answers
23 views
Different behavior from ubuntu server and ubuntu client on windows
#!/bin/bash
# Reading
cat /home/radiare/Desktop/first.txt | while read LINE
do
echo $LINE
if [ "$LINE" == "false" ]; then
echo "Inside first loop"
break
fi
done
echo "second file read started"
cat ...
0
votes
0answers
48 views
Adding multiple users to FreeNAS
I need to add a couple dozen user accounts for ftp access to our FreeNAS box.
Is there any way to accomplish this without manually entering each one via the GUI?
0
votes
0answers
13 views
Temporarily Halt Packet TX in OSX/Unix
Odd use case, but I think it might be illustrative. I'm trying to write some code to handle timeouts during file transfers. The actual file transfer API is outside of my control so I can't inject ...
0
votes
0answers
57 views
how to start vnc session through putty
Generally if I want to start VNC, I used to go to putty at first, then type something like vncserver &, and then it gives some session number. Then I open VNC and type the IP and :session number ...
0
votes
0answers
10 views
pkgsrc with a different installation structure
I am trying to use pkgsrc to build tools in my homedir which i need and arent provided by my system admin.
pkgsrc default directory structure mimics the usual *nix way. i.e.
/bin for binaries
/etc ...
0
votes
0answers
35 views
Merge command history between the Python shell and the Unix terminal
A convenient feature of most Unix terminals is the fact that you can hit the up and down arrow keys to scroll through your command history to repeat old commands.
This feature also exists in the ...
0
votes
0answers
88 views
Strange permission changes when saving file on a Samba partition from a Windows editor
I'm trying to figure out why a specific behavior is exibited when perms change on a file being saved from a Windows editor on a SAMBA-mounted Unix partition.
Situation:
We have a file on Unix, with ...
0
votes
0answers
41 views
Unix Mail error: Cannot read mailbox … Conflict with previous locker
I ssh into a UNIX server and wanted to check my mail, so I typed the command "mail". In the middle of reading the mail, I wanted to exit, so I quit the entire terminal application.
Turns out that ...
0
votes
0answers
40 views
LZMA Based Archiving on Linux
I am trying to build an archiving system. I have tested out LZMA compression algorithm, and it provides very good results. However, I need the ability to add and retrieve(will remain in the archive) ...
0
votes
0answers
26 views
Is it possible to run a server on a mounted file system?
I have two machines testserver and dev. I have the /opt directry on testserver mounted on my dev machine. Both machines are unix.
I need to create and run an OpenDJ ldap server in the mounted ...
0
votes
0answers
112 views
New to SAS-UNIX… NPPExec & Console
Thanks in advance:
Here is what I'm trying to do. I am using Notepad++ to log-in to a UNIX system. I am using the NPPExec console to do this, and the login process works... kind of. I use NPPExec to ...
0
votes
0answers
124 views
ssh key permission denied failure
I have done so much of googling on this but just couldn't find the exact answer,there are many threads on this, all of them point to check for file permissions or $HOME directory which are right in my ...
0
votes
0answers
22 views
Installing the AnsiEsc.vba for vim
When I attempt to source AnsiEsc.vba from gvim I get :
Error detected while processing function vimball#Vimball
What am I doing wrong ?
0
votes
0answers
96 views
SSH To My Home Server From Another Location
I am at a location away from home and behind a firewall that does not allow any connections and any ports other than specific port to a specific ssh server.
I am using Windows 7 and putty.
Trying to ...
0
votes
0answers
196 views
Automation script to SCP from UNIX to Window Server
I'm new to server/Unix trying to transfer file between AIX to Windows
I'm trying to create SCP or SFTP script that will run on cron and transfer text file on /usr/apps/11.111.1.11.log file to window ...
0
votes
0answers
20 views
Exclude a dir with space in name from mlocate db
I find this hard to believe, but according to the documentation it seems that
it is impossible to add directories with spaces in their names to the PRUNEFS
config variable of mlocate.
...
0
votes
0answers
77 views
Superimpose videos with FFmpeg
We’re trying to edit a video with FFmpeg. One of our videos has an alpha channel and we want to superimpose this above another video.
example:
Video 01: Start frame 1 end frame 200
Video 02: ...
0
votes
0answers
19 views
Start gnu screen with commands in different windows
How can I start gnu screen with several different commands in several different windows?
i.e., (pseudocode)
screen -window1="ping google.com" -window2="vim ~/secret_document.txt"
0
votes
0answers
180 views
How can I copy files recursively without overwriting the directories
On linux, let's say I have some files like this:
dir1/file1
dir2/file2
and I want to copy them to a destination that already have dir1 and dir2 and looks like:
dir1/file1
dir1/file1a
dir2/file2
...
0
votes
0answers
78 views
Using chmod -b to remove ACLs but leave perms unchanged
By using chmod -b on my Isilon cluster I can remove ACLs. However, I'd like to remove all ACLs from a directory tree, leaving all permissions intact. So,
#chmod -b -R (no mode set) /foo/bar
This ...
0
votes
0answers
77 views
Cannot get higher resolution in NetBSD 6 running in VirtualBox
Using vesa driver, NetBSD reports that the screen's maximum resolution is 1024x768, despite that I manually added a new resolution 1912x1016. xrandr -q confirmed that the new mode line is added, ...
0
votes
0answers
88 views
Changing display of window list items in GNU screen hardstatus
I'm still a bit baffled by the screen hardstatus escape sequences, and the man/info pages aren't helping much.
I've reduced my status line to the bare minimum for this question's sake:
...
0
votes
0answers
170 views
rsync windows to linux permission denied
Using Command
rsync -avzP --delete --omit-dir-times ../../ ext@mysite.com:/var/www/mysite/
I'm getting
rsync: mkstemp "/var/www/mysite/.." failed: Permission denied (13)
If ext is in the ...
0
votes
0answers
48 views
compress=zlib to my RAID1 drive gives bad superblock on reboot
I added compress=zlib,compress-force to my fstab then remounted. The RAID array is my root device. I then ran a defrag to compress the existing contents (worked fine, lost 10% disk space).
When I ...
0
votes
0answers
67 views
Why is process not being displayed by TOP
I am running a Mathematica script (this question probably doesn't fit in Mathematica.SE however) and I know that it generally takes up a lot of RAM and loads up my cores. However, althought pgrep ...
0
votes
0answers
40 views
gnu screen - mouse does not work in nested screen session
I started a screen session inside another screen session, both on my local machine. This is using cygwin, but I don't think it matters. I have tried via ssh to a real unix machine but the behaviour is ...
0
votes
0answers
212 views
ipfw to redirect traffic from port 80 and 443 to 8080
-A PREROUTING -s 10.0.10.0/24 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
-A PREROUTING -s 10.0.10.0/24 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8080
-A POSTROUTING -s 10.0.10.0/24 -o ...
0
votes
0answers
78 views
scrottwm/spectrwm not reading configuration files
I am not sure if this is the right forum for this.
I am using https://wiki.archlinux.org/index.php/Spectrwm as my window manager but not been able to make it read my ~/.spectrwm.conf
Can anyone ...
0
votes
0answers
148 views
RSH & REXEC from Windows 2008 Server to AIX Unix Box
Is anyone aware of how to call a RSH and REXEC command from a script on a windows 2008R2 server to a AIX Unix box - The commands worked under 2003 Server with the unix addons installed but not 2008.
0
votes
0answers
48 views
Can someone put some restriction to copy few files from folder by root in linux
I have the backup script where i was making the tar backup of directory everyday.
ON friday i note that my filesize was 30MB but beofrethat it was 200MB. I checked the main folder and it was around ...
0
votes
0answers
81 views
Why is my Solaris virtual machine doing this? (100% CPU usage at regular interval)
This is a clean installation of Solaris 11 X86 in the latest Virtualbox, running on Windows 7 host.
I am downloading some files in the Solaris virtual machine, and all suddenly, this happens:
I ...
0
votes
0answers
41 views
How to handle a list as argument in CSH file?
I have - for example - the following command to execute my CSH job:
startPRE.csh 20120801,20120901,20121001
In the CSH script, I want to exectue a loop for every date in the list.
$1 = ...
0
votes
0answers
53 views
Running housekeeper script on a HA(Active/Passive) environment
I have faced following scenario. Previously we had one server running the our web service application and we had implemented housekeeper script to archive the log files on this server. Now we have ...
0
votes
0answers
32 views
Editing ASP files in mac
I have problem while editing asp classic files on mac or linux. It messes the asp file, so instead of executing statements, it outputs all asp code to browser.
What I've tried:
in vim: set ff=dos but ...
0
votes
0answers
123 views
Solaris 11 running in VirtualBox Windows 7 host causes Windows networking services to have exceesive high CPU usage
Software environment: Solaris 11 guest running on 8 virtual CPUs, all settings are reported optimal by VirtualBox. Windows 7 is 64-bit.
Windows reports high (> 8%) CPU usages by Network Location ...
0
votes
0answers
211 views
Can't write to file - 'Operation not permitted' WITH sudo
I am having trouble writing to a few files on an external HD. I am using it to store media files as well as my time machine backup. The drive is formatted as HFS+ Journaled, and other files on the ...
0
votes
0answers
135 views
sending email to mailx , but mailx appears empty afterwards
I am trying to get a script at my office to:
Check the mailx inbox every so often (every 2 hours so) and depending on whether or not I've sent a specific email, it should set off some other ...
0
votes
0answers
248 views
Installation of libmagic
I'm trying to install Python's image-magic module, a dependency of which is the libmagic module. I've managed to download and install libmagic in /usr/local/include, but image-magic is unable to find ...
0
votes
0answers
127 views
Copying From Windows to NFS: Can The Timestamps Be Preserved?
We have a Linux server that has NFS shares. Some Windows hosts (XP & 7) connect to it via Services for UNIX. I've been told the behavior is different from XP to 7 in terms of file creation dates ...
0
votes
0answers
16 views
How to make aliases permanent for my profile on VNC
I wish to create some aliases permanent for my profile on my vnc .
0
votes
0answers
33 views
LG DP-1 not picking up shared folders from Windows Server 2008 R2
I currently have a Windows 2008 R2 server setup with shared folders and every Windows computer on my network can see it but in my lounge-room I have a LG DP-1 that can't see my server, could someone ...
0
votes
0answers
72 views
dynamically allocating space for variable in ksh
I am new to ksh unix shell scripting.I need my ksh script to get inputs from the user. and the number of inputs is unkown. I need to get the inputs and process again further .The sample run could be ...
0
votes
0answers
383 views
Trying to mount NFS share on Windows Machine at startup with Z: letter for all users
Windows Server 2008
We are trying to mount a specific drive letter on a windows machine from a unix machine. We need the mount to be available to the server even if no users are logged in and to ...
0
votes
0answers
50 views
Is it possible that the timestamp of a file does not change when copying it from Unix to Windows using Connect:Direct?
I have a use case where a report is generated on Unix and the file is later copied over to a Windows LAN location using Connect:Direct commands. However, I have noticed that the timestamp on the files ...
0
votes
0answers
150 views
Terminal emulation has stopped working. Garbage escape chars
To enable me to do some remote administration of our servers I started using a terminal emulation program called TouchTerm Pro on my iPhone. While not the smoothest experience, it has allowed me to ...
0
votes
0answers
237 views
SSH from Unix to Windows
I have my java program deployed on Unix machine. I need to connect to windows box using this java program and execute the scripts stored on windows box. I am using Ganymed SSH APIs to make the Windows ...