Alias – saját parancsok, sajátos névvel


A rendszeres Linux felhasználók nagyon gyorsan és hatékonyan tudnak „varázsolni” a parancssorral. Ez nem valami emberfeletti képesség, hanem sok gyakorlás és némi varázsszavak ismerete teszi lehetővé. Az egyik ilyen varázsszó az alias.

Mire is jó az alias?
Amikor hosszabb parancsokat használunk többször is, kezd bosszantóvá válni, hogy ugyanazt kel megismételni. Ilyenkor nagyon jó segítség számunkra az alias, ugyanis ezzel a megoldással saját egyedi parancsokat hozhatunk létre, vagy hosszú parancsokat rövidíthetünk meg. Egyik gyakori példa a ls –alF amit Ubuntu alatt az ll paranccsal kapunk.
Nézzük meg milyen alias-ok vannak már beállítva a rendszerünkbe.


Paraméterek nélkül kilistázza a beállított alias-okat

Nálam ez a lista alapból így néz ki:

alias egrep='egrep --color=auto'

alias fgrep='fgrep --color=auto'

alias grep='grep --color=auto'

alias l='ls -CF'

alias la='ls -A'

alias ll='ls -alF'

alias ls='ls --color=auto'

Alias beállításához add ki a következő parancsot:

alias rövidnév=’a hosszú parancsodnak a paraméteresneve’

alias beállítás

alias nano=’nano –c –B’

Beállítottuk, hogy a nano szerkesztő sorszámozással és biztonsági mentéssel induljon.

Listázd ki az alias-okat és ott fogod látni az általad beírt sort is.
Próbáld ki. Hát nem csodálatos?!
Igen, de figyelem! Ahogy kiléptél a Shellből ez a sor eltűnik. :-(
Aggodalomra nincs ok! Most megmutatom, hogy tedd ezt véglegessé.
A rendszerben beállított, alias-ok a .bashrc fájlba vannak beégetve. Ebből a fájlból kettőt is találunk. Egy a /home/felhasználó könyvtárunkba és egy a /etc/ könyvtárba van. Ha megnézzük annak a fájlnak a tartalmát, ami a saját könyvtárunkba van, megtaláljuk az úgymond rendszerbe égetett alias-okat. Az új alias-okat akár elkezdheted ide is beírogatni. De ha figyelmesen átolvastad a fájlt, akkor látni fogod, hogy fel van készítve arra, hogy a saját alias gyűjteményedet beolvassa. Keresd meg a következő sorokat:

if [ -f ~/.bash_aliases ]; then

    . ~/.bash_aliases


Ha nem találod a fenti sorokat, akkor írd be.
Most hozzuk létre a .bash_aliases fájlt

nano  ~/.bash_aliases

Írjunk is be egy pár rövidítést:

alias cls=’clear’

A Windowsból megszokott képernyőtörlés.

Ezek után lépjünk ki, majd megint lépjünk vissza és ellenőrizzük, hogy milyen szépen hallgat a Linux a varázsszavakra.


Hi there colleagues, good paragraph and pleasant arguments commented here, I am truly enjoying by these.

my web page ... taller than you mamamoo live

Magnificent goods from you, man. I've understand your stuff previous to and you are just extremely great.

I really like what you have acquired here, really like what you are stating and the way in which

you say it. You make it enjoyable and you still care for to keep it smart.

I cant wait to read much more from you. This

is actually a great web site.

Look into my weblog - talleres

Hi there, its good paragraph concerning media print, we all understand media is a impressive source of data.

my website minecraft

May I just say what a comfort to uncover somebody that genuinely understands what they're talking about on the internet.

You certainly realize how to bring a problem to light and make it

important. More and more people ought to look at this and understand this side Tale of Ragnar Lodbrok your story.

It's surprising you aren't more popular because you certainly have the


Hey There. I discovered your blog the usage of

msn. This is an extremely smartly written article. I'll make

sure to bookmark it and return to read extra of your useful information. Thanks for the Shorter You Get post.

I will certainly comeback.

I'm gone to say to my little brother, that he should also visit
this web site on regular basis to take updated from latest information.

Have a look at my blog ... Funny Picture

Thank you for the auspicious writeup. It if truth be told was once a leisure account it.

Glance complicated to far delivered agreeable from you!

By the way, how can we keep in touch?

my site: Tallery Mountain

I delight in, lead to I discovered exactly what I was having a look for.

You've ended my 4 day lengthy hunt! God Bless you man. Have a great day.


My webpage ... Talluri Rameshwari

It's perfect time to make some plans heel lifts for sandals the future and it's time to be

happy. I've learn this put up and if I may I wish to counsel you few interesting things or advice.

Maybe you can write next articles relating to this article.

I wish to read even more things about it!

Howdy! Do you use Twitter? I'd like to follow you if that would be ok.

I'm definitely enjoying your blog and look forward to new updates.

Also visit my blog ... heel lifts zombies run

Have you ever thought about adding a little bit more than just your articles?

I mean, what you say is fundamental and everything.

But think about if you added some great pictures or videos to

give your posts more, "pop"! Your content is excellent but with

pics and videos, this blog could certainly be one of the greatest

in its niche. Awesome blog!

my web site :: taller automotriz

WOW just what I was looking for. Came here by searching for Tatler (1709 journal)

Have a look at my page ... Talleres de Perico

Howdy would you mind letting me know which webhost you're using?

I've loaded your blog in 3 completely different web browsers and I must say this

blog loads a lot faster then most. Can you suggest a good web hosting

provider at a reasonable price? Thank you, I appreciate it!

Look into my web page Talleres (Monterrey Metro)

Thank you, I've recently been searching for information about this subject for a long time and yours is the greatest I have found out

till now. However, what concerning the conclusion? Are you

positive in regards to the source?

Also visit my weblog ... taller de afilar cabimas

Thank you for every other magnificent post. Where else could anybody get that type of information in such an ideal way of writing?

I've a presentation next week, and I am at The Tallest Man on Earth search for such info.

Howdy! Do you use Twitter? I'd like to follow

you if that would be okay. I'm undoubtedly enjoying your blog and look forward to new updates.

Check out my homepage - taller shoes

This is really interesting, You're a very skilled blogger.

I have joined your feed and look forward to seeking more of your fantastic post.

Also, I've shared your web site in my social networks!

Feel free to surf to my web site ... Tallest building on Earth

I am really inspired with your writing talents

and also with the structure in your weblog. Is this a paid topic or did you modify it yourself?

Anyway keep up the nice quality writing, it is uncommon to look a great weblog

like this one these days..

My website: shoe lifts for men

Why users still make use of to read news papers when in this technological globe all is

presented on net?

Here is my blog ... shoe lifts for men 1 inch

Fantastic goods from you, man. I've understand your stuff previous

to and you are just extremely excellent. I actually like what you have acquired here, really like what you're stating and

the way in which you say it. You shoes that make you taller it entertaining and you still care for to

keep it smart. I can not wait to read far more from you.

This is actually a tremendous web site.

I'd like to find out more? I'd love to find out some additional information.

my webpage: Free Online Dating

My family every time say that I am wasting my time here at web, but I know I

am getting experience daily by reading thes nice posts.

Check out my weblog ... Tallegalla State School

I have been exploring for a little for any high-quality articles or weblog posts on this sort of house
. Exploring in Yahoo I ultimately stumbled upon this
web site. Reading this info So i am happy to express that I have an incredibly just right uncanny feeling I found
out just what I needed. I such a lot for sure will
make certain to don?t overlook this web site and give it a look regularly.

Look at my homepage: Juicy Pussy Lips

Hi to every body, it's my first visit of this weblog; this webpage includes awesome and

really excellent material in favor of readers.

my page Taller de Gráfica Popular

I think this is among the most significant info for me.

And i'm glad reading your article. But wanna remark on some general things, The web site style is great, the articles is really

excellent : D. Good job, cheers

Also visit my web-site :: get taller

Attractive component of content. I simply stumbled upon your site and in accession capital to assert that I get actually loved account your blog posts.

Anyway I will be subscribing for your augment or even I achievement you get right of entry to persistently quickly.

Check out my weblog; Apotek Online (Johnson)

Excellent post. I was checking constantly this blog and I am impressed!

Very helpful info particularly the last part :) I

care for such info much. I was seeking this particular information for a

long time. Thank you and good luck.

Take a look at my homepage chocolate

It's great that you are getting thoughts from this post as well as from our

dialogue made at this place.

My blog post; slimmer

Pretty section of content. I just stumbled upon your web site and in accession capital to assert

that I get taller in english fact enjoyed account your blog posts.

Anyway I'll be subscribing to your augment and even I achievement you

access consistently quickly.

This design is incredible! You definitely know how to

keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well,

almost...HaHa!) Fantastic job. I really enjoyed what you had to say, and more than that, how you presented it.

Too cool!

Feel free to surf to my page :: Shoplifts

It's awesome for me to have a website, which is beneficial heel lifts in boots favor

of my know-how. thanks admin

of course like your website however you need younger 21 days to a foam roller physique

check the spelling on several of your posts.

A number of them are rife with spelling issues and I in finding it very bothersome to inform the truth

however I will surely come back again.

I'm really enjoying the design and layout of your site. It's a very easy

on the eyes which makes it much more pleasant

for me to come here and visit more often. Did you hire out a developer to create your theme?

Excellent work!

My site Zarrin Dasht

Greetings! Very helpful advice within this post!

It's the little changes that produce the greatest changes.

Many thanks for sharing!

Have a look at my web site - heel lifts walmart

I visit everyday some web pages and sites to read posts, except this website provides quality based


Feel free to visit my blog ... Tallensi

Thanks in favor of sharing such a fastidious idea, piece of writing is good, thats why i

have read it completely

my web blog - Tally stick

It's a shame you don't have a donate button! I'd most certainly donate to this brilliant blog!

I suppose for now i'll settle for book-marking and adding your RSS

feed to my Google account. I look forward to new updates and will share this blog with my Facebook group.

Chat soon!

My website - heel lifts cvs

whoah this weblog is excellent i like studying your

articles. Keep up the great work! You recognize, a lot of individuals are searching round for this info, you can help them greatly.

my web site :: taller手電筒

Hi there, yeah this post is actually nice and I have learned lot

of things from it concerning blogging. thanks.

Check out my page :: Tallebudgera Valley

An impressive share! I've just forwarded this onto a coworker who was conducting a little homework on this.

And he in fact ordered me breakfast simply because I found

it for him... lol. So let me reword this.... Thank YOU for the meal!!

But yeah, thanks for spending time to talk about this matter here on your website.

Here is my web site taller bmw sevilla

Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your website?

My blog site is in the very same niche as yours and my visitors would definitely

benefit from a lot of the information you provide here.

Please let me know if this ok with you. Appreciate it!

my webpage: taller mecanico

Genuinely no matter if someone doesn't be aware of after that

its up to other users that they will help, so

here it occurs.

Have a look at my homepage; heel lifts in boots

Hello it's me, I am also visiting this site regularly, this web page is actually good and the visitors

are truly sharing good thoughts.

Feel free to visit my page ... Talley Abbey

What's up, of course this post is genuinely pleasant and I have

learned lot of things from it regarding blogging. thanks.

Take a look at my web-site Genuine Leather

I've been surfing online more than three

hours today, yet I never found any interesting article

like yours. It is pretty worth enough for me. Personally, if all web owners and bloggers made good content as you did, the web will be a lot more useful than ever


My blog post: Tale of Ragnar's Sons

Hello, I enjoy reading all of your article. I wanted to write a little comment to support you.

Here is my web page Talluri Rameshwari

If you are going for finest contents like myself, only go to see this web site everyday as it gives feature contents, thanks

My blog - heel lifts walgreens

After looking over a few of the articles on your web page,

I really appreciate your way of writing a blog. I saved it to

my bookmark site list and will be checking back in the near future.

Please visit my website as well and tell me your opinion.

Stop by my page :: shoe lifts

I am not sure where you're getting your information, but

great topic. I needs to spend some time learning more or understanding

more. Thanks for excellent info I was looking for this information for my mission.

Here is my page; Table Rock (Ada County

Your style is so unique compared to other people I've read

stuff from. Many thanks heel lifts for men posting when you've got the opportunity,

Guess I'll just book mark this page.


Új hozzászólás

Filtered HTML

  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • Engedélyezett HTML jelölők: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.

Plain text

  • A HTML jelölők használata nem megengedett.
  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
Ezt a mezöt ember.fia nem.tölti ki.
Ez a művelet azért szükséges, mert nem szeretnék kéretlen bejegyzéseket az oldalra.
Írd be a képen látható karaktereket. Köszönöm.