You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.
Creating a 4-Disk RAID Array:
8 Hitshe one below. Last thing is to hit the ''Write'' command to save settings to disk
... /sdd'', and ''/dev/sde''), I ran the ''fdisk -l'' command to see what my system's partitioning looked like:... on Ubuntu as part of the ''mdadm'' install.
The command I need to run is:
mdadm --create /dev/md0 --ver... dadm: array /dev/md0 started.
</code>
Nice! The command gave my terminal back, rather than locking it up
How Long has a Process Been Alive?:
7 Hitsrtunately, the standard date fields in the ''ps'' command use a "scrolling date" display. In other words, ... %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
nobody 22571 0.0 0.0 2128 244 ? ... ,wchan:14,comm
The important thing is the ''-o'' command line option which allows me to customize the colu... process ID number of the process.
args command with all its arguments as a string
So now I can
Setting up Asterisk:
7 Hits shows Synaptic in use.
For those who prefer a command-line approach, the same distributions include the... ons without a graphical interface. The following command can be executed at the command line. (I'm using sudo so I can run a root-only command with my current user ID).
me@mymachine:~$ sudo apt-get install asterisk
Once either of the above commands completes, Asterisk will be installed on the operat
Log File Tricks:
7 Hitsis nothing) into the logfile. So essentially the command replaces the contents of the file with nothing. ... Gecko/2009011913 Firefox/3.0.6"
When running a command this way, ''tail'' (on Linux) will group statemen... og > logwatcher &
$ cat < logwatcher
The first command creates a named pipe. The 2nd and 3rd commands send the output of a ''tail'' command to the named pipe, and keeps those processes running in the bac
SVN Backup and Restore:
6 Hits upgrade from one release of SVN to another. The commands go like this (with lots of elapsed time in betwe... ilename.svn
</code>
Explanation:
- The ''dump'' command tells SVN to copy all the revisions in the reposi... n'' (called a ''dumpfile''). Note: Running this command can take considerable time and disk space. SVN c... ackups (more files, smaller each).
- The ''rm'' command recursively deletes the existing repository locat
Dealing with Open Files:
4 Hitsopen? ====
* Use the ''lsof'' (list open files) command to print a list of all open files. Highly useful... lexible parameters. Similar in scope to ''find'' command, but for processes. List can be sorted/filtered ... many files can I open with my User ID? ====
At a command prompt, type:
ulimit -n
==== How can I increas... er of files I can open with my User ID? ====
At a command prompt, type:
ulimit -n 4096
==== What about t
SSH Tunneling:
4 Hitst and connect to Linux Server 1.
- Execute this command: ''ssh -nNT -R 3333:localhost:22 myusername@linu... background)
* ''-N'' = don't execute a remote command--just open a tunnel
* ''-T'' = no TTY
* '... n prompt from ''Linux Server 1''. In my case, my command line on Linux Server 2 looked like this:
me@my... the client session disconnects, use the ''nohup'' command as shown here. It will continue to run until the
WMA2MP3:
4 Hitsrch through the respective man pages revealed the command line I needed:
for i in *.wma ; do mplayer -vo ... can't use a pipe symbol to send the output of one command to the other. Instead, we use the double ampersand (''&&''). It lets the first command complete before deciding if the second one should run. If '... file that ''mplayer'' created.
I turned the command line into a very simple script and called it ''/u
The Dog Page:
4 Hitsastic bags (for cleanups)
* practice learning commands: sit, stay, come
* Eat/drink/play
* Go outsi... hat it should.
Obedience topic #2 is the "sit" command. We had already worked on that too. Not too har... on that part.
Obedience topic #4 is the "down" command. Surprisingly, this is easy too. We use treats ... bedience topic #5: "Leave it". This is a verbal command for making a dog leave something alone. Our trai
Logical Volume Manager (LVM):
3 Hitsome root for the installation process. So at the command prompt, run the ''sudo -i'' command and enter you... o add 460gb to a logical volume (Note that 'vgs' command showed how much free space is available).
- Mak
Why RPM Bugs Me:
2 Hitsme through a distribution upgrade. With a single command-line ("apt-get dist-upgrade") and a few well-answ... s available in the repository. So we invoke this command.
up2date --showall | grep -i your-package-name
Server-side Permission Problems:
2 Hitse ssh's into the server and runs the ''svnadmin'' command as the root user.
Since I can't fix root-relat... database files to root and run the ''db_recover'' command. When that completes, I chmod everything back to
GNU Screen:
2 Hitse much simpler to start ''screen''...just run the command at a console prompt.
bash-3.00# screen
At this ... PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7538 root 20 0 197m 9900 5024 S 101.3 ...
* leave another console open for various admin commands
* connect to another machine with ssh in anoth