I'm looking for a course on learning how to use CISCO Commands to configure a Cisco router. Can someone advise me on how I might get started in learning this topic?
I have pack of .avi files that needs to be trimmed by 5 last seconds. I'm doing it using batch processing and naturally, they all have different length so I can't set a trim from the beginning.
I know FFMpeg has commands -t and -ss as well as Mencoder has -endpos and -ss, but in my case I don't know if I can use them this way.
My .bat file will look like this
FOR %%i IN (*.avi) DO (
ffmpeg/mencoder -options "%%i" "%%~ni"1.avi )
Thanks in advance.
Hello,
My cousin just deleted his Linux partition and another smaller partitio nand now Windows is not booting, no he does not have the recovery disc. When Windows tries to boot it goes to "GRUB" and says "partition not loaded". What are some GRUB commands? And is it possible to fix this without using the recovery CD? Thank you in advance.
Have a maildir with tens of thousands of messages in it, about 70% of which are spam.
Would like to:
Run /usr/local/bin/spamassassin against it, tagging each message if the score is 10 or greater
Have a tcsh shell or perl one-liner grep all mails with a spam score of over 10 and move those mails to /tmp/spam
What commands can I run to accomplish this? Pseudocode:
/usr/local/bin/spamassassin ./Maildir/cur/* -tagscore10
grep "X-Spam-Score: [10-100]" ./Maildir/cur/* | mv %1 /tmp/spam
I have a system account with which I run a database (namely mongodb). By default it has no home. Now I'd like to trigger scp commands from that account, with ssh keys authentication to a remote server, to export backups.
Should I just create a /home/mongodb and /home/mongodb/.ssh folders manually to store the SSH keys, like the default for regular users ? Is it still considered a system account after that ?
Thanks!
Have these commands for instance:
policy-map type inspect IN-OUT_PlcyMAP
class type inspect IN-OUT_ClassMAP
inspect <------
policy-map type inspect IN-OUT_PlcyMap
class type inspect IN-OUT_ClassMAP
pass <------
zone security INSIDE
zone security OUTSIDE
zone-pair security IN->OUT source INSIDE destination OUTSIDE
service-policy type inspect IN-OUT_PlcyMAP
What is the difference between "inspect", "pass", "drop", "log", and "reset ?
I could not found any information on this on Google.
I'm in the process of deploying a bunch of Win2K8R2 VMs via vSphere's deployment template stuff, and in the deploy specification it allows you to punch a list of commands to run. Aside from activating Windows (which it doesn't do), it works pretty well.
Does anyone know the command-line equivalent of going into a network adapter's properties and unchecking the IPv6 box? If I had that I could put that in the spec and not have to manually uncheck the IPv6 box.
I'm experimenting with large changes to Linux system runtime parameters exposed through the sysfs virtual file system.
What is the most efficient way to maintain these parameters so that they persist across reboots on a RHEL/CentOS-style system? Is it simply dumping commands into /etc/rc.local? Is there an init script that's well-suited for this? I'm also thinking about standardization from a configuration management perspective. Is there a clean sysfs equivalent to sysctl?
I would like to run :helptags ~/.vim/doc in vim, but from command line.
The purpose is to run the command occasionally with other commands to keep
my tools up-to-date (probably in a cron job on my development machine.
I looked around man vim, but cannot figure out what option I need to pass.
I think this is a general question for vim, but I'm using Mac and Ubuntu for the development.
I have a bootable .img file that I want to convert to a bootable .iso file. I downloaded poweriso for Mac and used this command: poweriso convert MyOS.img -o MyOS.iso -ot iso which returned this output:
PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
Type poweriso -? for help
MyOS.img: The file format is invalid or unsupported.
I thought PowerISO could convert .img to .iso. Was I incorrect, or did I use the wrong commands or something like that?
For development purposes I'm using www-data (on an ubuntu 11.10 server) to ssh in and fire git commands and basic stuff against the webroot.
I don't have things like command history, coloring, etc like I do when I ssh in as any other user, so I'm curious how to get this working.
I'm assuming I need a `.bashrc' file, but I'm not sure what to include or (more importantly since I could just copy the one from another user) where it goes.
I'm calling shell scripts inside /etc/smrsh to process incoming emails as commands for my system. As I'm seeing all incoming emails are not making it to /var/mail/spool/USER.
Is there any way I can access to the content of the emails ? some variable $1 $2 comming with the content values ?
If not, how do I access to the content of the emails received ?
thanks guys
Hello,
I am new to sysadmining and have a few questions:
Where and how is the logrotate procedure initaited by the system?
What time of day are my "daily" rotated logfiles being rotated?
Do the prerotate commands run for each log file matched in a *.log entry?
Thank you
In command line, we have, for example, TAB, which autocomplete the commands.
In the GUI, we need just to select a text for Ubuntu to copy it. And the mouse middle button can be used to paste.
Which other "untold" secrets Ubuntu hides?
obs. I don't know which of the items I told are for any Linux or Ubuntu specific.
I am using mysqldump for a large database (several GB) and import the result from a pipe, please see commands below, does it do incremental pipe, or wait until the first one finishes then import? is this a good way of importing large db across servers? I know you can export gz it, then pscp it then import. Quick alternative are welcome
mysqldump -u root -ppass -q mydatabase | mysql -u root -ppass --host=xxx.xx.xxx.xx --port=3306 -C mydatabase
sudo ln -s /etc/apache2/mods-available/deflate.load /etc/apache2/mods-enabled/
sudo service apache2 restart
Basically I just want to turn on gzip for Apache2.
I don't want to break anything!! Please, tell me that nothing will break when I run these commands.
I know this question has probably been asked at some point in the past, but I am trying to figure out if Windows 7 supports passing TRIM commands through RAID controllers yet.
I am trying to decide between buying a single SSD drive and utilizing TRIM or
Buying two SSD drives and putting them in RAID 0 configuration
What is the fastest current configuration I can set up?
I want my development machine to be BLAZING fast.
I'm trying to write an app for jailbroken phones which will be an analogue for MobilePhone.app. But I don't know the way MobilePhone.app connects to the baseband (or the protocol that is used) and which commands does the baseband "understand".
Can you help me?
Thanks in advance!
I want to run the same commands on multiple machines, I know I can do this using ssh scripting or things like clusterssh, however I don't want to install anything on the server. (Don't have the rights)
What I want is to just clone the keystrokes across multiple machines e.g. run cat /etc/oratab on one window and same is run on multiple windows e.g. in putty, is there a tool to do that from a windows client.
I have Virtual Box setup with the following commands:
vboxmanage setextradata myVm "VBoxInternal/Devices/pcnet/0/LUN#0/Config/transfer/HostPort" 50000
vboxmanage setextradata myVm `"VBoxInternal/Devices/pcnet/0/LUN#0/Config/transfer/GuestPort" 50000
vboxmanage setextradata myVm "VBoxInternal/Devices/pcnet/0/LUN#0/Config/transfer/Protocol" TCP
On the host machine, the following command times out:
telnet localhost 50000
What am I doing wrong? The above command does work on the guest machine.
What is in Oracle's sqlplus equivalent of Linux's man or --help ?
When I'm in sqlplus and type help index, I get some commands displayed, but there is no way to get specific sql syntax. For example if I type 'help select' I get:
SP2-0172 No HELP matching this tiopic was found.
Of course, I would like to get all available options for select command.
How can I get info or sql syntax while I'm at sql prompt ?
Thanks
i'd like to build a similar replica of the virtual server i hire from my hosting company in order to test a windowless application of firefox using Xvfb.
i'd like to do so using a parallels virtual machine on OSX.
i'm happy to run some commands to get info but i'm pretty much a linux noob so be gentle!
at the moment this is all i really know:
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
thanks :)
How can I restore cursor position in Vim as it was before scrolling, selecting or PgUp/PgDn?
I'm tired of searching where I was before I scrolled up to look something at the top.
Are there something like "Prev cursor position" and "Next cursor position" commands (like 'u' and 'R' for regular undo/redo)?
Emacs documentation states that you can use query-replace on filesets to perform find/replace on multiple files.
This lets you perform certain operations, such as visiting,
query-replace, and shell commands on all the files at once.
I've opened my particular fileset (i.e. via fileset-open) and attempted query/replace using both:
M-%
and
M-x query-replace
but can't get it to work on anything but the file (buffer) I'm currently in.
I want to get the last 10 lines of multiple files. I know they all end with "-access_log". So I tried:
tail -10 *-access_log
But this gives me an error, where as:
tail -10 file-*
Gives me the output I'd expect. I would think this probably has more to do with BASH then tail. However commands like:
cat *-access_log
Work fine.
Any suggestions?