We turn now to topical questions and we start with question number one from John Finnie. Thank you, Presiding Officer. To ask the Scottish Government what its response is to report that widespread disruption to CalMac's services is anticipated until the end of May. Minister Humza Yousaf. CalMac is trying its best to mitigate the impact on the network over the period to the end of May. It is redeploying vessels within the fleet to ensure that lifeline connections are maintained to the communities that serve in the Clyde and Hepaties network. The MV Clansman was expected out of DryDoc on 11 March, however, damage to the propulsion system and rudder has led to delay with essential repairs required. Safety must, of course, be my and indeed CalMac's top priority with the delivery of services. However, I also fully understand the frustration of communities on the Clyde and Hepaties network, which rely on their ferry services. The frequency of service for some routes may, however, be reduced from normal during the period of disruption and have been amended to suit. CalMac has also secured an extension from the AMCA, the Maritime and Coast Guard Agency, for the MV Hebrides passenger certificate, thereby avoiding two major vessels being out of the fleet at the same time. The MV Locke-Brizda will commence service in the Mleig armadale route later today as well. Finally, I will continue to closely monitor the situation and even today have spoken to the chair and indeed the interim director of CalMac. I obtained figures from CalMac this week showing that there were 3,852 cancellations in the last five years because of the result of mechanical failures. The average age on the Clyde and Hebrides ferry service route is 23 years, and older vessels need longer periods of repair and dry dock. Lack of co-ordination between Caledonia and Maritime Assets Ltd, who own and maintain the vessels in CalMac, is clearly a factor. Minister, do you believe that, given the huge scale of disruption, the vessel's replacement and deployment plan, developed by Seymal and CalMac in 2016, and published in January, is fit for purpose? Minister, I'm using it. Yes. The point of the vessel's plan, of course, is that we have a road map for the coming years in order to address the ageing fleet issue that he quite frankly mentions. Of course, what we have seen is a huge growth in terms of island tourism, and that, of course, has been helped by RET and the introduction of RET. To extent, we have seen 37 per cent vehicle growth over the past five years. When there are helpful suggestions around our vessel redeployment plan, then, of course, I will happily sit down with the member and take his suggestions. However, the Government is investing in vessels, the latest of which, of course, he knows, are being built on the Clyde, where we have brought commercial shipbuilding back onto the Clyde. The sooner, of course, that they are completed, the better. What we can do in terms of a short-term solution to some of the issues that are being faced in the Clyde and Hebrides Network, I have asked CalMac to look at what additional sailings can be put on in order to mitigate some of the disruption that we have seen. John Finnie. I thank you for those comments. Minister, you will understand that frustrations remain nonetheless. The Scottish Government's ferry plan for 2013-2023 recommended replacement of the majority of the CalMac fleet. However, SEMAL is entirely responsible for design and procurement. Do you, Minister, see a role for the public sector operator and trade unions earlier in the procurement process? Finally, what overall assessment has the Government made of this disruption to our island communities, please? I certainly would not be adverse to that at all, that suggestion around being involved in the procurement at an earlier stage. I think that it is a good one, so let me go back and reflect on how we do that. I just go back to my central point that we are investing, and we have invested in, I think, around about eight vessels in our time since 2007. We have got two that are being built, as I say, at Ferguson's. Then we have also committed, of course, that the next vessel will serve the island route for which I have helpfully on my left, of course, the MSP, which represents that island. We will continue to invest, but his point is not lost to me. There is frustration when there is an issue or a breakdown on the network. It can have quite catastrophic results, so our immediate priority in CalMac is to ensure that lifeline services can continue. CalMac is also very aware of particular pinch points, and it wants to ensure that, when it comes to, for example, the whisky festival in Islay or the World War I commemorations that are taking place, that there are either additional salings being put on or, in some respects, additional capacity wherever possible. The points that the member raises are the ones that I will reflect on. Kate Forbes The Mallag to Armadale crossing has been hit particularly hard by the domino effect of CalMac moving vessels around the network. It is a reminder of the difficult season of summer 2016. It is costing local businesses and residents. I am sure that the minister will agree that that is concerning. Will he raise that with CalMac and urge him to find an immediate solution for Sky and the Haber residents? Minister I entirely agree that there is an issue of frustration there. I have met the various stakeholders in Mallag Armadale on a number of occasions, including the MSP and the local MP, to discuss that. I have to say that, in 2017, we were in a much better situation than we were in 2016, and it feels, unfortunately, that we have gone somewhat backwards. That is not an acceptable situation at all to be in. However, I hope that she is reassured by the news that I gave my opening remark and answer, which was that Loch Bruzda will commend service on Mallag Armadale today, which will help, of course. However, we have to look at Mallag Armadale at the longer-term solution, and again, looking at what vessels will be built in the future will undoubtedly be part of that. Donald Cameron Thank you. The minister will be well aware of the current disruption based on Oban to Cull and Tyree service, the Mallag to Loch Boysdale route and the address into Campbelltown summer service. Can the minister explain why the Government has let the situation get completely out of hand, not least since islands and communities are now being pitted against each other in a competition for ferries? I do not agree with the premise of his question. I should say that the services that he mentions have been raised with me by Mike Russell on a number of occasions, and we are working closely with constituency MSPs and indeed MPs. I was recently on both Islay and Dura taking part in a transport summit on some of those issues, as well as those that affect a number of other islands on the Clyde and Hebrides network. It is not about—I should say that it is very simplistic, but frankly, it is a very immature response to what is a very serious and complex issue. We have a huge growth, as I have already explained, 37 per cent in terms of vehicle traffic over the past five years, which is great because we are seeing more people travelling to our islands. We then have to invest in ferries, which we have built eight and another two that we are building at Ferguson's. We cannot magic them up overnight, but the solutions that we can do is to look out on the open market to see where we can charter additional tonnage, and we should do that, and we are doing that. That equally comes, of course, at a cost, and they have to fit into the ports and harbours. Then, of course, we can also look at additional sailings, which we are actively and CalMac are actively doing. The idea that one island is getting pit against the other is language that I would counsel the member to perhaps avoid in the future, because that is not what is happening here. What we are trying to do is to make sure that lifeline services in the face of disruption can be preserved, and I hope that, as I say, we can find some solutions to that. David Stewart Thank you, Presiding Officer. The minister will be well aware of my high regard for CalMac, but the CalMac community board has recently expressed concern about disruption caused by ferry failures in the fleet. As we have heard from John Finnie, would the minister share my assessment that the age of vessels is a key concern, eight or more than 30 years old and half or more than 25 years old? Could the minister discuss with CalMac and Seamall the resilience of the fleet and the related issue of maintenance and dry docking? I thank Dave Stewart for the tone of his question, which, in stark contrast to the one that we heard previously, understands the complexity of the issue. The ageing vessel fleet is an issue for us. We have invested in vessels more than in previous administrations, so we have invested in vessels and will continue to invest in vessels, but he is absolutely right. The point that he makes about dry docking demonstrates his understanding of the issue that I appreciate, which is that, as the age of the vessel increases, it may well have to spend longer to maintain dry docking. CalMac has to fact that in order to minimise disruption. That is the conversation that CalMac is having. As well as investing in additional tonnage, vessels and sailings, I should say, but also actively looking at how we can spend money to refit, refurbish or even re-engineer vessels to get to sweat out the asset for even longer. All those are a part of the mixing solution, but none of them come without a price tag, and many of them are not overnight solutions either. To ask the Scottish Government what its response is to reports that the number of doctors who are seeking early retirement has doubled in the last eight years. Under this Government, NHS staffing and doctor numbers have increased to a record high level. In fact, in the last eight years, the number of doctors working in our NHS has increased by more than 1,800. That is an increase of more than 17 per cent. Although the recently shared figures on early retirement are for NHS staff in general rather than doctors specifically, we know that there are a number of factors that can lead to someone choosing early retirement. For example, for GPs, we have heard previously that the UK Government reducing the lifetime allowance for pensions tax relief in recent years has led a number of GPs to take early retirement. We have outlined a number of actions through part 1 of our health and care workforce plan to increase the number of opportunities for people to train as doctors. We have also created an additional 140 medical training places since 2017. We will build on that when we publish part 3 of the plan for primary care next week, including reiterating our aim of increasing GP numbers by 800 over the next decade. Every day, we hear stories of NHS staff who are overworked, undervalued and underresourced. Figures show that, over the last eight years of this SNP Government, the early retirements of NHS staff have doubled. In the cabinet secretary's own backyard of crisis-hit NHS Tayside, it is more than trebled. That is shameful. Can I ask the cabinet secretary to stop the complacent responses and instead give Scotland a credible workforce plan? Can we have a credible workforce plan from a credible health secretary? Can I say that every day, our NHS delivers a fantastic service to the people of Scotland, which is why patient satisfaction rates are at a record high. In there, Anasawa asked about the workforce plan. As I said to him in the initial answer, we have already published parts 1 and 2 of the workforce plan. Part 3, focusing on primary care, will be published next week. That lays out a comprehensive plan of how we are going to grow all parts of the workforce, including the medical workforce. As I said in my initial answer, we have created an additional 140 medical training places since just last year alone. I think that all of that taken together is a good news story. If the workforce commission that Anasawa established over a year ago has any good ideas to bring forward when it eventually reports, we will look forward to having constructive input to the workforce planning debate. The reality is that those problems are a result of years of mismanagement. The cabinet secretary mentions NHS staff. She is right that we should thank our staff, but our thanks is not enough. NHS staff member after NHS staff member telling us about the pressure that they face every single day. As Peter Benny of the BMA put at the weekend, doctors are under pressure like never before. That mismanagement was further highlighted this morning at health committee where it was revealed that NHS Lothian alone needs £31 million more money just to keep existing levels of service. When will the cabinet secretary get her head out of the sand and recognise that we need meaningful action now, not the same old tired excuses? Cabinet secretary, it is time to step up or step down. Shona Robison Every day, our NHS staff deliver a fantastic service. Of course, what Anasawa failed to mention was that the BMA acknowledged that we have more staff and more resources, but they also not unreasonably pointed out that demand is increasing, which is why we are providing record funding to Scotland's NHS. We have recently announced further investment of more than £350 million in Scotland's front-line health boards, including additional investment in service reform and improvement of £175 million in order to meet that increasing demands because of an ageing population. As I said, NHS staff numbers are at a historically high level but up by more than 13,000 under the Government, with more doctors, nursing and medwifery staff now delivering care for the people of Scotland. We are expanding that with a further 55 undergraduate medical training places. As I said earlier, we have created an additional 140 medical training places since last year alone. Of course, we are committed to 800 more GPs over the next 10 years. I think that, taken together, that is a pretty good package of workforce planning. Sandra White Thank you very much, Presiding Officer. I have recently visited Grauselroyal infirmary in myself, and the services have nothing but praise for the staff there. I think that it is time that we started to say more of that instead of degenerating the staff in the workforce there. As the minister mentioned about shortages, which is obviously mentioned by Anna Sarwar, if the minister shares my concerns about the potential impact of Brexit, what effect will that have on recruiting and retaining staff in our NHS? Shona Robison Of course, we are concerned that Brexit is already damaging recruitment and retention of EU staff. In order to mitigate that, we have committed to looking to pay a settled status fee for any EU citizen working in devolved public services in Scotland. That will help us to keep vital workers in the NHS. Of course, wherever staff they come from in the NHS do a fantastic job, the message is that we want to keep people working here. Wherever they come from, they have a huge role to play in our NHS, and they are most welcome. We want them to stay, and we want others to join us. The Presiding Officer Thank you. That concludes topical question.


All right, so I get a lot of questions about what kind of stuff I actually have in my bash RC You can get my bash RC of course at my github links in the description or link to my website Which has a link to it or something like that But in this video, I'm going to talk about what kind of stuff I have in my bash RC what kind of stuff I might recommend for newer users to have in there and Just other stuff about it. I will say over time Some people you will see on the internet will have bash RCs that are like a thousand lines long Mine is 61 right now, and I was looking at this just a second ago And there's probably a lot more I could clear out of this thing But I so I have the mentality of keeping it very relatively short But I'll tell you what I have in addition to the bash RC, which I'll talk about in just one second I guess it's also important to talk about your bash profile So if you don't know if you're total newbie, right?  I will say I mentioned it because it's been a problem for me So this is you can have a bash profile bash underscore profile You can have a just normal dot profile Which runs whenever you log in on a TTY and you don't have a bash profile Or if you just have SA any kind of other shell or something like that you have Z profile for Z S8 you have X profile if you log in In a graphical environment and I find that that all gets very confusing So if you're like me and you often switch between Login types or shells or something like that. I find it very helpful to do the following and that is I Really only have one profile file and then I have my bash profile X profile Z profile They all are just shortcuts. They all all are links that go to this one profile file So that's just one thing that I want to this has caused me problems since other people use my dot file So I just want to say that's what I do. So anyway, you're looking at my profile file here What do I have here? I have a lot of environmental settings set my editor set my terminal browser A lot of these are specific to my own dot files I have like I set my bibliography file as an example Just because there are a lot of times I'm running commands and I want to output stuff to my bibliography file And that is this is like my LaTeX bibliography file where I have like everything all the sources that I cite And I want to output stuff to this file, but it's too hard to write out the whole location So I just use a kind of environmental variable, you know, whatever so I have stuff like that I add my scripts folder to my path if you're a newbie, right? So your path or your path variable is a list of all the directories like From which you can run commands without Giving the whole location, right? So if I run RM, I can run RM from wherever even though It happens that RM is specifically in user bin So by adding a directory to your path directory, you don't have to write out the full location of the Command or script or whatever That's just the basic note if you don't know some people don't I get a lot of questions about it So might as well mention it. So other things I have here In my pro again, this is the profile. This is only going to run when I log in This just says if I log in on the first TTY and I'm not running I3 already Start the graphical environment just because I don't have to type start start X myself because I pretty much always want the graphical environment if that doesn't run or whatever and the profile continues, I also if I'm I'll be in the TTY remind you. I also want Since I'm a Vim user. I want to have Caps Lock remapped as escape. So escape is very accessible so I can get back the normal mode very easily So I actually have it load Let me just show you what this looks like. I have this little I have this little file here TTY maps that lists out Keycodes that I want to remap in the TTY So I just have it switch and basically just this just says switch caps and escape so if So whenever I'm in the TTY whenever I press caps lock it actually Performs as an escape. So I like having that setting for Vim and then I also Load the wall color scheme in my TTY. So that way even if I log in in the TTY I'm gonna have this kind of color scheme that's easier on the eyes At least easier than the default as far as I'm concerned. So that's what I have in my profile Let's actually talk about the bash RC. So again, this is gonna run on log in and bash RC is gonna run pretty much whenever you bring up a Any kind of bash or terminal running bash So basic settings I have here one thing I found You may have noticed this with a lot of terminals that is if you type control s that actually pauses your terminal and you can Well, I might as well No point in showing you what that looks like you just it pauses the terminal It ceases all inputs and you can type whatever and nothing's gonna happen until you press control q And then it's gonna input all those characters that you you put in now this feature is I mean It's it's standard in terminals, but I don't like having it just because You know a lot of times I'll accidentally press control s or something or maybe you might want to remap control s To save in Vim or something like that. I Find this so this command just disables control asking and control q. That's all that's for I mean it technically does other stuff But in practice, that's what it does Another thing I have that a lot of people like everyone said I'll hear someone who who likes ZSH Be like oh ZSH is so great You can just type the directory name and it automatically CDs to it I don't know why people say that because you can do that and bash by just putting in this setting So if I want a CD to my articles directory, I can just type in articles now. I'm there great So that's that and I also have my history size my bash history. I have it infinite. I Why not I figured I've been doing this for a couple months now and I find it pretty useful so basically all of the commands you log are gonna be in bash history anyway and This just keeps it from deleting old commands now. I've been using it for a couple months like this And I want to say it's around How much is it? Well, who cares? It's like around 60 kb or something like that It's so hasn't gotten too big. It's not gonna get into mechs and mechs and mechs I figure I'm gonna reformat my computer before that happens, but it doesn't matter I got a big hard drive anyway But yeah, so that that's something you might want to contemplate and something I don't have in my bash RC But I've thought about doing is you can also put time codes for all your commands in your bash history So if you're running a server or something that might be really useful if something goes wrong You want to check what kind of commands you've run in the past? Now one other other thing here, so this is a bunch of lines here. This sets my my prompt Here so it looks it has this particular color scheme and look appearance, but also What this if statement does? Okay, so one thing I should probably explain one thing that I do is If you go to your Etsy Etsy slash password file you can Change the home directory of different users and one crazy thing that I've done. I don't think this is I don't recommend this is safe It's never it's never bit me in the behind But one thing that I've been doing is I've been using my root user I've given it the home directory of my main user So whenever I run as my root user It actually uses the dot files of my main user and that solves that clears up a bunch of headache in My workflow, I'll just say that I don't know if it's a hundred percent safe I don't know if I recommend doing it, but the reason I have this if statement here is if I switch to the root user What this if statement does is basically just makes the prompt capital and that's just so I know so it's Visually obvious if I'm running something as a root user, so I don't run any commands that I think are questionable That's just what that does and again this only matters if you have I mean if you just want my prompt You can just steal this part right here and throw it in your bash RC But I just want to have the prompt different for the root user and that that's why I do it, you know Anyway some basic aliases and stuff so one thing on aliases Or you know aliases if you don't know they're just shortcuts for commands if you're a new user, right? So I have to type pseudo Pac-Man a whole lot because I'm often using Pac-Man for stuff And I just abbreviate that as P so whenever if I want to upgrade or something like that I can just do P and then give it the options now one thing if you're a new user and This applies of course the Arch Linux running Pac-Man or maybe Ubuntu or Debbie and running app get or something like that If you're a new user, here's what a lot of new users will do okay. Let me let me just show show you alright Let's say you're running Ubuntu Okay, so pseudo apt get install I know that's the the the command for install a program So I'm gonna give an alias for it that is install or something like that or oh upgrade is you know I want to pseudo app get blah blah blah and What is it upgrade or whatever? So the tendency of a lot of new users is to make aliases for very specific Commands or subcommands specifically because this is apt get and then a sub command or however you want to think of it A lot of users will be tempted to make aliases for very specific commands And I sort of recommend against that just because I mean I've one of all two reasons first off.  So when I The reason I say this is most of my aliases are mostly just abbreviations of things that General commands like all of these are just commands right system CTL them Ranger stuff like that. I don't recommend Making aliases for subcommands or commands with specific options unless you just always want those options So I don't recommend you having an alias for upgrade and alias for install program I recommend you just learn the command And learn the syntax to that command and if you want to abbreviate it If you want to abbreviate the command itself in an alias or add in pseudo that's fine But I think it's not a super good habit to put a whole bunch of the very specific command in an alias I I just but in my experience keep in mind. I did this when I first started using Linux or any kind of Unix system and I just found that it was it wasn't a good habit. I didn't really Learn things as fast and I got in the the mindset of not looking at the command itself and learning about it But making aliases to do these specific things that I wanted and that's not a good habit So pretty much all of my aliases are abbreviations now if you do want to put specific options That's fine, but I recommend to do it only when you want when you always want those options So I have an alias for make directory and I give it the P and the V options So P means make apparent directory if If that doesn't exist and V means visual just give me feedback like the directory was created now I pretty much always want those Options when I run make directory so I can have an alias for that. I don't mind that and I have some down here I'll talk about those in a second But in general just I recommend against making aliases for very specific commands that you're going to run in very specific Circumstances I recommend against that just use aliases to abbreviate or Always enforce some options and nothing else So similar to the make directory thing. This is other options that I always like having So LS I give it a couple. Let's see. I think this is no quotes and this is human readable file Sizes and I also have LS have color auto and group directories first. So group directories first means Pretty much what it sounds like. I mean, let's say I Let's say I LS or yeah LS my documents la tech folder or something like that It's going to First off, there are sub folders here. So it's going to list the folders first. That's group directories first And you'll also see well, there's not color here, but there's bolding that's different here and that's part of that Excuse me So I really just always want color or well I should say color auto means if you output the terminal it's going to appear as color But if you output LS to like a file, it's not going to put the color codes with that and you don't want that So I have color auto for that and same thing with grep. Let's say I have Let's say I grep a file. Let's say grep Well, we'll grep the sequence grep from my bash rc All right, so that just automatically highlight if you put color auto that'll just automatically highlight all the matches So that's something you might want to contemplate and another thing I have is this isn't a cat command but sometimes I want to cat out a a file with the Sort of file high or syntax highlighting And I have this command now. This isn't cat, but this is highlight Which is another command you can download which has the option of outputting stuff in particular syntax So what you can do is let's say I um, let me think of a file that I could do this to um Let's say I run the alac cat on scripts Shortcuts that sh and that's going to cat it out in effect. I mean again, it's not really cat It's really highlight, but it's going to output this file with all the syntax highlighted Now the way highlight works I'll just go and say that it's not going to work if you if I run it on the Let's say my bash rc Excuse me My bash rc here Um, it's going to say I don't know what syntax to run So it's not going to or actually maybe maybe it'll work with force I don't even know Okay. Yeah, no, it doesn't work. Never mind Yeah, so So this will only work on files that have a particular extension and it can get the file type from the extension and assume the syntax Otherwise you have to manually give it syntax and at that point it's not worth it But this is just a nice alias to have just to have it just because occasionally I want to output something in with the file extension and see what it looks like With syntax highlighting Anyway, some other um things that I have So youtube download So if you don't know what youtube dl is i mean it does exactly what it sounds like you just run this command and run it on a youtube link to either a channel Or a video or a playlist and it downloads that channel or video or playlist So I have no excuse me. So I have a couple alias aliases for it I always want these settings So add metadata means when I download the video Put the meta put the metadata with the file, you know be that the author name the video title and uh stuff like even I think it even has like view count and stuff like that and um, I also give it these other options I is let's see. What is I I is uh ignore errors Yeah, so if like a video in a playlist mechs messes up it continues anyway and c is for continue if you um If let's say like the download breaks in the middle You can just run it rerun the command and it's going to pick up where it's starting And so I have youtube yt for uh youtube dl and yta for uh download with audio And and you might say okay. Well this sort of quantum uh contradicts what you said before and in a lot of ways Well, the idea behind it is I have to type all of this I'm gonna want this every time I run youtube dl and it'd be a pain just to add in that extra option So I just have two aliases for it. Uh, but I know youtube dl by heart. Anyway, so that's fine But you can check out the manual for it if you want to add in some other options or something It has there are some other cool stuff. You can have it download thumbnails and stuff Um, aside from that, I also have youtube viewer, which I just abbreviate as capital y capital t And I have some other stuff. I don't actually use this stuff anymore. I used to have speedometer Um, I show you I might still have this installed right so I can see if uh Yeah, I still have speedometer installed and it just gives you, uh, your well, it's not loading anything right now It gives you your internet usage or whatever. So Oh, no, I'm not an ethernet. That's why never mind Um, but I don't actually use this, uh, and the only reason I had these aliases is because I'd always forget what profiles I had on whatever computer I'm using so I just have them Okay, I got mail. I just have them in my bash rc Um, so the reason I have these here are not necessarily because I can't remember speedometer, but because I can't remember my, uh Uh, whatever profiles I have, um on each of my computers Anyway, star wars, uh, you can run that and see what happens and the only other things I have Is a couple copy commands for la tech. So I have la tech templates And I sometimes just want to copy them to a new location to Create a new file. So I have shortcuts for that. Don't actually use this anymore. I should delete this and, um Source my shortcuts file. If you don't know what that is, you can check out my video on my short I think it's whatever last video I did on that. It was a couple videos ago And this thing right here, this is for downloading stuff from cy hub. If you don't know what that is. So basically Um, cy hub, you can feed it a link to an academic article that's paywalled and it will Cy hub will like, uh, bypass the paywall basically and this command you can usually Give it a link and it'll download the pdf But sometimes you need a capture or something so it doesn't actually work. So it's better to actually use cy hub manually Anyway, that's what I have in my bash rc I should say I have other stuff in my general environment But that is stuff that I have in specific shell scripts that are in my scripts folder Um, so you can check again, you can check my github out for that kind of stuff But anyway, that's this has been a preview of my bash rc and bash profile You can check them out on the github have any questions ask them and that oh perfect time to get a phone call I'll see you guys next time


And Australia isn't mints and words over who it believes is behind a cyber attack on Microsoft exchange servers in January. Australian Home Affairs Minister Karen Andrews has flatly accused China for the incident. The United States, NATO, the European Union, Australia, Britain, Canada, Japan and New Zealand have joined forces in a broad coalition of countries publicly calling out Beijing for hacking. Hello, hope you enjoyed the news. Please do subscribe to our YouTube channel and don't forget to hit the notification button so you get notified about fresh news updates.