General :: Command To Update Terminal As File Is Updated

Mar 13, 2011

I'm looking for a way to have the access log for my nginx install scroll up the terminal as lines are added to the log. I think I need a command like cat access.log | diff but I'm not sure exactly what it should be.

View 1 Replies


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

General :: Burn Data (file) With Command Line (at Terminal) To DVD Rewrite?

May 17, 2010

Now, I use Fedora Core (version 8) with core linux OS 2.6
I have some file data with size about 2G and I want to burn (write) this file to DVD rewrite.

I know linux OS can install software to burn data to DVD, but I don't have permission to install more software. I only use command line over Terminal (Gnome Terminal).

View 4 Replies View Related

General :: Command To Run Update File?

Jul 7, 2010

It says to run update.php from the maintenance folder. What command do I type to run an update file?

View 5 Replies View Related

Ubuntu :: Terminal Command To Start The Update Manager?

Feb 22, 2010

Is there a terminal command to start the update manager? I use fluxbox and I want to add it to my start up file but I don't know the command.

View 5 Replies View Related

General :: Updated LibX11 And Python Packages Fail To Update In RHEL5?

Nov 10, 2010

I was assigned to do all the RHEL5 updates. All installed fine including the new kernel except for the updated libX11 and python packages. Does anyone have any suggestions relating to a fix for this?

View 3 Replies View Related

General :: Make Linux Terminal Transparent With Terminal Command?

May 10, 2010

Is it possible to make terminal (xfce4-terminal) transparent from bash script?

Maybe by enabling compostion?

View 1 Replies View Related

Red Hat / Fedora :: Use FTP Command In SSH Terminal To Get File?

Mar 20, 2010

How do I use my SSH Terminal to get a file that is sittng on another server that I have.. As its like 500 megs or so but to download it to my computer then upload it it takes a long time..

So this is what i have done so far

1. Loged in to SSH Terminal

2. Went to my DIR that i want to put the FILE to

3. Typed in FTP

4. I"M LOST now as i'm trying to connect using my user on my ftp site (DIFFERN"T SERVER)

I relly need the key commands SHH Terminal for dummies

View 3 Replies View Related

Ubuntu :: Exclude File From Terminal Command?

Jul 12, 2010

Well i downloaded a program with many .deb files ( At least 15 ) so i wanna execute them all trough the terminal so i typed

patowlmc@patowlmc-desktop:~$ cd /home/patowlmc/Downloads/i386
patowlmc@patowlmc-desktop:~/Downloads/i386$ sudo dpkg -i *.deb
Readme.deb: command not found

As you can see all files in the folder are .deb packages, but one: The Readme file, wich is a text file.

I know I just have to move the file to somewhere else, and everything should work, but i wanna know if there's a command for excluding a file or something.

P.D. I totally trust the program, so don't worry about so many .deb files.

View 9 Replies View Related

General :: In Folder Hierarchy / Find Last Updated File

Jun 2, 2011

I have a folder hierarchy with many sub-folder levels under a set of parent folders. Based on the application design and business use, files are written to different locations on a daily basis. I want to find out the last updated file in the folder structure and its location at any given time. How can I do that?

View 2 Replies View Related

OpenSUSE :: Register Command To Run A Script File From Terminal?

May 10, 2011

I've recently installed matlab and after some poking around found that you must start it using a script like:

#>> cd ~root/../matlab2009/bin/

the manual tells me that the installation should have made it so that all you have to do is type matlab at the terminal but for some reason this hasn't happened. If you did not set up symbolic links in the installation procedure, you must enter the full path name to start MATLAB, matlabroot/bin/matlab, where matlabroot is the name of the folder in which you installed MATLAB. I've also looked at documentation on ln but most refers to making links between files. Is there a way to link the command "matlab" to the file shown above so all I have to do is type the command and it runs the script?

p.s: Here's what I've tried:

#>> ln -s ~root/../matlab2009/bin/matlab matlab
linux-2fs6:/home/alex # matlab

If 'matlab' is not a typo you can use command-not-found to lookup the package that contains it, like this:

cnf matlab

View 9 Replies View Related

Ubuntu Servers :: Terminal Command - Searching Given SH File For String

Mar 10, 2010

I need a hand with a line of terminal commands. I need to be able to search a given .sh file in a given location for a string, and when found, add a "#" to the start of that string and save the file back to it's original location.

View 1 Replies View Related

Ubuntu Multimedia :: Terminal Command In Script To Save File

Sep 28, 2010

I use webcam with the streamer application. So, to record a video I have to put in terminal something like this:
streamer -q -c /dev/video0 -f rgb24 -r 24 -t 00:30:00 -o /home/shark/untitled.avi
I know I can use other applications but I have got problems with all except with this. This is really annoying because it is a delay job. So, I am wondering how can I make a script that the terminal will ask me to name the file or even better to ask where to put my file.

View 9 Replies View Related

General :: Make Samba Read Updated Smb.conf File Without Restarting That?

Apr 5, 2011

I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?

View 6 Replies View Related

Fedora :: Open A File Using Command Line In Terminal And Edit Code Within It?

Jun 10, 2011

How to open a file using command line in terminal and edit the code within it ?code...

View 6 Replies View Related

Ubuntu :: Which Command Should Run From The Terminal To Know Which File System (ext3 - Ext4) Runs On

Dec 27, 2010

I'd like to know which command i should run from the terminal to know which file system (ext3, ext4, etc...) my Ubuntu runs on.

View 2 Replies View Related

Ubuntu Installation :: Terminal After Updated Mgr Got Interrupted

Jan 28, 2010

I was running Update manager and my old system pull a 'freeze/lockup' before things were completed so I have tried using apt-get; I first updated then upgraded and get the same issue as in Update mgr with 2 small packages, 1 Rythmbox and 1 software center. This is the terminal just before, during and after:

-desktop:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libsmbclient libwbclient0 rhythmbox samba-common
samba-common-bin smbclient software-center
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 18.4MB/20.2MB of archives.....

View 3 Replies View Related

Ubuntu :: Log The Command Output's History That Are Previously Printed Messages In The Terminal To A File?

Apr 23, 2011

is it possible to log the command output's history that are previously printed messages in the terminal to a file? that is the first command output when i first opened terminal through the last command.

View 5 Replies View Related

General :: Bash Command History Update Before Execution Of Command

Jun 7, 2010

Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).

I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?

View 1 Replies View Related

General :: Refresh Current Configuration Used By Modprobe With Newly Updated Modules.conf File?

Jun 20, 2010

Is there a way to refresh the current configuration used by modprobe with an updated modules.conf file at the command line for Red Hat Linux 9.0?

View 1 Replies View Related

Ubuntu Networking :: Terminal Command/script To Upload A File To An Ftp Server Without User Input?

Apr 26, 2011

I've got used to using the ftp command from the terminal, which is useful, especially with macros. But it requires user input, and what I want to do now is upload a specific file to a server, once I've finished working with it every day. It's the same file every day. II would like to be able to do this semi-automatically: I just give the command and it connects to the server and uploads the file. (I will probably want to encrypt the file before uploading it.)I don't know how I could use ftp without any user input: I want it to be automatic.

View 5 Replies View Related

General :: Update Through GUI Instead Of Terminal

Jun 27, 2010

I tried to do an update today and I got some errors:
Loaded plugins: presto, refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: for package: pidgin-evolution-2.7.1-2.fc13.i686
--> Processing Dependency: for package: nautilus-sendto-2.28.4-1.fc13.i686
--> Processing Dependency: for package: gnome-panel-2.30.0-1.fc13.i686
---> Package evolution-data-server.i686 0:2.30.2-2.fc13 set to be updated
---> Package evolution-data-server-devel.i686 0:2.30.2-2.fc13 set to be updated
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I had to update through GUI instead of terminal, so this is all that is left.

View 2 Replies View Related

Ubuntu Installation :: Update Manager Can't Get Updated / Fix It?

May 13, 2011

I am running Ubuntu 11.04. But now whenever I click 'Check' in my UpdateManager, it always said 'No update found' But the UpdateManager said 'The package information was last updated less than one hour ago.'

How can I fix it?

View 2 Replies View Related

Software :: What Actually Gets Updated / When Say Want To Update Rhel5 Server

May 23, 2010

what actually gets updated when i say i want to update my rhel5 server?its kernal or anything else.

View 1 Replies View Related

CentOS 5 :: Updated Gcc And Need To Update Glibc And Libstdc?

Mar 9, 2010

I have just updated gcc to 4.4.3 on my centos 5.4 server. This all went fine but now i need to update glibc and libstdc++, Any ideas on how i go about doing this.

View 4 Replies View Related

OpenSUSE Install :: Keep Iso's Updated - Can't Use Command Line

Jun 25, 2011

Doing an install of Suse 11.4 --- and the screen runs off the monitor to the right. A little guess word with the tab key and I could move through the install process by tabbing three times after the ""help" button. As I'm writing this the machine rebooted after initial load and the screen is okay - and I can see the abort-back-next buttons now. But really, what's with that? That's just so unprofessional. Hopefully the dev team reads these forums since there isn't any easily discoverable way to communicate with them. And you don't keep the iso's updated? The BETA of Firefox 4?? Really? Then I can only update to 4.01 from the repository? so I download an unpack the 5.0 from Mozilla -- and find out ./configure no longer works. The archive extractor still doesn't have an "install package" option anywhere, and now I can't use the command line either?

View 8 Replies View Related

General :: Apache Command And Terminal / Command With Apache Through Web Browser And It Is Not Working?

Aug 18, 2009

I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?

NOTE: apache have the privileges to execute the command

View 7 Replies View Related

General :: Set What Should Happen In Terminal On A Certain Command?

May 20, 2011

If I execute

cal 2013

in terminal, it echoes the calendar for the year 2013. For the matter of fun, I'd like the terminal to echo

This year won't come.

How should I do this? I tried adding it as an alias to .bashrc, but I cannot create aliases with spaces.


The final solution:

echo "cal() { if [[ $@ > "2012" ]]; then command echo "This year won't come."; else command cal "$@"; fi; }" >> ~/.profile && source ~/.profile

View 1 Replies View Related

General :: Terminal Command In C Program?

May 21, 2010

I want to design c program can run terminal command and put the output of command into file... How can i do this ? for example :

string s = " iwlist scan "

and when i run the programm this command applied and put the output into specific file

View 1 Replies View Related

General :: Command From The Terminal Window?

Apr 11, 2011

I think this command is for a symbolic link "ln -sf to folder from folder" is this correct?
Also what does the -sf stand for?

View 2 Replies View Related

Copyrights 2005-15, All rights reserved