Slackware :: Showing Command Output On The Screen While Simultaneously Logging It?

Feb 4, 2010

I'm still learning about bash scripting. Not too long ago, with a lot of help from folks on this forum, I developed the following script to keep Slackware -stable up-to-date:

Code:
#!/bin/bash
#update_slackware.sh

[code]....

View 3 Replies


ADVERTISEMENT

Ubuntu :: Shell Command Output Not Showing Immediately?

Jan 18, 2011

This is an extremely weird issue that I can't find any help with on Google. It is minor but extremely annoying.

When I type in a linux command in the terminal, (e.g. "ls -la"), and then press enter, the cursor goes to the next line and just sits there, as if its processing some long command.

If I press enter again, I see the ls output as well as my prompt twice. It's like the terminal window isn't auto-scrolling, but I've also seen this happen when there wasnt even enough text in the console screen to warrant a scrollbar. Has anyone seen this before and know what I need to do? I hope what I'm asking about makes sense.

View 3 Replies View Related

Software :: Logging To Two Log Files Simultaneously?

Oct 28, 2010

I'm looking for a way to use klogd and/or syslogd to log all the default message levels to the standard /var/log/messages. I also want all kernel (and possibly user) error messages to also be logged to a second file. Is this even possible?

View 3 Replies View Related

Ubuntu :: Make 2 X Sessions Output Simultaneously?

Sep 12, 2010

I started a new x session on tty8. This is display 1. The first session is tty7 display 0.

I can switch between them easily enough. CTRL ALT F7 goes to tty7. CTRL ALT F8 goes to tty8.

But if I try to run, say, the "import" command for screenshots on tty8, while switched to tty7, all it gives is a black screen.

The reason being, I think, because only one session is actually outputting at any given time. How do I make both of them output, so I can take a screenshot on 1 session, but use the other session to do other stuff?

View 2 Replies View Related

Ubuntu Multimedia :: 10.10 - Speakers And Headphones Output Sound Simultaneously?

Nov 1, 2010

I just installed 10.10 and I'm having an issue where sound outputs from the headphones and my speakers simultaneously, and the volume control controls both outputs rather than one of them individually.This has been asked about before at this thread, but none of the solutions I've tried from there have worked. I tried installing linuxant, but it just killed my sound altogether despite uninstalling it afterward. I tried updating the Linux audio modules as per this page but to no avail.I'm running Ubuntu 10.10 (64-bit) on my own custom built desktop, which for what it's worth, contains this motherboard.

View 8 Replies View Related

Server :: When Executed Last Command Its Showing System Ip Logged In Time And Logged Out Time The Output?

Feb 27, 2011

logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in

View 2 Replies View Related

OpenSUSE Multimedia :: Output One Playback Stream To Multiple Devices Simultaneously With The Current PulseAudio / Phonon Setup?

Jun 9, 2011

Is it possible to output one playback stream to multiple devices simultaneously with the current PulseAudio / Phonon setup? The PulseAudio mixer only has radio buttons to choose one device per playback stream. I believe the hardware is capable of this, since I remember doing that before we had PulseAudio. How can I duplicate an audio stream?

Here's one application scenario: I am travelling with my family, all crammed in small hotel room. My wife and me want to watch a movie on my laptop without waking up our kids. I just happen to have one analogue headphone available and one wireless USB headset with me. (Of course, the low tech solution is to bring an 3,5mm Y-cable to attach two analogue headsets, but I would really love to use the USB headset together with the analogue one.)

Another similar thing that bugs me is that my laptop's built-in speakers now always seem dead when an analogue headphone is plugged in. This is mostly what one wants, and before PulseAudio, one had to manually switch them off which was generally annoying. However, the downside is for example with notifications.

For example, before PulseAudio, I could configure Skype to always ring over the laptop's built-in speakers, regardless of whether the analogue headphones were plugged in. This is no longer possible, since PulseAudio does not distinguish between built-in speakers and built-in analogue port any more, while old Alsa did. So in my office, where some analogue headphones are plugged into the docking station, I never hear Skype ringing if I don't wear the headphones.

View 9 Replies View Related

General :: Screen Not Showing On Laptop But Showing On Projector When Connected

Apr 18, 2011

When I try to connect a projector to my laptop (already running) and hit the fn+f7 (the designated button for switching screen), nothing happens. I see "no source found" on projector screen and my laptop screen works perfectly. Now if I restart the laptop with the projector connected, I see all the intial booting messages on the projector screen (not on my laptop), then the gnome login screen appears on both the projector screen and laptop (when the login screen appears on laptop it looks like it has lower resolution than my usual laptop resolution). But immediately after I log in, my laptop screen goes blank, and projector screen becomes the only active screen.

If I restart without the projector, again all normal operation on laptop screen is restored.

I feel like I am missing some very silly options. Any help is appreciated.

Here is the output of xrandr when the laptop is connected:

Code:

View 3 Replies View Related

Slackware :: Slackware Rc.firewall (with Logging) Script?

Jun 6, 2011

decided to fool around making a good quality, totally configurable, firewall script for Slackware, which also logs incoming dropped packets.Just copy the code below into your favourite text editor and save the file as rc.firewall then copy it into your /etc/rc.d/ directory (as root user). After setting up the config section in the script, run these commands;

chmod 755 /etc/rc.d/rc.firewall
/etc/rc.d/rc.firewall start
Voila!

[code]....

View 14 Replies View Related

Ubuntu Multimedia :: Dual Screen - Run Simultaneously Boxee And GDM At Startup?

Mar 4, 2010

I have a 24inch monitor and a LCD TV both connected to my graphic card, by HDMI for the TV and DVI for the monitor. Here's my problem: I would like GDM and Boxee to start simultaneously when I start my computer, Boxee displayed on my TV and GDM on my monitor. I made some research and I unfortunately did not found anything about starting a graphical software and GDM in parrallel (two separated DISPLAY). I have no particular attachment to GDM so if you think it would be easier to use the classic login prompt or another Display-Manager do not hesitate, The crux is to have an authentification system before accessing to Gnome and an detached Boxee running on my TV.

View 2 Replies View Related

Software :: Running Xvidcap - For Screen Capture - Audacity - For Audio - Simultaneously

Jan 23, 2011

Im trying to create some screencast videos on Ubuntu. As its a well known fact we dont have a very good screencasting too like Camtasia(only windows) on linux.

After googling extensively I zeroed on Xvidcap for screen capturing and Audacity for audio capture.

According to tutorial [url] first we need to run Xvidcap (do the screen capturing recording first) and then again use Audacity for audio recording .. then mix both video and audio.

I guess this is a pain staking process (running video and audio recording seperately), I thought of running Xvidcap and Audacity simultaneously, if i do this xvicap works perfectly (video capturing happens) but audio capture through audacity does not work.

Note: I even try to run the above tools from seperate terminals/consoles (assuming they are seperate processes)

I even disabled 'audio' in xvidcap and tried to run both at the same time but audacity refuses to work.

I think both the tools are trying to use the same system resources ... and audacity is unable to get hold of the required resources.

Can we run both independently at the same time ?

View 2 Replies View Related

General :: Ps -A In Script Not Showing Full Output?

Feb 25, 2010

i have a problem with ps, and pgrep when used in a script. with the -A option it does not print all processes and pgrep on a known running process returns nothing. So I made a script with nothing but "ps -A" and the shebang and it does show all of them. Also, ps -A on the command line is showing all processes. I am running this script as root and it is owned by root.edit: I have ps -A in a function called in a case and if I put ps -A outside the function and case it shows all. how is where it's at changing it's output

View 2 Replies View Related

Server :: Rsync Showing Wrong Output?

Feb 16, 2011

Iam comparing 2 filesystem using the below command.rsync -navrz --exclude=logs/* /opt/otm/ glrrd@105.78.7.100:/opt/otm/The output showing the files which are same in size and timestamp that are to be sync.Iam using rsync 2.6.3 version so i dont have itemize changes option to debug the problem.Is there anyway i can find the how rsync is finding the difference between the 2 filesytemEx: filesystem1

-rw-rw-r-- 1 glog glog 39132 Nov 26 2009 FinJ-code_2003-10-22_12h17_CEST+0200.jar
-rw-rw-r-- 1 glog glog 39132 Nov 26 2009 finj.jar
-rw-rw-r-- 1 glog glog 954987 Nov 26 2009 jakarta-taglibs-standard-1.1.2.zip

[code]....

View 3 Replies View Related

Slackware :: Logging Out By Itself?

Jan 26, 2011

A week ago (or two weeks ago) I noticed that my computer is logged out even though I left it logged on overnight. when I got up in the morning, instead I find a user logged in fluxbox, I saw that I was in front of the screen to log in.that night only ktorrent was running (turn off after downloading and something like that is disabled) and i adjusted command "at" that in the 9 am starts "rxvt + mplayer" that will let the online radio station. later the same happened to me, however during the day, as I watched a site in Firefox. ktorrent was turned off.

following couple of days nothing has happened (though I did not use computer to much), until tonight. this time I wrote something in Leafpad and my firefox and ktorrent was on.i'm sending you from /var/log messages and dmesg, but if you need something more i will upload that too, because i saved all logs.also, in addition there is a screenshot of programs that I recently installed on the computer (you will see the dates) - software I took from SlackBuild and made packages.i am using slim and gdm...have slackware 13.1, kernel 2.6.33.4, fluxbox 1.1.1.

View 4 Replies View Related

Debian :: Lxterminal Not Showing Full Output From Commands.

Aug 4, 2010

I'm currently running Testing/Sid on my machine with Fluxbox as my window manager.Yesterday I noticed that I was not getting full output from commands using lxterminal.First off I tried another terminal,which was the xfce4-terminal.The result being exactly the same,missing output.I have also tried re-generating my xorg.conf,and yes you guessed it no change.Getting desperate I also tried dpkg-reconfigure console-setup,still missing output from lxterminal.So to sum up why do I get the full output with xterm but not lxterminal which I have been using previously for some time.

View 5 Replies View Related

General :: Prevent Hidden Folders Showing In Output?

Sep 27, 2009

ls -R recursively lists subdirectories encountered, is there a way to prevent hidden folders showing in the output?

View 2 Replies View Related

Ubuntu :: Run A Command Before Logging On

Mar 15, 2010

how I could run a command before logging on, in addition, the command needs to run as root.

This is going back to some few weeks months ago, shortly after I upgraded to Karmic Koala. Since then, the sound device doesn't work automatically. I donno why, but alsa doesn't seem to detect the audio device.

Once I have booted the machine, I can access sound by doing:

Code:
sudo alsa force-reload

Needless to say, that's pretty annoying and I posted two or three threads to find a solution to this problem, but never got anywhere.

Failing that I get the issue resolved, running the 'alsa force-reload' command at boot up, so that when I'm logged in, it's already working.

View 2 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

CentOS 5 :: Top Command Not Showing Command Option?

Mar 19, 2011

I have installed Centos in my server and when I take, top -c command its not showing the "command" option correctly. Due to the same, I'm not able to correctly track down the file which causes excessive usage. For eg:

top - 09:30:29 up 72 days, 12:46, 2 users, load average: 0.21, 0.16, 0.15
Tasks: 122 total, 1 running, 120 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.8%us, 0.7%sy, 0.0%ni, 93.5%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st

[code]....

View 3 Replies View Related

Ubuntu :: Login Screen And The Bootsplash Screen Are Showing Xubuntu Logo?

Sep 28, 2010

i have installed xubuntu desktop on my Ubuntu PC. But now the login screen and the bootsplash screen are showing Xubuntu logo etc . How do I fix this?

View 3 Replies View Related

Programming :: Show The Output Of Shell Command Into A Textbox, Ex Ps -efc Command?

Oct 20, 2010

I am using gtk to program GUI. How can I show the output of shell command into a textbox, ex ps -efc command ?

View 3 Replies View Related

General :: Logging Into Router From Command Line?

Mar 18, 2010

I would like to log into my router to get the status page programmatically. I have a dynamic IP address and need to update my dynamic dsl service. The router will not display its address with traceroute (all I get is * * *. Once I am logged into the router I can retrieve the status page with wget and parse the resulting file. I cannot seem to get logged into it with wget. Does anyone know how this might be done? If I posted the HTML page that I log into (from wget of the login page) could someone tell me what I need to code. The router is a Trendnet TEW-652BRP. I can get it off the internet but if my connection is down it will fail.

View 14 Replies View Related

General :: Cli Command For Logging The Status Of A NIC - Eth0?

Jan 20, 2010

I would like to know if it's possible to create a continual log for a network interface card's status. That is whether it's up or down and time and date stamped if possible.I'm wondering if there is a cli command that exists to do this I've looked at "ethtool" but this only sets the parameters of the nic.Also looked at the log files that I could find /dev/log var/log, but there is no mention of a status for eth0.

View 3 Replies View Related

General :: Redirecting Command Output To Input Of Another Command?

Jul 2, 2011

I want to run gsettings list-schemas (which return a list of about 100 names separated by spaces)and somehow direct each name one at a time as the input to this command:gsettings list-recursivelyI've tried it with awk, and standard | piping and also as a string variable strvar=$(gsettings list-schemas) and using the $strvar as the input butam missing something in between I'm sure like for - while or proper syntax of awk etc

View 3 Replies View Related

General :: Use Output Of Previous Command As Parameter To Another Command?

Nov 13, 2010

I want to use the output of a previous command as a parameter to another command. For example: to know where "nice" is stored i typed: which nice output: /usr/bin/nice now the second command i typed is: ls -l /usr/bin/nice Is there a way to have a single command like: ls -l which nice ?

View 4 Replies View Related

Slackware :: Unwanted Apps Starting When Logging Into KDE?

Jan 9, 2010

KDE 3.5.4Kernel 2.6.17.13Slack 11A few weeks ago, my system locked up and I had to do a hard reboot (hold down power button). When I powered back on, the programs (KDE System Guard, Konsole window, MythFrontEnd) that were running at the time of the lockup appeared again. I exited System Guard and the Konsole window and then restarted normally. However, they keep appearing in the same spot when I log in to KDE. I looked through some logs in /var/log, but I don't see anything I haven't seen before.I deleted the /home/myuser/.kde/cache-hostname folder and its contents while in single-user mode, but that had no impact

View 4 Replies View Related

OpenSUSE :: Computer Screen Keeps Hibernating And Logging Off?

Jan 14, 2010

my computer screen (actually my plasma connected to it) keeps going into hibernating mode and going to logout screen I logically went to System/More Programs/Power Management and put all the settings all set to Never but still after 5-10 minutes at idle poof! back to loginIs it perhaps something to do with Compiz (I am using Gnome by the way)

View 4 Replies View Related

Ubuntu :: Lucid: Purple Screen After Logging On?

Jun 3, 2010

I upgraded from 9.10 to 10.04 2 weeks ago. After a day or so I suddenly couldn't logon anymore. The pc boots, I get the userlist and can enter my username and password, then the userchooser dissappears but the background stays purple and nothing happens anymore. I can still move the mouse and switch to text console but I don't get my desktop. This happens for any user even a new user I created from the command line just to test this. In the end I assumed I messed something up during the upgrade and reinstalled the pc from scratch using Ubuntu 10.04 32-bit.

I was happy for almost 2 weeks but now suddenly I get exactly the same problem. No matter which user account I try I just can't logon (graphically) anymore. Rebooting the system doesn't help. When I run top on a text console I don't see anything hogging the cpu. There is nothing obvious blocking anything. I can't find any clue in /var/log/* or ~/.xsession-errors. I can logon still in text mode as a regular user, my homedir is there, everything looks ok. 1 thing I did notice is that a (few) boots before this started happening autofs suddenly didn't start anymore at boot time (my homedir is mounted from a NAS via NFS). I had to manually start autofs as root to be able to get to my homedir. However this seems to be ok now, automount is running and my homedirs are available. I tried making a new user with a local account just to rule out network issues but even this user can't logon. So the automount issue may be totally unrelated.

View 1 Replies View Related

Ubuntu :: After 10.04 Upgrade - Blank Screen When Logging Out Of KDE?

Jan 25, 2011

Just upgraded to 10.04. All is well save one little problem. I use both Gnome and KDE. When using KDE, instead of going back to the login screen when logging out, I get a hanging, blank screen. At the top it says,(starting MySQL database server MySQLD.) I have to shut down PC and reboot. Gnome part works fine.

View 9 Replies View Related

Ubuntu :: Lucid - Not Logging In According To The Login Screen Settings?

Jun 30, 2010

I want my Ubuntu 10.04 to login to an Xterm session every time, so I changed it to auto login to Xterm in the login screen settings. This worked fine until I went to do something in a gnome session again, and now even though it is still selected as logging into Xterm automatically, it logs into a Gnome session. Can anyone help me with fixing this?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved