3
votes
2answers
25 views
Copy a file to a new directory path in DOS
How can I copy a file using DOS commands into a directory structure that may not yet exist? I need to be able to force the creation of the directory path to the target file location if that location …
1
vote
2answers
40 views
SSH: execute sudo command
I have an interactive shell script, that at one place needs to ssh to another machine (Ubuntu based) and execute something as root (the user should enter his password, but the remote command should …
1
vote
1answer
21 views
Chroot from Debian livecd
I'm trying to repair LILO on a Debian server. I'm trying to chroot, with
chroot /mnt/boot /etc/csh
and I get:
chroot: cannot run command '/etc/csh': Permission denied
How can I perform a chroot?
1
vote
2answers
99 views
How to fix dual boot after messing up with formatting and partitioning?
I recently tried to reformat one of the partitions in my dual boot PC. I originally had XP and then installed 7 as a dual boot. Well, long story short, XP was having problems, so I reformatted the XP …
0
votes
4answers
69 views
Under Ubuntu, how can I place a shell alias command that will be global to everyone ?
Under Ubuntu 9.10, where can I place an alias command that will be valid to all users, root or otherwise, and that will work with a shell under GNOME as well as an ssh session and plain console login …
0
votes
6answers
67 views
Copying large number of files from one directory to another in linux
Hi all,
I've a directory containing around 2.8 lacs of files. I want to move them to another directory.
If I use 'cp' or 'mv' then I get an error 'argument list too long'.
If I write a script like …
1
vote
1answer
382 views
Grub makeactive command in Grub2?
Hello,
Currently i have GRUB2 with Ubuntu 9.10 installed, including 2 other O/S.
I have an entry for an o/s in my grub.cfg:
menuentry "My OS" {
insmod ntfs
rootnoverify (hd0,6)
…
4
votes
4answers
123 views
What’s the importance of / in the following Linux command
What's the difference between
cd abc/xyz/
and
cd abc/xyz
What's the importance of / at the end? Which is the right way of using it? Because both seem to work properly.
0
votes
3answers
124 views
Differences between dir and ls FTP Commands
Hello we have made a little program to upload an .zip file to an FTP server, and when I connect to the FTP server with FileZilla to see everything is ok I can't see the uploaded file.
But if connect …
0
votes
3answers
57 views
Monitor network traffic of each application… [closed]
Possible Duplicate:
Monitor network traffic of each application…
First of all, I am on a slow Internet connection and it really pisses me out if something gets downloaded in background (like …
0
votes
1answer
43 views
how to check return status of command invoked from command line in windows ?
reg import RegFile.reg
How to check return code of this command ?
1
vote
3answers
51 views
execute program on port connect to windows
is there a program that listens to a specific port and executes an arbitrary executeable on incoming connection to that port?
the reason: sometimes itunes is not running, then id like to be able to …
1
vote
4answers
102 views
Unix command to empty logfile from within “less”?
I prefer using "less" to reading logfiles. As opposed to "tail -f" I can both follow (Shift + F), stop (Ctrl + C), and navigate up and down u and d, etc.
Now what I really would like is the ability …
0
votes
4answers
170 views
ssh and file copy in unix
Hi all,
I have connected to a unix server using ssh from my terminal. But i am having a windows client.
How to copy files from the unix server to the windows client.
Can i use the scp and rcp …
1
vote
1answer
227 views
How to use inbuilt bluetooth in win xp and win vista ?
By typing fsquirt in run command,a bluetooth file transfer wizard opens.
If we click next and select either of them it won`t works.So can you explain me,how does it works ? and how to connect the …
