Useful Linux Commands for Daily Use

Linux Cheat Sheet. (source: www.flickr.com)


Renaming Files

[user@korex ~]$ mv passwd fun


Move our data file into dir1

# move our data file into dir1
[user@korex ~]$ mv fun dir1


Uncompress tar.gz Archive File

# this will extract the filename.tar.gz to a directory, for example /opt folder.
[user@korex ~]$ tar -zxvf filename.tar.gz -C /opt


Eject Device

# eject using device name
[user@korex ~]$ eject /dev/cdrom

# eject using mount point
[user@korex ~]$ eject /mnt/cdrom/
SHARE

About Agung Pambudi

I am a Blogger with passion in business.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment