+44(0) 1234 567 890 info@domainname.com
Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, 30 April 2012

New Features in Ubuntu 12.04




Finally Launched!!! Ubuntu 12.04
Ubuntu 12.04 LTS. Canonical's latest is now available in its final(ish) form and ready for you to download, burn and install. While LTS (Long Term Support) releases are generally more conservative in their application of new features, Pangolin does include some rather notable tweaks.

Some New Features in Ubuntu 12.04


The HUD


As hinted by Canonical founder Mark Shuttleworth in late January, Ubuntu's new “Head-Up Display,” or “HUD,” interface makes its debut in this beta version. Dubbed as “a new way to quickly search and access any desktop application’s and indicator’s menu,” HUD can be accessed by pressing the Alt key and typing in a description of what you want to do. The software will then return a set of corresponding entries, including some fuzzy matching, the project team says. Over time, it also learns from your previous choices to make the search more and more accurate, they note.

PRIVACY


The Zeitgeist engine has been integrated in Ubuntu since 11.04. It’s also known as the activity log — it logs things you do on your computer, including files you open, websites you visit, and people you have conversations with. These logs are stored locally and offered to other desktop applications, which can use them to customize your experience.
Responding to privacy concerns, Ubuntu now includes a Privacy panel for managing this behavior. You’ll find it in Ubuntu’s System Settings window.



The Privacy panel includes quite a few options for managing this behavior. In addition to disabling activity recording entirely, you can disable it for certain types of files, folders, or applications. You can also manually delete the activity history — either all of it, or just the history for a recent time period.


Unity Appearance Settings

Ubuntu's Unity interface has been nothing if not controversial, but in this new release, the "Appearance" panel in the software's system settings lets you more easily configure some properties of Unity. For bookmark users, the Unity launcher now also includes Nautilus quicklist support.

 On the Look tab, the size of the application icons on Unity’s launcher are now configurable — you can make them smaller or larger.

On the Behavior tab, you can customize when Unity automatically hides itself. It no longer automatically hides by default, but you can enable the auto-hide feature and tweak its sensitivity, if you like.

Quick Lists

Many more applications now support Unity’s “quicklists” feature, including the Nautilus file manager and Rhythmbox music player. Right-click an application icon on the Unity launcher and you’ll find shortcuts to frequently used options. For example, the Nautilus file manager displays your bookmarked locations, while the Rythmbox music player offers playback options.

Video Lense
Lenses allow you to perform different types of searches directly from Unity’s dash, and Precise Pangolin introduces a new lens for searching videos. Select the video icon at the bottom of the dash screen and you can search for videos stored locally or in a variety of online locations, including YouTube, Vimeo, and TED Talks. Use the Filter Results option to search for videos from a specific location.


 Software Recommendations

The Ubuntu Software Center now offers personalized software recommendations. Click the Turn On Recommendations button at the bottom of the Ubuntu Software Center to enable them. You’ll have to log in with your Ubuntu Software Center account — this is the same as your Ubuntu One or Launchpad account.
When you enable recommendations, your list of installed software will be periodically sent to Canonical’s servers. Recommendations will appear in the Ubuntu Software Center.

 Ubuntu one Redesign

Ubuntu One, Ubuntu’s cloud storage service, has a redesigned interface in Precise Pangolin. Interestingly enough, the new interface uses the QT toolkit (used in KDE). The QT-based interface replaces the old one, which used the same GTK+ toolkit used in GNOME, Unity, and elsewhere on the Ubuntu desktop.




No comments

Sunday, 25 March 2012

Terminal Commands in Linux

What is Linux?


Linux is a free Unix-type operating system for computer devices. The operating system is what makes the hardware work together with the software. The OS is the interface that allows you to do the things you want with your computer. Linux is freely available to everyone. OS X and Windows are other widely used OS.
Linux gives you a graphical interface that makes it easy to use your computer, yet it still allows those with know-how to change settings by adjusting 0 to 1.

It is only the kernel, that is named Linux, the rest of the OS are GNU tools. A package with the kernel and the needed tools make up a Linux distribution.
href=”http://www.mandrakelinux.com/”>Mandrake ,
href=”http://www.suse.com/”>Suse,
href=”http://www.gentoo.org/”>Gentoo and Redhat are some of the many variants. Linux OS can be used on a large number of boxes, including i386+ , Alpha, PowerPC and Sparc.

Some Common Terminal commands for LINUX Operating System :-
System Info
date – Show the current date and time
cal – Show this month's calendar
uptime – Show current uptime
w – Display who is online
whoami – Who you are logged in as
finger user – Display information about user
uname -a – Show kernel information
cat /proc/cpuinfo – CPU information
cat /proc/meminfo – Memory information
df – Show disk usage
du – Show directory space usage
free – Show memory and swap usage

Keyboard Shortcuts
Enter – Run the command
Up Arrow – Show the previous command
Ctrl + R – Allows you to type a part of the command you're looking for and finds it
Ctrl + Z – Stops the current command, resume with fg in the foreground or bg in the background
Ctrl + C – Halts the current command, cancel the current operation and/or start with a fresh new line
Ctrl + L – Clear the screen
command | less – Allows the scrolling of the bash command window using Shift + Up Arrow and Shift + Down Arrow
!! – Repeats the last command
command !$ – Repeats the last argument of the previous command
Esc + . (a period) – Insert the last argument of the previous command on the fly, which enables you to edit it before executing the command
Ctrl + A – Return to the start of the command you're typing
Ctrl + E – Go to the end of the command you're typing
Ctrl + U – Cut everything before the cursor to a special clipboard, erases the whole line
Ctrl + K – Cut everything after the cursor to a special clipboard
Ctrl + Y – Paste from the special clipboard that Ctrl + U and Ctrl + K save their data to
Ctrl + T – Swap the two characters before the cursor (you can actually use this to transport a character from the left to the right, try it!)
Ctrl + W – Delete the word / argument left of the cursor in the current line
Ctrl + D – Log out of current session, similar to exit

Learn the Commands
apropos subject – List manual pages for subject
man -k keyword – Display man pages containing keyword
man command – Show the manual for command
man -t man | ps2pdf - > man.pdf  – Make a pdf of a manual page
which command – Show full path name of command
time command – See how long a command takes
whereis app – Show possible locations of app
which app – Show which app will be run by default; it shows the full path

Searching
grep pattern files – Search for pattern in files
grep -r pattern dir – Search recursively for pattern in dir
command | grep pattern – Search for pattern in the output of command
locate file – Find all instances of file
find / -name filename – Starting with the root directory, look for the file called filename
find / -name ”*filename*” – Starting with the root directory, look for the file containing the stringfilename
locate filename – Find a file called filename using the locate command; this assumes you have already used the command updatedb (see next)
updatedb – Create or update the database of files on all file systems attached to the Linux root directory
which filename – Show the subdirectory containing the executable file  called filename
grep TextStringToFind /dir – Starting with the directory called dir, look for and list all files containingTextStringToFind

chmod octal file – Change the permissions of file to octal, which can be found separately for user, group, and world by adding: 4 – read (r), 2 – write (w), 1 – execute (x)
Examples:
chmod 777 – read, write, execute for all
chmod 755 – rwx for owner, rx for group and world
For more options, see man chmod.

ls – Directory listing
ls -l – List files in current directory using long format
ls -laC – List all files in current directory in long format and display in columns
ls -F – List files in current directory and indicate the file type
ls -al – Formatted listing with hidden files
cd dir – Change directory to dir
cd – Change to home
mkdir dir – Create a directory dir
pwd – Show current directory
rm name – Remove a file or directory called name
rm -r dir – Delete directory dir
rm -f file – Force remove file
rm -rf dir – Force remove an entire directory dir and all it’s included files and subdirectories (use with extreme caution)
cp file1 file2 – Copy file1 to file2
cp -r dir1 dir2 – Copy dir1 to dir2; create dir2 if it doesn't exist
cp file /home/dirname – Copy the file called filename to the /home/dirname directory
mv file /home/dirname – Move the file called filename to the /home/dirname directory
mv file1 file2 – Rename or move file1 to file2; if file2 is an existing directory, moves file1 into directoryfile2
ln -s file link – Create symbolic link link to file
touch file – Create or update file
cat > file – Places standard input into file
cat file – Display the file called file
more file – Display the file called file one page at a time, proceed to next page using the spacebar
head file – Output the first 10 lines of file
head -20 file – Display the first 20 lines of the file called file
tail file – Output the last 10 lines of file
tail -20 file – Display the last 20 lines of the file called file
tail -f file – Output the contents of file as it grows, starting with the last 10 lines

Compression
tar cf file.tar files – Create a tar named file.tar containing files
tar xf file.tar – Extract the files from file.tar
tar czf file.tar.gz files – Create a tar with Gzip compression
tar xzf file.tar.gz – Extract a tar using Gzip
tar cjf file.tar.bz2 – Create a tar with Bzip2 compression
tar xjf file.tar.bz2 – Extract a tar using Bzip2
gzip file – Compresses file and renames it to file.gz
gzip -d file.gz – Decompresses file.gz back to file
Printing
/etc/rc.d/init.d/lpd start – Start the print daemon
/etc/rc.d/init.d/lpd stop – Stop the print daemon
/etc/rc.d/init.d/lpd status – Display status of the print daemon
lpq – Display jobs in print queue
lprm – Remove jobs from queue
lpr – Print a file
lpc – Printer control tool
man subject | lpr – Print the manual page called subject as plain text
man -t subject | lpr – Print the manual page called subject as Postscript output
printtool – Start X printer setup interface

Network
ifconfig – List IP addresses for all devices on the local machine
ping host – Ping host and output results
whois domain – Get whois information for domain
dig domain – Get DNS information for domain
dig -x host – Reverse lookup host
wget file – Download file
wget -c file – Continue a stopped download

Click Here For PPPoE Router Configuration in Linux

SSH
ssh user@host – Connect to host as user
ssh -p port user@host – Connect to host on port port as user
ssh-copy-id user@host – Add your key to host for user to enable a keyed or passwordless login

User Administration
adduser accountname – Create a new user call accountname
passwd accountname – Give accountname a new password
su – Log in as superuser from current login
exit – Stop being superuser and revert to normal user

Process Management
ps – Display your currently active processes
top – Display all running processes
kill pid – Kill process id pid
killall proc – Kill all processes named proc (use with extreme caution)
bg – Lists stopped or background jobs; resume a stopped job in the background
fg – Brings the most recent job to foreground
fg n – Brings job n to the foreground

Installation from Source
./configure 
make 
make install 
dpkg -i pkg.deb – install a DEB package (Debian / Ubuntu / Linux Mint)
rpm -Uvh pkg.rpm – install a RPM package (Red Hat / Fedora)

Stopping & Starting
shutdown -h now – Shutdown the system now and do not reboot
halt – Stop all processes - same as above
shutdown -r 5 – Shutdown the system in 5 minutes and reboot
shutdown -r now – Shutdown the system now and reboot
reboot – Stop all processes and then reboot - same as above
startx – Start the X system
No comments

Thursday, 4 August 2011

Commands- Linux Vs Windows

Both Windows and Linux come in many flavors. All the flavors of Windows come from Microsoft, the various distributions of Linux come from different companies



Windows has two main lines. The older flavors are referred to as "Win9x" and consist of Windows 95, 98, 98SE and Me. The newer flavors are referred to as "NT class" and consist of Windows NT3, NT4, 2000, XP and Vista. Going back
in time, Windows 3.x preceded Windows 95 by a few years. And before that, there were earlier versons of Windows, but they were not popular. Microsoft no longer supports Windows NT3, NT4, all the 9x versions and of course anything older. Support for Windows 2000 is partial (as of April 2007).
The flavors of Linux are referred to as distributions (often shortened to "distros"). All the Linux distributions released around the same time frame will use the same kernel (the guts of the Operating System). They differ in the add-on software provided, GUI, install process, price, documentation and technical support. Both Linux and Windows come in desktop and server editions.
There may be too many distributions of Linux, it's possible that this is hurting Linux in the marketplace. It could be that the lack of a Linux distro from a major computer company is also hurting it in the marketplace. IBM is a big Linux backer but does not have their own branded distribution. Currently there seem to be many nice things said about the Ubuntu distribution.
Linux is customizable in a way that Windows is not. For one, the user interface, while similar in concept, varies in detail from distribution to distribution. For example, the task bar may default to being on the top or the bottom. Also, there are many special purpose versions of Linux above and beyond the full blown distributions described above. For example, NASLite is a version of Linux that runs off a single floppy disk (since revised to also boot from a CD) and converts an old computer into a file server. This ultra small edition of Linux is capable of networking, file sharing and being a web server.


















MS-DOSLinux / Unix
attribchmod
backuptar
dirls
clsclear
copycp
delrm
deltreerm -R
rmdir
editvi
pico
formatfdformat
mount
umount
move / renamemv
typeless <file>
cdcd
chdir
more < filemore file
mdmkdir
winstartx

Linux / Unix Commands





  * See the Linux and Unix overview page for a brief description on all commands on one page.



























Aa2p | ac | alias | ar | arch | arp | as | at | awk
Bbasename | bash | bc | bdiff | bfs | bg | biff | break | bs | bye
Ccal | calendar | cancel | cat | cc | cd | chdir | checkeq | checknr | chfn | chgrp | chkey | chmod | chown | chsh |cksum | clear | cls | cmp | col | comm | compress | continue | copy | cp | cpio | crontab | csh | csplit | ctags | cu |curl | cut
Ddate | dc | df | deroff | dhclient | diff | dig | dircmp | dirname | dmesg | dos2unix | dpost | du
Eecho | ed | edit | egrep |  elm | emacs | enable | env | eqn | ex | exit | expand | expr
Ffc | fg | fgrep | file | find | findsmb | finger | fmt | fold | for | foreach | fromdos | fsck | ftp
Ggetfacl | gprof | grep | groupadd | groupdel | groupmod | gunzip | gview | gvim | gzip
Hhalt | hash | hashstat | head | help | history | host | hostid | hostname
Iid | ifconfig | ifdown | ifup | isalist
Jjobs | join
Kkeylogin | kill | ksh
Llast | ld | ldd | less | lex | link | ln | lo | locate | login | logname | logout | lp | lpadmin | lpc | lpq | lpr | lprm |lpstat | ls
Mmach | mail | mailcompat | mailx | make | man | merge | mesg | mii-tool | mkdir | mkfs | more | mount | mt | mv |myisamchk | mysql
Nnc | neqn | netstat | newalias | newform | newgrp | nice | niscat | nischmod | nischown | nischttl | nisdefaults |nisgrep | nismatch | nispasswd | nistbladm | nmap | nohup | nroff | nslookup
Oon | onintr | optisa
Ppack | pagesize | passwd | paste | pax | pcat | perl | pg | pgrep | pico | pine | ping | pkill | poweroff | pr | priocntlprintf | ps | pvs | pwd
Qquit
Rrcp | reboot | red | rehash | remsh | repeat | rgview | rgvim | rlogin | rm | rmail | rmdir | rn | route | rpcinfo | rshrsync | rview | rvim
Ss2p | sag | sar | scp | script | sdiff | sed | sendmail | set | setenv | setfacl | settime | sftp | sh | shred | shutdown |sleep | slogin | smbclient | sort | spell | split | stat | stop | strip | stty | su | sudo | sysinfo | sysklogd
Ttabs | tac | tail | talk | tar | tbl | tcopy | tcpdump | tee | telnet | time | timex | todos | top | touch | tput | tr |traceroute | tree | troff
Uul |  umask | unalias | uname | uncompress | unhash | uniq | unmount | unpack | untar | until | uptime | useradd |userdel | usermod
Vvacation | vedit |  vgrind | vi | view | vim | vipw | vmstat
Ww | wait | wc | wget | whereis | which  | whilewho | whois | write
XX | xargs | xfd | xlsfonts | xset | xterm | xrdb
Yyacc | yes | yppasswd
Zzcat



Related
Common Linux Commands
1 comment