Copy A Single File In LinuxReturn To Top
clock June 22nd, 2008

Copy A Single File In Linux

The command to copy a directory or file is: cp. It is one of the most used commands in Linux. CP allows you to copy a single file or and entire directory from one place to another.

To move a single file you can follow these steps:

Navigate to the directory which contains the file you wish to copy. Use ls to list the contents of the directory to confirm what you are looking for is actually there! Once you have confirmed it is there, type the following (replace filename.ext with your actual file name!)

cp filename.ext /home/account_name/public_html/

Leave a space between your file name (filename.ext) and the directory you wish to copy the file into. In this case we have specified the public_html directory for account_name. You will type in your account name and path you wish to copy your file to.

All you do now is hit Enter and you should be good to go. Navigate to the directory you copied the file into and confirm it is there. Use cd to change the directory. Use ls to display the contents of the directory.


bFinda is a new freelance marketplace which connects businesses with expert programmers on a global scale. At bFinda.us, web design, logo design, social networking platforms, and application development needs can easily be fulfilled! Try it today! Outsource! It is free!



Tags:cp, how to copy a file in linux, linux for dummies, beginning linux, basic linux commands

Copy An Entire Directory In LinuxReturn To Top
clock June 22nd, 2008

Copy An Entire Directory In Linux

To copy an entire directory, its subdirectories in files, you can use the following:

cp -R directory/to_copy destination/directory

Leave a space between your first directory path and the directory to which you are copying. In this case we have specified the "directory" as the final resting place for this statement.

All you do now is hit Enter and you should be good to go. Navigate to the directory you copied into and confirm it is there. Use cd "directory name" to change to the directory. Use ls to display the contents of the directory.


This section is sponsored by DontDateHimGirl.com, a social networking site empowering women. At DDHG, women can annonymously post their experiences, both good and bad, about men they have dated. Men have the ability at DontDateHimGirl to post a rebuttal and participate in forums, all for free!



Tags:cp is used to copy files and directories in linux, copying a directory in linux

Make A Directory In LinuxReturn To Top
clock June 22nd, 2008

Make A Directory In Linux

To make a directory you can use the following:

mkdir /home/user1/new

This will create a new directory named "new" in user1's home directory. Be sure to leave a space between mkdir and your path!


This section is sponsored by ChickCentric.com. Chick Centric is a unique website, combining fashion video, and customizable clothing. The site also allows anyone to nominate that special woman in their lives to be a ChickCentric Woman. If selected, she will appear on the clothing tags, and a portion of each sale will be donated to their charity of choice! Check it out!



Tags:how to make a directory in linux, easy linux, basic linux, mkdir

List The Contents Of A Directory In Linux by eComWebsites.comReturn To Top
clock June 22nd, 2008

List The Contents Of A Directory In Linux  by eComWebsites.com

So you want to view everything in a directory in Linux huh? :) No problem! Use one of the following commands:

ls (only list file/directory names in current directory)

ls -l (list all file/directory information in current directory(long version))

ls -R (list all files in current directories and below)

ls -lt (list all files, sorted by most recent accessed first)

ls -lt /etc/rc* (list files in the '/etc/ directory, only starting with 'rc' and sort results by most recent)

That's it! If you have any questions or problems, please let me know.


eComWebsites.com is a leader in innovative ecommerce web sites, social networking platforms and websites, and custom application development. Their programmers work tirelessly to ensure eComWebsites customers' satisfaction. Check them out on Elance. Their feedback rating is 100%!



Tags:how to view the contents of a directory in linux, view directories in linux, ls

Change To A New Directory In LinuxReturn To Top
clock June 22nd, 2008

Change To A New Directory In Linux

Changing directories in Linux is easy! Use the following commands to change your directory:

cd (Change directory)

cd /home (Change the current working directory to /home. The '/' indicates relative to root, and no matter what directory you are in when you execute this command, the directory will be changed to "/home".)

cd httpd (Change the current working directory to httpd, relative to the current location which is "/home". The full path of the new working directory is "/home/httpd".)

cd .. (Move to the parent directory of the current directory. This command will make the current working directory "/home.)

cd ~ (Move to the user's home directory which is "/home/username". The '~' indicates the users home directory.)


Sponsored by: Big4.com, a social networking community serving the accounting industry. Big4.com specializes in bringing Alumni of the Big Four Accounting firms together with those who seek their services. Alumni have the ability to post their resume and profile at Big4. While employment recruiters have the ability to target the leading accounting candidates in the world. Check out Big4.com today!



Tags:changing directories in linux, how to change to a new directory in linux, cd command

Start, Stop, and Restart Apache in LinuxReturn To Top
clock June 22nd, 2008

Start, Stop, and Restart Apache in Linux

Starting, Stopping, and Restarting Apache in Linux is a very easy thing to do! Use one of the following.

To restart Apache, use:
/sbin/service httpd restart

To start Apache, use:
/sbin/service httpd start

To stop Apache, use:
/sbin/service httpd stop


Sponsored by: The DDHG Empowers Fund, in partnership with the Dade Community Foundation, is dedicated to investing in the futures of women and girls, helping them develop their voices, skills and talents. DDHG Empowers is a national, multi-issue women's fund that focuses on empowering women in all areas of their lives.



Tags:start apache, stop apache, restart apache

Check To See If MySQL Is Running In WindowsReturn To Top
clock June 22nd, 2008

Check To See If MySQL Is Running In Windows

Once you have installed MySQL on your Windows machine, it's a great idea to see if installation was successful and running. To do this, open a DOS window and type:

C:\mysql\bin\mysql

If your installation of MySQL was good, you will see the following:

C:\mysql\bin>mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version 4.0.18-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


MakeMillionsTogether.com is an innovative new social networking community bringing Entrepreneurs and Investors together. The Make Millions Together platform allows Entrepreneurs the ability to post their business plans, inventions, and business ideas to the Investor's Board. Investors have the ability to review and interview Entrepreneurs as well as fund projects and receive status reports. MakeMillionsTogether is excited to offer free memberships. Need investor capital? Click here to begin your adventure now!



Tags:is mysql running, how to check mysql in windows, check mysql installation

Move A File or Directory In LinuxReturn To Top
clock June 22nd, 2008

Move A File or Directory In Linux

To move a file or directory in Linux, we use mv. Following are examples and options you can use with mv:

mv /source /destination (Moves files from "source" to "destination")

mv -b /source /destination (Moves files from "source" to "destination" and makes a backup of each file that would be overwritten or removed.)

mb -f /source /destination (Moves files from "source" to "destination" and removed existing destination files without prompting you.)

mv -i /source /destination (Moves files from "source" to "destination" and prompts you whether to overwrite each existing destination file regardless of its permissions. If the response does not begin with 'y' or 'Y', then the file is skipped.)

mv -v /source /destination (Moves files from "source" to "destination" and prints the name of each file before moving it.)


TheMovieBot.com has sponsored this section. Do you need to find information about a movie you want to see? Search for any movie on TheMovieBot.com. You will find it! Need to see a trailer? They have them for every movie! Very easy to use. Great website for film and movie buffs. Check it out now!



Tags:move a file in linux, move a directory in linux, mv, mv command

Reboot A Linux ServerReturn To Top
clock June 22nd, 2008

Reboot A Linux Server

Rebooting a Linux server is easy. However, keep in mind that you should only have to restart a Linux server when a system change is make that requires a reboot for the new change to take affect.

First, login to your server as the root user. Then type the following:

reboot

Messages about the system shutdown process will scroll down the screen. If you are connected remotely, you will need to end your session and login again.


Netoniq is an innovative social networking portal. You can view content from and use the Alexa top 100 websites without leaving your page. Make new friends, manage your email, and contacts at Netoniq! Click here to visit the site!



Tags:reboot command, restart a linux server, how to restart a linux server

Remove or Delete A File In LinuxReturn To Top
clock June 22nd, 2008

Remove or Delete A File In Linux

To delete a file is a simple but NOT reversible command. Remember, there is not an undo command in Linux. Once you remove the file, it is gone, smoke, history, finito! Ok, here's how you remove a file:

rm your_file_name (This removes your_file_name without any prompt. Hit Enter... it's gone!)

rm -i your_file_name (This removes your_file_name, but prompts you first. Enter 'y' or 'Y' if you want to proceed.)

rm your_file_name your_file_name2 (This removes both your_file_name and your_file_name2. You can use rm to remove multiple files simultaneously)


PredatorBarrier.com offers a free sexual offender search for all 50 states. The good people of Predator Barrier have complied public data so that you can live safer. Registration and search is free. You may also sign up for their sexual predator alert service for a low monthly fee of 5.00. Take a moment to check it out now!



Tags:rmdir, rm -r, remove a directory in linux, remove a directory and files in linux

See Who Is Logged Into Your Linux ServerReturn To Top
clock June 22nd, 2008

See Who Is Logged Into Your Linux Server

This is a pretty cool one. So, if you want to see who is logged into your Linux server, there is a command called finger. Yes, I'm serious. Straight up. Here's how it works:

First, check to see who is on your system. Type the following and it will show everyone who is on there by their user name.

finger (This will show you who is on the system by user name.)

Ok, now go James Bond on them. Type finger + their user name like the line below. Now you can see what they are doing :)

finger user_name (This will show you what the user_name specified is doing.)

If you have any questions, drop a comment! Cheers!


Tasha Cunningham is a writer and founder of DontDateHimGirl.com. Her community has over half a million members and is growing every day. Read more about Tasha Cunningham and her work!



Tags:finger, basic linux commands, see who is on your linux server

Useful links to blogs, directories, and feeds related to linuxReturn To Top
clock June 22nd, 2008

Useful links to blogs, directories, and feeds related to linux

Search4i allows you to select from both paid inclusion as well as free inclusion. To submit your site for free inclusion in their directory, you will need to provide them with a link back to their site and verify your email address. That's it! Enjoy!

Free Web Directory | Paid Web Directory | Web Directory Submission | Internet Web Directory | Add URL

Check out EEEPC-Logiciels.com for French language forums for help with anything from Windows to Linux!



Tags:Cool websites to check out for, tech support, linux, directories, seo, links

accept - Instruct Your Printing Queue to Accept Jobs in LinuxReturn To Top
clock June 22nd, 2008

<b>accept</b> - Instruct Your Printing Queue to Accept Jobs in Linux

This is a system administration command called accept. It instructs your printing system to accept jobs for the specified print queue or queues. Depending on queue settings, the system may prompt for a password. Also invoked as cupsaccept.

Here is the syntax for accept:

accept [option] destination

Here is the option:

-E (Require encryption when connecting.)



Tags:linux system administration, linux commands, accept linux, linux syntax

Page 1 2


designreviews 2008 © Copyright