03-31-2013
What is the nonsense? Command 1 prints messages to the terminal... And it occupies it. Adding & does not solve the problem!
Last edited by paladinaeon; 03-31-2013 at 08:31 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Would like to ask the experts if anyone knows how to run a script like this:
dtterm -title shell1
run process1 on shell1
dtterm -title shell2
run process2 on shell2
cheers!
p/s: sorry if i used the wrong forum, quite concussed after watching world cup for several nights; but I... (2 Replies)
Discussion started by: mochi
2 Replies
2. Shell Programming and Scripting
Hi friends this is first post i am very new to shell scripting so i require your expertise to do the following thank u
I need to write a shell script which will run the following commands
pg_dump bank > backup(Enter)
Wait for bash prompt to appear coz it indicates that the command is... (23 Replies)
Discussion started by: perk_bud
23 Replies
3. Shell Programming and Scripting
I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies
4. Shell Programming and Scripting
Hi,
please advise a script, something like this:
If ;
then
do something
else ( or for any other day of the week )
do otherthing
fi
Thanks (5 Replies)
Discussion started by: fed.linuxgossip
5 Replies
5. Shell Programming and Scripting
#!/bin/sh
firefox index.html
firefox secondpage.html
hey guys, im not able to open up two pages at the same time...
it always open up index.html first, and only after i close it, then the 2nd page pops up...
is there any way i can run both commands at the same time?
i appreciate any... (2 Replies)
Discussion started by: funnyguy123
2 Replies
6. Shell Programming and Scripting
I have the following script running with nohup on one of my servers:
#!/bin/bash
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#set log number
#i=1
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#Check if log exits, if so incrememnt log number up so we don't clobber
#while... (8 Replies)
Discussion started by: DeCoTwc
8 Replies
7. UNIX for Dummies Questions & Answers
Hi, unix newbi here.
Im currently on the bash shell, what are the commands to run additional shells?
for example i want to run csh and then ksh?
Thanks.
BT. (2 Replies)
Discussion started by: BillThompson
2 Replies
8. Shell Programming and Scripting
Hi,
I am new to scripting. I am trying to write a script to ssh one remote machine and run a sudo command.
ssh <hostname> sudo -S <command> < ~/pass.txt
I am stored my password in pass.txt.
I am getting error
sudo: no tty present and no askpass program specified
Please suggest me how can... (1 Reply)
Discussion started by: venkia9
1 Replies
9. UNIX for Dummies Questions & Answers
Hi
script> isumid 98765432
if i give above command in cmd prompt it is running the same thing if i give inside the shell script it is not working
below is the code
#!/bin/bash
isumid 98765432
please give me a solution (16 Replies)
Discussion started by: Ramrangasamy
16 Replies
10. IP Networking
Hi,
i used this tutorial which tells me to use following example command to proxify traffic from my linux
export {http,https,ftp}_proxy=122.228.156.126:80
when i do this command from command line it works and then i curl http://site/ipcheck.php i see its proxified, which is what i want to... (5 Replies)
Discussion started by: postcd
5 Replies
LEARN ABOUT CENTOS
debugreiserfs
DEBUGREISERFS(8) System Manager's Manual DEBUGREISERFS(8)
NAME
debugreiserfs - The debugging tool for the ReiserFS filesystem.
SYNOPSIS
debugreiserfs [ -dDJmoqpuSV ] [ -j device ] [ -B file ] [ -1 N ]
device
DESCRIPTION
debugreiserfs sometimes helps to solve problems with reiserfs filesystems. When run without options it prints the super block of the Reis-
erFS filesystem found on the device.
device is the special file corresponding to the device (e.g /dev/hdXX for an IDE disk partition or /dev/sdXX for a SCSI disk partition).
OPTIONS
-j device
prints the contents of the journal. The option -p allows it to pack the journal with other metadata into the archive.
-J prints the journal header.
-d prints the formatted nodes of the internal tree of the filesystem.
-D prints the formatted nodes of all used blocks of the filesystem.
-m prints the contents of the bitmap (slightly useful).
-o prints the objectid map (slightly useful).
-B file
takes the list of bad blocks stored in the internal ReiserFS tree and translates it into an ascii list written to the specified
file.
-1 blocknumber
prints the specified block of the filesystem.
-p extracts the filesystem's metadata with debugreiserfs -p /dev/xxx | gzip -c > xxx.gz. None of your data are packed unless a filesys-
tem corruption presents when the whole block having this corruption is packed. You send us the output, and we use it to create a
filesystem with the same strucure as yours using debugreiserfs -u. When the data file is not too large, this usually allows us to
quickly reproduce and debug the problem.
-u builds the ReiserFS filesystem image with gunzip -c xxx.gz | debugreiserfs -u /dev/image of the previously packed metadata with
debugreiserfs -p. The result image is not the same as the original filesystem, because mostly only metadata were packed with debu-
greiserfs -p, but the filesystem structure is completely recreated.
-S When -S is not specified -p deals with blocks marked used in the filesystem bitmap only. With this option set debugreiserfs will
work with the entire device.
-q When -p is in use, suppress showing the speed of progress.
AUTHOR
This version of debugreiserfs has been written by Vitaly Fertman <vitaly@namesys.com>.
BUGS
Please report bugs to the ReiserFS developers <reiserfs-dev@namesys.com>, providing as much information as possible--your hardware, kernel,
patches, settings, all printed messages; check the syslog file for any related information.
SEE ALSO
reiserfsck(8), mkreiserfs(8)
Reiserfsprogs 3.6.21 January 2009 DEBUGREISERFS(8)