Posts Tagged ‘Linux Commands’
Linux Tutorial for Beginner
Hello, are you looking for linux tutorial? whether you an expert or beginner every people who wants to learn linux will search for linux tutorial. Many source offering linux tutorial, you can get an e-book or printed material yes, you find it very useful.
As a beginner you may want to read your linux man page as the first source you need to operate your new operating system. Man page will provide you with basic linux commands and expert linux commands. This list of linux commands will help you to run and operate your new linux. No mater what kind of distribution you like you will always find it useful.
Another way to get linux tutorial is by attending linux training or linux seminar, you can also buy Linux books or video to watch and learn. Don't worry about your new operating system as this is more stable than the other operating system. You should join to mailing list or forum to broaden your network and gaining more information about linux.
Other related articles:
-
WordPress on Debian Linux · supriyadisw dot net – This tutorial is how to install WordPress on Debian Linux . Installing WordPress on Debian? What for? Are there many easy ways to install WordPress on our server (Web hosting)? Eventually, We don't need to know what distro that our …
-
wordpress Installation on Ubuntu with LAMP – This tutorial is how to install wordpress on Ubuntu Linux Desktop using LAMP. Why ? One reason is that you can do a lot of developing (playing around) much quicker as there is no need to use ftp. If… [[ This is a content summary only. ...
-
Online Linux Tutorial For Beginners - Online Linux Tutorial for beginners is a basic guide to the Unix and Linux operating system. Eight simple tutorials which cover the basics of UNIX / Linux commands. Introduction to The UNIX operating system What is UNIX?
-
Linux Makefile Tutorial - Procyon AVR Library for Atmel AVR Processors · Online Linux Tutorial For Beginners · FreeRTOS porting on Code Composer Studio 4 (LM3Sxxxx processor) · [Error Solved] fatal error C1189: #error : This file requires _WIN32_WINNT …
-
Linux tutorial: How to rotate a video – Many people take video's on there mobiles and end up with a rotated video. If you wonder how to rotate it to a normal view under Linux, this tutorial is for you. This is why I love open source, you get a lot of possibilities for free!
-
Rapidshare Downloads on Linux Tutorial – Rapidshare Downloads on Linux Tutorial ubuntuforums.org.
-
Linux Tutorial: Raising Microphone Volume in Ubuntu – You might have noticed that Ubuntu has a very low microphone volume by default. This quick tutorial shows you how to make your microphone record at a higher volume. If you'd like more Linux tutorials check out my site: …
-
Hosting Directory #1 – Practical Guide to Linux Commands, Editors … – Expert primer on automating tasks with Perl The Most Useful Linux Tutorial and Reference, with… More >> · Practical Guide to Linux Commands, Editors, and Shell Programming, A. Subscribe to Hosting Directory #1 by Email: under: Platform …
-
Ubuntu Tweak .5.6 Desktop Recovery Backup Restore Reset Settings … – 10 Technology Messes That Need Fixing How to Get Help in Linux Software Provider Calls Citrix Online Backbone of His Firm Linux Tutorial: Raising Microphone Volume in Ubuntu Share and Enjoy:
-
How to update your java version on Linux. Linux tutorial. – www.opensourcebistro.com This is a walk through of a recent Java update I completed on my Vectorlinux box. Keeping Java up to date is usually a good security precaution as well as just getting you a better version of Java. …
Basic Linux Commands With Man Pages for Beginner
Here are some basic commands to get you started in the wonderful world of Linux and other UNIX variants. All of these commands should work from your command prompt (regardless which shell you’re using).You MUST press enter to invoke the command.All UNIX and Linux commands are case sensitive. There are of course thousands of Linux related commands and procedures.
You can also execute multiple commands by separating each one with a ; for example cd newdir; mkdir thatdir ; ls -la will first change directories to the newdir directory, then create a directory called thatdir, then list all the files in long format. You can string together as many commands as you like but caution should be used not to inadvertently do anything harmful.
If you think some thing need to be added to this list let me know.
access determine whether a file can be accessed
Syntax
access -mode file
For more options and how to use check access man page
alias define or display aliases
Syntax
alias [alias-name[=string] ]
For more options and how to use check alias man page
bg run jobs in the background
Syntax
bg [job_id ...]
For more options and how to use check bg man page
cal displays a calendar
Syntax
cal [-smjy13 ] [[ month ] year ]
For more options and how to use check cal man page
cd change directories
Use cd to change directories. Type cd followed by the name of a directory to access that directory.Keep in mind that you are always in a directory and can navigate to directories hierarchically above or below.
Syntax
cd [-L | -P] [directory]
For more options and how to use check cd man page
chown change file owner and group
Syntax
chown [OPTION] OWNER[:[GROUP]] FILE
chown [OPTION] :GROUP FILE
chown [OPTION] reference=RFILE FILE
For more options and how to use check chown man page
chmod change file access permissions
Syntax
chmod [-r] permissions filenames
Options
r Change the permission on files that are in the subdirectories of the directory that you are currently in. permission Specifies the rights that are being granted. Below is the different rights that you can grant in an alpha numeric format.filenames File or directory that you are associating the rights with Permissions
u User who owns the file.
g Group that owns the file.
o Other.
a All.
r Read the file.
w Write or edit the file.
x Execute or run the file as a program.
Numeric Permissions:
CHMOD can also to attributed by using Numeric Permissions:
400 read by owner
040 read by group
004 read by anybody (other)
200 write by owner
020 write by group
002 write by anybody
100 execute by owner
010 execute by group
001 execute by anybody
For more options and how to use check chmod man page
cp Copy files and directories
Syntax
cp [OPTION] SOURCE DEST
cp [OPTION] SOURCE DIRECTORY
cp [OPTION] target-directory=DIRECTORY SOURCE
Options
cp myfile yourfile
Copy the files myfile to the file yourfile in the current working directory. This command will create the file yourfile if it doesn’t exist. It will normally overwrite it without warning if it exists.
cp -i myfile yourfile
With the -i option, if the file yourfile exists, you will be prompted before it is overwritten.
cp -i /data/myfile
Copy the file /data/myfile to the current working directory and name it myfile . Prompt before overwriting the file.
cp -dpr srcdir destdir
Copy all files from the directory srcdir to the directory destdir preserving links (-poption), file attributes (-p option), and copy recursively (-r option). With these options, a directory and all it contents can be copied to another dir
For more options and how to use check cp man page
clear Clears the terminal screen.
Syntax
clear
For more options and how to use check clear man page
cmp Compares two files, reporting all discrepancies. Similar to the diff command, though the output format differs.
Syntax
cmp [-clsv] [-i NUM] [--help] [--print-chars] [--ignore-initial=NUM] [--verbose] [--quiet] [--silent] [--version] -I FILE1 [FILE2 [RANGE1 [RANGE2]]]
For more options and how to use check cmp man page
cat – Sends file contents to standard output. This is a way to list the contents of short files to the screen. It works well with piping.
Syntax
cat [OPTION] [FILE]
For more options and how to use check cat man page
diff find differences between two files
Syntax
diff [options] from-file to-file
For more options and how to use check diff man page
dmesg Prints the messages resulting from the most recent system boot.
Syntax
dmesg [ -c ] [ -n level ] [ -s bufsize ]
For more options and how to use check dmesg man page
du estimate file space usage
Syntax
du [OPTION] [FILE]
For more options and how to use check du man page
df report filesystem disk space usage
Syntax
df [OPTION] [FILE]
For more options and how to use check df man page
exit – cause the shell to exit
syntax
exit [n]
For more options and how to use check exit man page
eject eject removable media
Syntax
eject -h
eject [-vnrsfqp] []
eject [-vn] -d
eject [-vn] -a on|off|1|0 []
eject [-vn] -c slot []
eject [-vn] -t []
eject [-vn] -x []
eject -V
For more options and how to use check eject man page
fuser identify processes using files or sockets
Syntax
fuser [-a|-s|-c] [-4|-6] [-n space] [-k [-i] [-signal] ] [-muvf] name
fuser -l
fuser -V
For more options and how to use check fuser man page
fsck check and repair a Linux file system
Syntax
fsck [ -sACVRTNP ] [ -t fstype ] filesys [ ... ] [--] [ fsck-options ]
For more options and how to use check fsck man page
fdisk Partition table manipulator for Linux
Syntax
fdisk [-u] [-b sectorsize] [-C cyls] [-H heads] [-S sects] device
fdisk -l [-u] device
fdisk -s partition
fdisk -v
For more options and how to use check fdisk man page
fg run jobs in the foreground
Syntax
fg [job_id]
For more options and how to use check fg man page
file determine file type
Syntax
file [ -bciknsvzL ] [ -f namefile ] [ -m magicfiles ] file
file -C [ -m magicfile ]
For more options and how to use check file man page
find search for files in a directory hierarchy
Syntax
find [path...] [expression]
For more options and how to use check find man page
finger Prints descriptions of the specified users.
Syntax
finger [-lmsp ] [user ... ] [user@host ... ]
For more options and how to use check finger man page
free Displays the amount of used and free system memory.
Syntax
free [-b | -k | -m] [-o] [-s delay ] [-t] [-V]
For more options and how to use check free man page
ftp A File Transfer Protocol client
Syntax
ftp hostname or ipaddress
For more options and how to use check ftp man page
grep, egrep, fgrep print lines matching a pattern
Syntax
grep [options] PATTERN [FILE...]
grep [options] [-e PATTERN | -f FILE] [FILE...]
For more options and how to use check grep, egrep, fgrep man page
head output the first part of files
Syntax
head [OPTION] [FILE]
For more options and how to use check head man page
history Manipulate the history list
Syntax
history option arg arg
For more options and how to use check history man page
!!
use the ! option. To automatically re-display the last command you typed at the prompt, type: !! and press enter. Press again to invoke the command. You can also automatically re-display a command you typed earlier by using the ! and the first few letters of the command. Find more Linux Commands here.
Other related articles:
- Basic Linux Commands With Man Pages – 15 Responses to “Basic Linux Commands With Man Pages”. abhi kalyan says: October 26, 2006 at 12:56 pm. Great Work, I hope i could contribute, and in the coming days i might. Made a very good help. Thank you. Admin says: …
- Learn basic linux/unix commands | Tutorial Staff | TutorialStaff.com – I hope you understand these 5 basic linux commands. There will be more tutorials coming soon about using linux so stay tuned and don`t forget if you have any questions feel free to post them in the comment section below. …
- The Basics of The Palm Pre Linux – Basic Linux commands. Installation of additional utilities (sudo, package manager etc.). Configuration of the virtual machine (virtualbox). Install\remove packages. Short description of the system files and directories specific for Palm …
- What does it mean for Windows users, if the basic knowledge of … – So this indicates that some basic Linux commands konwledge necessary. However, I am a Windows user … best answer: Answer. The Beast means you know how to navigate the Linux without a GUI. Enter the answer to this question below!
- NTBrad.com – Not just for Windows anymore! » Monitoring Citrix … – This adds Nagios NRPE support for Citrix XenServer 5.5. I’ve tested this with the current patches as of 3/12/2010, but if it breaks and explodes and blows the hair off your cat, well, you’ve been warned.The rpm’s are either from CentOS …
- NTBrad.com – Not just for Windows anymore! » Xen Import and Export … – Uncategorized. Since the new bits are all at the other end of a relatively slow pipe (8Mb DSL or 17Mb WiFi) shuffling templates and exports around is no fun at all. Trying this from a XenConsole running on the XenServer itslef was no …
- Guides and help on using basic Linux commands & basic Unix … – When you talk about using Linux as Operating System, at least you need to know some of the basic Linux commands that could help you do the configurations, setup and manage your Linux box using the Linux shell (or command line …
Linux Commands Training Quick Tips

- Image via Wikipedia
Regular Ubuntu Linux Users and the (Lack of Use of the) root User
When you install Ubuntu Linux, you create a user, which is the “first” user and you can also create more users if you need to. When you create the “first” user, you assign this user a password – and this one is very important! This is the first thing linux administrators should do.
It is required to log in to the desktop (at the Linux GUI login prompt) as the “regular” (non-root) user – and this password is also required to be able to do the equivalent of logging in as the root user – when you’re working at the Linux prompt a terminal emulation window on the desktop.
By default, the root use is not “enabled” (not available) in Ubuntu and so you can’t log in as this user – which is an innovative thing – as it stops anyone from logging in to the desktop as this user – which should never be done!
Example of Running the Linux sudo Command – To Start Working as the root User
You type in: sudo -i and then press Enter to change from working as a “regular” user to working as (the equivalent of) the root user in Ubuntu (and variations or derivatives, such as Kubuntu – see more on this further below).
And then you provide the password of the first user that was created on the system. After running the Linux sudo command, the prompt changes from a dollar sign to a number or hash sign (press Shift 3). To “go back” to working as a “regular”, run the exit command by entering the command name and pressing the Enter key.
This Linux version has its own “derivatives” (variations), and many of these end in “ubuntu”, such as Kubuntu.
- Linux Commands Training Tips: The “K” in Kubuntu stands for “KDE” – it is the “K” in “KDE”, for the KDE desktop.
- The Ubuntu distro uses the GNOME desktop by default and Kubuntu uses the KDE desktop by default.
Ubuntu Linux and it’s derivatives are some of the few distributions that require the use of the sudo command with the -i option as shown above – as opposed to using the su command with the – “dash” option and then typing in the password of the root user.
And now I would like to offer you free access to my Linux Commands Training Mini-Course, which you can access it in this site where you can explore more about ubuntu commands.
This site not only dedicated for ubuntu linux only, there is many things that you should know about linux distribution. The good things about linux is free you can download any distro you like and installed in your machine.
Priyo Wibowo | IT consultant
Other related articles:
- 99 Ways to Promote Your Blog for Free | Vandelay Design Blog – LINK BUILDING: Exchange links with other bloggers Use BlogRush Submit to RSS directories Submit to blog directories Submit to general.
- Internet Connection Sharing using iptables » Lindesk – It is very easy to setup an internet connection sharing in Linux system using iptables. This method can be used to share an internet connection from a Linux system(I used Fedora Core 6, but it should work on other distributions that …
- Comment on Understanding your (Red Hat Enterprise Linux) daemons … – Thanks a lot, Very useful article … It’s the only article I found to mention the real need or no-need to run mcstrans service.
- Comment on The Funny Linux Commands by Kopgel.net – http://www.kopgel.net Genel içerikli Forum http://www.twilight-fan.kopgel.net.
- Getting pdflatex to embed all fonts – Update: a much simpler approach is described in Embedding fonts for IEEE. My friend Yuhong reminded me to make sure I embed all fonts in the pdf file for our ICDM-05 paper. This seems to be an IEEE requirement. …
- encryption, usb drive, ubuntu, windows, and you! – the other day i though i had lost my usb drive, a janky kingston 1gb stick with no keychain holder that is temporarily replacing my burned out jumpdrive sport. deep sets of panic waves overtook me for most of the morning as i wracked my …
- Comment on Useful Windows Run Commands. by Natural Cure For Yeast … – Great.Thank you.
- txt » Change the Extension of Multiple Files in Linux – In this example, we will change all files with extension ‘.info’ to ‘.txt’. Rename all *.info files in one folder. rename .info .txt *.info. That should read as.. rename …
- » What does “./” mean in linux? – Eat My Business – I had no idea what significance the dot and the forward slash (./) have in relation to this command. I have attempted to look it up but my search came to nothing. When I work it out – I’ll let you know.
) … - funny job application at mcdonalds – mc donalds job application. this is an actual job application a 17 year old boy submitted at a mcdonald’s fast-food establishment in florida…and they hired him because he was so honest and funny! name: greg bulmash. sex: not yet. …
- Comment on Bengali Alphabets—- very funny by Rituraj – Wow man how damn good way to explain all english alphabet to us. hahahha, I think West Bengal Primary education should adopt your way to improve their primary education system. What do you think about the same ?
- The Scribd Embed code in Latest WordPress version | Tech,Fun,This … – So after reading Roshan’s Post about security risk in the previous versions of WordPress , i followed his recommendations and upgraded my WordPress to the latest on using the easy Automatic Upgrade Plugin . The upgrade was quick it was …
- Rubbish YDL How-To 1: Streaming MP3s From A Mac – Submit Response – This post was made on August 3, 2004 and belongs in the linux, mac category. The previous post was Sandy Sharp at Street Level, and the next post is Free Brian Leith. Since I’m finding it very difficult to keep Linux commands in my head, and basic Linux information seems to be damn near impossible to come by without endlessly clicking through unsearchable mailing list archives, I thought I’d start writing up things that have taken me a while to work out here, under the snappy series title Rubbish YDL How-To’s.
- Tip: How to sort folders by size with one command line in Linux … – Tip: How to sort folders by size with one command line in Linux. I often need to find out what are the biggest folders from the space point of view. Take for example, I need to get the users that are using the most space on the system …
- » PHP Injections for Dummies :: v-nessa.net :: Programming is Sexy – This is a basic tutorial on how to do a simple PHP injection, for all you n00bish script kiddies. UPDATE: FYI, since the release of php 5.2.1, this post mainly applies to earlier versions since remote includes will be disabled in all …
- Funny Towels | Tech,Fun,This n That at www.Hem.com.np – Amazing top view Photography 38 images + caption. by admin | Fun and Jokes, Pictures and videos | Trackback | RSS Feed Related Posts you may like to Read. Fresh jokes From (INDIA) Wrote Using Mozilla Firefox 3.
- Download Entire Folder using Wget Command in Linux – wget -m http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/. -m, –mirror: shortcut for -N -r -l inf –no-remove-listing. wget -H -r –level=1 -k -p http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/ …
- Securing Joomla – We moved to Joomla for our department webpage, and it has really been great. We have been able to allow others to contribute to our site, use countless extensions and modules that save us time, and it has really helped as far as our …
