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.

alias

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

fi

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.
 

Hozzászólások

Good info. Lucky me I discovered your website by chance (stumbleupon).
I have saved it for later!

Take a look at my website masterclass gordon ramsay review

Good response in return of this query with real arguments and telling all regarding that.

Also visit my web page: rezeptfreie schlaftabletten zum durchschlafen

Touche. Great arguments. Keep up the great work.

Check out my webpage; thảm xốp vân gỗ

What's Happening i am new to this, I stumbled upon this

Ihave discovered It absolutely useful and it has helped mme out

loads. I'm hopiing to give a contribution & assist other customers like its helped me.

Great job.

my webpage: lavanta

Wow! Afterr aall I got a weblog from where I know how to truhly obtain useful data regarding

my study and knowledge.

Have a look at my web site; Niğde otel

I blog quite often and I genuinely thank you for your information. This great article has truly peaked my interest.

I am going to take a note of your blog and keep checking

for new details about once per week. I opted in orthopedic heel lifts for shoes your Feed too.

We're having coffee at Nylon Coffee Roasters on Everton Park in Singapore.

I'm having black coffee, he's which has a cappuccino.

They're handsome. Brown hair slicked back, glasses that suited his face, hazel

eyes and the most amazing lips I've seen. He is well-built, with incredible arms

including a chest that stands out with this sweater.

We're standing in front of each other speaking about people,

what we want money for hard times, what we're seeking on another person. He starts saying that he's been rejected plenty of times.

‘Why Andrew? You're so handsome. I'd never reject

you ', I only say He smiles at me, biting his lip.

‘Oh, I do not know. Everything happens for grounds right.

But inform me, would you reject me, might you Ana?' He said.

‘No, how could I?' , I replied

"So, would you mind if I kissed you currently?' he was quoted saying as I recieve more detailed him and kiss him.

‘The next time don't ask, function it.' I reply.

‘I like how you think.' , he said.

For now, I start scrubbing my high heel in the leg, massaging it slowly. ‘What exactly do you want in females? And, Andrew, don't spare me the details.' I ask.

‘I really like determined women. Someone discussion what you want. Someone who won't say yes simply because I said yes. Someone who's not scared of attempting a new challenge,' he says. ‘I'm never afraid of attempting new things, especially when it comes to making interesting things in the sack ', I intimate ‘And I enjoy women that are direct, who cut through the chase, like you merely did. For being

honest, that is a huge turn on.

Also visit my blog :: דירות דיסקרטיות - https://5escortgirls.com/%D7%93%D7%99%D7%A8%D7%95%D7%AA-%D7%93%D7%99%D7%...

We're having coffee at Nylon Coffee Roasters on Everton Park in Singapore.

I'm having black coffee, he's creating a cappuccino.

They are handsome. Brown hair slicked back, glasses for his

face, hazel eyes and the most amazing lips I've seen. They are well developed,

with incredible arms and also a chest that shines with this sweater.

We're standing ahead of each other dealing with

people, what you want for future years, what we're looking for on another person. He starts saying that he's been rejected a lot of times.

‘Why Andrew? You're so handsome. I'd never reject you ', I

have faith that He smiles at me, biting his lip.

‘Oh, I can't know. Everything happens for an excuse right.

But let me know, utilize reject me, does one Ana?' He said.

‘No, how could I?' , I replied

"So, utilize mind if I kissed you right this moment?' he said as I purchase nearer to him and kiss him.

‘The next occasion don't ask, do it.' I reply.

‘I enjoy how you will think.' , he said.

At the same time, I start scrubbing my your back heel in the leg, massaging it slowly. ‘Precisely what do you like in ladies? And, Andrew, don't spare me the details.' I ask.

‘I really like determined women. Someone to know what we want. Someone that won't say yes because I said yes. Someone who's unafraid of trying a new challenge,' he says. ‘I'm never afraid when you attempt new things, especially on the subject of making interesting things in the sack ', I intimate ‘And I enjoy girls who are direct, who cut from the chase, like you simply did. To generally be

honest, that is a huge turn on.

Here is my weblog ... דירות דיסקרטיות

Thanks for your personal marvelous posting! I truly enjoyed
reading it, you will be a great author.I will remember to bookmark
your blog and will come back later on. I want to encourage you continue your great job, have a nice morning!

Also visit my blog post - Kho Sim

Hey! I know this is kinda off topic however I'd figured I'd ask.

Would you be interested in exchanging links or maybe guest authoring a blog post or vice-versa?
My blog goes over a lot of the same subjects as
yours and I think we could greatly benefit from each other.

If you happen to be interested feel free to send me an e-mail.
I look forward to hearing from you! Great blog by the way!

Feel free to visit my web page :: Science Journalism

Very rapidly this web site will be famous amid alll blog viewers, due to it's

fastidious articles

Feel free to surf to my web-site Vbet Giriş

That is a very good tip especially to those new to the blogosphere.

Brief but very accurate info… Many thanks for sharing thijs one.

A must read post!

My blog post; İskenderun yabancı dil kursu

My spouse and I stumbled over here from a different website

and thought I should check things out. I like what I see so

i am just following you. Look forward to checking out your web page

for a second time.

My web-site - http://alarmcb.cz/pl/5q0qr

What a stuff of un-ambiguity and preserveness of valuable familiarity concerning unexpected emotions.

my page - deneme bonusu

We're having coffee at Nylon Coffee Roasters on Everton Park in Singapore.

I'm having black coffee, he's possessing a cappuccino.

They are handsome. Brown hair slicked back, glasses for his face, hazel eyes and the most

wonderful lips I've seen. They are well built, with

incredible arms and a chest that is different for this sweater.

We're standing ahead of one another talking about how we live, what we

would like money, what we're looking for on another person. He starts telling me that he's got been rejected loads of

times.

‘Why Andrew? You're so handsome. I'd never reject you ', I only say He smiles at me, biting his lip.

‘Oh, I do not know. Everything happens for an excuse right.

But let me know, would you reject me, does one Ana?' He said.

‘No, how could I?' , I replied

"So, utilize mind if I kissed you at the moment?' he said as I buy nearer to him and kiss him.

‘The next time don't ask, do exactly it.' I reply.

‘I like how you would think.' , he said.

For the time being, I start scrubbing my your back heel as part of his leg, massaging it slowly. ‘So what can you wish in ladies? And, Andrew, don't spare me the details.' I ask.

‘I like determined women. Someone discussion the things they want. Someone who won't say yes simply because I said yes. Someone who's unafraid when trying something totally new,' he says. ‘I'm never afraid when you attempt new things, especially on the subject of making interesting things in the bedroom ', I intimate ‘And I like girls that are direct, who cut from the chase, like you may did. For being

honest, it really is a huge turn on.

my web page; דירה דיסקרטיות

It's an amazing article for all the online people; they will take advantage from it I am
sure.

Feel free to surf to my site ... Best CBD creams

I'm curious to find out what blog system you have been using?

I'm having some small security issues with my latest blog and I'd like to
find something more safeguarded. Do you have
any suggestions?

my page: disgusting porn

Excellent blog here! Also your website loads up

fast! What web host are you using? Can I get your

affiliate link to your host? I wish my site loaded up as fast as yours lol

Also visit my web-site kalıp altı iskele

Good web site you have here.. It's difficult to find good quality writing like

yours nowadays. I really appreciate individuals like you! Take care!!

my web-site :: want g

obviously like your website but you need to check

the spelling on quite a few of your posts. A number of

them are rife with spelling problems and I find it very troublesome to tell the reality however I will surely come back again.

Feel free to surf to my blog post: Rubber

Why viewers still make use of to read news papers when in this

technological globe all is available on web?

Have a look at my webpage :: tom cruise shoe lifts

We're having coffee at Nylon Coffee Roasters on Everton Park in Singapore.

I'm having black coffee, he's which has a cappuccino. He is

handsome. Brown hair slicked back, glasses that are great for his face,

hazel eyes and the most wonderful lips I've seen. They're well built,

with incredible arms and a chest that stands apart with this sweater.

We're standing in front of one another speaking about how we live,

what we want into the future, what we're trying to find on another person. He

starts telling me that he's been rejected a great deal of times.

‘Why Andrew? You're so handsome. I'd never reject

you ', I have faith that He smiles at me, biting

his lip.

‘Oh, I can't know. Everything happens for an excuse right.

But figure out, can you reject me, can you Ana?' He said.

‘No, how could I?' , I replied

"So, utilize mind if I kissed you today?' he said as I purchase more detailed him and kiss him.

‘Next occasion don't ask, do it.' I reply.

‘I favor how we think.' , he said.

For the time being, I start scrubbing my high heel as part of his leg, massaging it slowly. ‘So what can you enjoy in ladies? And, Andrew, don't spare me the details.' I ask.

‘Everyone loves determined women. Someone you never know what you want. Someone who won't say yes even if I said yes. Someone who's not scared of attempting new things,' he says. ‘I'm never afraid of attempting a new challenge, especially on the subject of making interesting things in the bed room ', I intimate ‘And I enjoy women that are direct, who cut with the chase, like you may did. To generally be

honest, what a huge turn on.

my page :: דירה דיסקרטיות

This paragraph gives clear idea in favor of the
new viewers of blogging, that truly how to do
running a blog.

Feel free to visit my website mua thùng xốp ở đâu tphcm

Kendinize mükemmel bir ev bulmak herkesin hayali olsa da,

bunu gerçekleştirmek için çok emek harcanması gerekebilir.

Emlak alım satımında arananlar arasında öncelikle ygun fiyatlar ve iyi

bir alan aranır. Bu nedenle, üCretsiz Emlak Ilan Ver emlak ilanlarının kullanılması, sizin için en iiyi seçenek olabilir.

I was curious if you ever thought of changing the structure
of your website? Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could connect with it better.
Youve got an awful lot of text for only having 1 or two pictures.

Maybe you could space it out better?

my web-site: buy more followers instagram

What's up, yes this piece of writing is actually pleasant
and I have learned lot of things from it concerning blogging.
thanks.

Here is my site ... best CBD oil

Hey there! I realize this is somewhat off-topic but I needed to ask.
Does managing a well-established website such as yours take a massive amount work?
I'm completely new to operating a blog however I do write in my
journal everyday. I'd like to start a blog so I will be able to share my
personal experience and thoughts online. Please let me know if you have any suggestions or tips for brand new aspiring blog owners.
Appreciate it!

Also visit my webpage; hộp quà tặng sinh nhật

This information is invaluable. Where can I find out more?

Look at my webpage: mobil ödeme ile nakit

This is my first time pay a visit at here and i am actually pleassant to read all at alone place.

Feel free to surf to my homepage :: taller shoes men

You should take part in a contest for one of the greatest websites online.
I will recommend this blog!

Here is my web page: เย็ด

I used to be recommended this website by means of my cousin. I am now not

sure whethwr or not this post is written via him

as no one else know such distinct about my trouble.

You're wonderful! Thanks!

Feel free to surf to my webpage; Turkish Travertine

I enjoy what you guys are usually up too. This sort of

clever work and coverage! Keep up the very good works guys I've

incorporated you guys to my personal blogroll.

Also visit my website :: Tatler

It is really a great and helpful piece of info. I am glad

that you just shared this helpful information with us.

Please keep us up to date like this. Thanks for sharing.

Here is my homepage shoe lifts target

Heya i'm foor the furst time here. I found this board and I to find It rewally helpful &

it helped me out a lot. I am hoping to provide something back and help others

like youu helped me.

Here is my website :: webpage

Howdy! This is my 1st comment here so I just wanted to give

a quick hout oout and tell you I genuinely enjoy reading

your articles. Cann you suggest any other blogs/websites/forums

that go over thee same topics? Thanks!

my web page ... Ankara web tasarım

I blog frequently and I genuinel thank you for your information. The article has truly

peaked my interest. I will book mark your blog and keep checking for new details about

once peer week. I subscribed to your RSS feed as well.

my web blog: vds satın al

You could certainly see your expertise in thhe article you write.

The setor hopes for even more passionate writers like you who are not afraid

to say how they believe. All tthe tme go after your heart.

Here is myy page; sex sohbet

Way cool! Some very valid points! I appreciate you writing this post plus the

rest of the website is also really good.

My web page; qr menyu

Have you ever thought about writing an e-book or guest authoring

on other websites? I have a bloog based on the same subjects you discuss and would really like

to have you share some stories/information. I know myy readers would value your work.

If you're even remotely interested, frel free tto shoot me aan e-mail.

Heree is my blog ... oyuncu donanım

What's up Dear, are you really visiting this web site on a regular basis, if so after that

you will absolutely get pleasant know-how.

Also visit my weblog :: shoe lifts inserts

Nice post. I was checking continuously this blog and

I'm impressed! Extremely useful info specially the last part :

) I care for such information a lot. I was seeking this certain info for a very long time.

Thank you and best of luck.

Also visit my blog; gw heel lifts

I don't even know how I stopped up right here, however I believed this submit was good.

I do not recognize who you're but definitely you are going
to a famous blogger in the event you aren't already.
Cheers!

Also visit my page gordon ramsay teaches cooking

Hi there to every single one, it's really

a fastidious for me to pay a quick visit this web page, it conwists of important Information.

Here is my web page ... Muratti fiyatı

I'm amazed, I have to admit. Seldom do I encounter a blog that's equally educative and entertaining, and let me tell
you, you've hit the nail on the head. The problem is something that
too few people are speaking intelligently about. I'm very
happy I found this during my hunt for something regarding this.

my web page ... giá bán thùng xốp

whoah this weblog is wonderful i love studying your articles.

Keep upp the good work! You realize, many individuals are

looking rounnd for this information, you could help

them greatly.

Also visit my web site ... fason kozmetik üretimi

Hey there! I just wanted to ask if you ever have any trouble with hackers?

My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no back up.

Do you have any methods to prevent hackers?

Also visit my web site: taller shoes men

Do you know what the most popular Halloween costumes are for 2018?

Check out http://destyy.com/wZ21KY and see what they are.
You’re really going to be surprised by number nine.
It’s definitely one you’re not going to forget any time soon.

If you would like to get much from this post then you have to
apply these techniques to your won blog.

my webpage; best CBD gummies

Hello there, I discovered your web site via Google whilst looking for a comparable
topic, your website came up, it appears good. I've bookmarked it
in my google bookmarks.
Hello there, simply changed into aware of your blog through Google, and found that it is truly informative.
I'm going to watch out for brussels. I will be grateful in case
you proceed this in future. Lots of people shall
be benefited from your writing. Cheers!

my blog Légalisation Pérou

I couldn't refrain from commenting. Well written!

My page :: profile

Oldalak

Ú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.
CAPTCHA
Ez a művelet azért szükséges, mert nem szeretnék kéretlen bejegyzéseket az oldalra.
Kép CAPTCHA
Írd be a képen látható karaktereket. Köszönöm.