Hello,
i have some troubles with someone who keeps posting porno links on my website ;)
I warned him because of it but since he only seems to like the attention i wanted to give him an IP ban. Anyone knows how i can place an IP ban with telnet on my unix server? (3 Replies)
Hiya I am fairly new to UNIX and have been asked to write some scripts....
I am working in the korn shell. What I am trying to do is to go through a delimited file:
Testingline1;test;test
Testingline2;test;test
and place the lines into an Array so:
Array = Testingline1;test;test
Array... (4 Replies)
Hi,
I would like to get 5th field from this output using FS.
Filesystem 1024-blocks Used Available Capacity Mounted on
172.29.138.222:/vol/vol0 311936256 2565248 309371008 1% /tmp/test
My command is
df -kP | awk ' BEGIN { FS="" ; } { print $5 ; } '
For some... (5 Replies)
Hi all,
I need to place a custom configuration file for a script/program that will likely be sitting in /usr/sbin, but I am unsure of exactly where to place it. In RHEL was told the config file should be in /etc/sysconfig, but no such directory exists in Solaris. Will my config file simply sit... (5 Replies)
Hello -
I am running Linux. I want to place a comment char at the beginning of a line in a file. For example:
testvar=`grep username /etc/people
sed -e 's/$testvar/#$testvar/g' /etc/people
I cannot get the above commands to put a comment at the beginning of the line.
Any... (3 Replies)
Hi All,
I have a total of ten file to open in the Perl script and i am using a for loop to open each file and capture some strings inside each file.
Unfortunately, i encounter the below syntax error.
I think there should be something wrong with this term reports_${counting}_${_}.txt but i do... (4 Replies)
Hi,
I have a small requriement to change a part of string in a sentence starting with "ho".
For E.g I am having the following statements:
I want to go to home,beach.
I will never go to that horrible,place.
Now I want to replace the string starting with "ho" in the above 2... (3 Replies)
I have a basic tail/grep question. I have logs that are generated & kept in a directory called alert_audit. I am using "tail" to see the logs that are coming in, but I only need logs that contain the IP address 10.249.185. or 10.247.231.
Here is the command I have, but it pulls all IP... (3 Replies)
Hello all,
I am trying to make a script that will apply a substitution to any number of files given on the command line.
Example would be
~/Unix/script/subst car boat myFile1.txt myFile2.txt myFile3.txt
This is the code I have so far but it does not function as needed.
PAT=$1
shift... (10 Replies)
Discussion started by: ramn214
10 Replies
LEARN ABOUT DEBIAN
smplayer
smplayer(1) SMPlayer smplayer(1)NAME
SMPlayer - The best GUI frontend for MPlayer
SYNOPSIS
smplayer [-minigui] [-mpcgui] [-defaultgui] [-config-path <directory>] [-send-action <action_name>] [-actions <action_list>]
[[-no]-close-at-end] [[-no]-fullscreen] [-sub <subtitle_file>] [-pos <x> <y>] [-size <width> <height>] [-add-to-playlist] [-disable-server]
[-help|--help|-h|-?] [<media1>] [<media2>]...
DESCRIPTION
SMPlayer is a GUI media player based on Qt 4, using mplayer(1) as its backend.
OPTIONS -minigui
Open the mini GUI instead of the default one.
-mpcgui
Open the mpc GUI instead of the default one.
-defaultgui
Open the default gui.
-config-path <directory>
Specify the directory for the configuration files (smplayer.ini, smplayer_files.ini...).
-send-action <action_name>
Try to make a connection to another running instance and send to it the specified action.
Example: smplayer -send-action pause
The rest of options (if any) will be ignored and the application will exit. It will return 0 on success or -1 on failure.
-actions <action_list>
<action_list> is a list of actions separated by spaces. The actions will be executed just after loading the file (if any) in the
same order as input. For switchable actions you can pass true or false as parameter.
Example: smplayer -actions.br "fullscreen compact true"
Quotes are necessary in case you pass more than one action.
-close-at-end
Close the main window when the file/playlist finishes.
-no-close-at-end
Do not close the main window when the file/playlist finishes.
-fullscreen
Play the video in fullscreen mode.
-no-fullscreen
Play the video in windowed mode.
-sub Specify the subtitle file to be loaded (for the first video only).
-pos <x> <y>
Specify the coordinates where the main window will be displayed.
-size <width> <height>
Specify the size of the main window.
-h, -help, --help, -?
Show the help message and then exit.
-add-to-playlist
If there is another instance running, the media will be added to that instance's playlist. If there is no other instance, this
option will be ignored and the files will be opened in a new instance.
-disable-server
Disables the server used to communicate with other instances. This also disables the possibility to use a single instance.
<media1> <media2> ...
Any kind of file that SMPlayer can open. It can be a local file, a DVD (e.g. dvd://1), an Internet stream (e.g. mms://....) or a
local playlist in format m3u or pls.
SEE ALSO mplayer(1)AUTHOR
The author of SMPlayer is Ricardo Villalba <rvm@users.sourceforge.net>.
This manual page was written by Matvey Kozhev <sikon@lucidfox.org> for the Ubuntu project (but may be used by others). Has been updated by
greengreat <gmeildeno@gmail.com> for the SMPlayer project (July 2009).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any
later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be
found in /usr/share/common-licenses/GPL.
BUGS
Please submit bugs to http://sourceforge.net/projects/smplayer.
The SMPlayer Project January 2012 smplayer(1)