256 Kilobytes

Shell Scripting

Type All Category Shell ScriptingContent on shell scripts, such as those written in Bash, PowerShell, the Bourne shell, and the Linux console. Tag All

Profile Photo - August R. Garcia

[Solved, Basically] Nautilus - Open Multiple Tabs from Command Line?

Answers in Shell Scripting | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

How to open multiple GUI file manager ta...

MoreThe answer is that there's no built in option to do this in Nautilus, although there are Stack Exchange threads discussing ghetto hack workarounds....
🗨 0
🐏 2
👁 399
Profile Photo - Whisky Fren
Profile Photo - Whisky Fren

Now I can use tab completion on my celeb...

MoreThe answer is that you're out of storage space. Possibly because of temporary files, but also possibly your hard drive is close to full. Or your serve...
🗨 0
🐏 0
👁 387
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Replydhcpd.conf Should be located at: /etc/dhcp/dhcpd.conf August R. Garcia,

dhcpd.conf

Wed, 17 Apr 2019 17:25:05 -07001 year ago1
🗨 1
🐏 0
👁 438
Profile Photo - Twostntle
Profile Photo - entrokamoI

Last Replyls isn't actually a built-in for Windows. It's a command meant to be used on Unix machines such as those running MacOS or Linux. If you want to achiev... entrokamoI,

ls isn't actually a built...

Wed, 20 Mar 2019 17:33:24 -07001 year ago1
🗨 1
🐏 0
👁 359
Profile Photo - NelsAmmo

Best PowerShell scripting tutorials?

Answers in Shell Scripting | By NelsAmmo

Published

Profile Photo - Japanese

Last ReplySince this was developed by Microsoft in 2003, it makes sense to start with Microsoft tutorials. Microsoft Virtual Academy (MVA) has many tutorials on... Japanese,

Since this was developed...

Wed, 20 Mar 2019 14:25:13 -07001 year ago1
🗨 1
🐏 0
👁 381
Profile Photo - sewlaw

What Bash scripting keyword terminates a case statement?

Answers in Shell Scripting | By sewlaw

Published

Profile Photo - Edgelady43069

Last ReplyThe Base scripting keyword that terminates a case statement is esac to end a case statement. Which is actually case spelled backwards. Edgelady43069,

The Base scripting keywor...

Wed, 20 Mar 2019 06:10:44 -07001 year ago1
🗨 1
🐏 0
👁 399
Profile Photo - pls_stop_this
Profile Photo - Zhaybib

Last ReplyMany people who are interested in learning PowerShell, will seek out a tutorial on the internet to help. Not all tutorials are created equal, but I wo... Zhaybib,

Many people who are inter...

Wed, 20 Mar 2019 05:10:56 -07001 year ago1
🗨 1
🐏 0
👁 311
Profile Photo - Some Guy

How to rename a file in Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyAn easy way to rename files in Linux is through the mv command, short form for the move. It is used to move files from one place to another but can al... roxblade,

An easy way to rename fil...

Wed, 27 Feb 2019 15:35:22 -08001 year ago1
🗨 1
🐏 0
👁 390
Profile Photo - Some Guy

How can I bulk rename files from the Linux terminal?

Answers in Shell Scripting | By Some Guy

Published | Last Update

Profile Photo - August R. Garcia

Last ReplyTry the rename command. Syntax: Basic syntax: rename (option) 's/oldname/newname/' file1.txt file2.txt Test a rename regex on all file... August R. Garcia,

Try the rename command. S...

Sun, 10 Feb 2019 23:19:24 -08001 year ago1
🗨 1
🐏 0
👁 462
Profile Photo - Some Guy

What is $1 in Bash/Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThese are basically positional parameters. They are invoked by shell's arguments. So, a simple script like ./code.sh Hi there will make three position... roxblade,

These are basically posit...

Mon, 04 Feb 2019 11:18:58 -08001 year ago1
🗨 1
🐏 0
👁 400
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply/var/www/html or /var/www/It goes for both kinds of installations: Ubuntu/Debian or CentOS/Red Hat/Fedora.You can also change this directory. Follow t... roxblade,

/var/www/html or /var/www...

Mon, 04 Feb 2019 11:16:20 -08001 year ago1
🗨 1
🐏 0
👁 441
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThis is the best certification out of all other Linux certifications. There are many other, but all those are specialized. Like the Red Hat Certified... roxblade,

This is the best certific...

Mon, 04 Feb 2019 11:12:28 -08001 year ago1
🗨 1
🐏 0
👁 405
Profile Photo - Some Guy
Profile Photo - roxblade

Last Replyapt-get update doesn't download or install anything. It just checks all your packages and sees if they have a newer version that can be installed. Thi... roxblade,

apt-get update doesn't do...

Mon, 04 Feb 2019 11:08:19 -08001 year ago1
🗨 1
🐏 0
👁 396
Profile Photo - Some Guy

What format does Linux use?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyShell scripting. It's not a programming language, but a scripting language. It's in use since the time of UNIX to run the various commands of *NIX-bas... roxblade,

Shell scripting. It's not...

Mon, 04 Feb 2019 10:53:31 -08001 year ago1
🗨 1
🐏 0
👁 390
Profile Photo - Some Guy

What is the best filesystem for Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe best file system for Linux distributions is ext2 or ext4. ext2 is sort of like FAT32 as it doesn't do journaling. ext4 does journaling, like NTFS.... roxblade,

The best file system for...

Mon, 04 Feb 2019 10:43:28 -08001 year ago1
🗨 1
🐏 0
👁 381
Profile Photo - Some Guy

Is NTFS supported by Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyYou can use NTFS as Linux distributions support read/write on NTFS file systems. If you mean to use NTFS for storage, then you are good to go, as it d... roxblade,

You can use NTFS as Linux...

Mon, 04 Feb 2019 10:38:43 -08001 year ago1
🗨 1
🐏 0
👁 368
Profile Photo - Some Guy

Is exFAT supported by Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyYes, it does support exFAT, but with a few packages first. sudo apt-get install exfat-fuse exfat-utilsThis will most probably do the job for you. roxblade,

Yes, it does support exFA...

Mon, 04 Feb 2019 10:35:22 -08001 year ago1
🗨 1
🐏 0
👁 376
Profile Photo - Some Guy

Does Linux use NTFS or fat32?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyFAT32 is outdated and known as something close to Windows-only. Linux distributions like Ubuntu can read/write on both, NTFS and FAT32. For storage, y... roxblade,

FAT32 is outdated and kno...

Mon, 04 Feb 2019 10:33:32 -08001 year ago1
🗨 1
🐏 0
👁 378
Profile Photo - Some Guy

How to delete a directory on a Linux system? Or a file?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe rm command can be used to remove files, but it doesn't remove directories or folders by default.rm abc.txtTo remove forcefully, use -f like this:... roxblade,

The rm command can be use...

Mon, 04 Feb 2019 10:09:38 -08001 year ago1
🗨 1
🐏 0
👁 415
Profile Photo - Some Guy

How to rename a directory on a Linux system?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe mv command things in an easy way. If you want to rename fie abc.txt to xyz.txt, then navigate to the current directory's path in the terminal and... roxblade,

The mv command things in...

Mon, 04 Feb 2019 10:05:46 -08001 year ago1
🗨 1
🐏 0
👁 388
Profile Photo - Some Guy

[Linux] How to copy a file from one directory to another?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyUse the cp command (lowercase CP). cp file.txt /home/destinationWhat this does is copy the file.txt into the directory called destination under the h... roxblade,

Use the cp command (lower...

Mon, 04 Feb 2019 10:00:06 -08001 year ago1
🗨 1
🐏 0
👁 382
Profile Photo - Some Guy

How to check what version of Linux I am running?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyEnter the following command in the terminal: uname -aThis gives you the Linux kernel version. This command, however, doesn't give you the distributio... roxblade,

Enter the following comma...

Mon, 04 Feb 2019 09:55:25 -08001 year ago1
🗨 1
🐏 0
👁 347
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyYou use the ls command (lowercase LS). It will list all the directory contents of files and sub-directories. ls -a will list all files including the h... roxblade,

You use the ls command (l...

Mon, 04 Feb 2019 09:52:54 -08001 year ago1
🗨 1
🐏 0
👁 357
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe chown command is used to change the ownership. And the chmod command is used to change rights. For example, you can use the commandsudo chown -R $... roxblade,

The chown command is used...

Mon, 04 Feb 2019 09:50:34 -08001 year ago1
🗨 1
🐏 0
👁 431
Profile Photo - Some Guy

What does "sudo killall vdcassistant" do?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThis is a popular fix for the error "There is no connected camera" on Mac. It happens when you try to use FaceTime (called iSight formerly) mostly, so... roxblade,

This is a popular fix for...

Sun, 03 Feb 2019 13:29:39 -08001 year ago1
🗨 1
🐏 0
👁 544
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyMaybe there's a version conflict? If you are running Python 3.2 and are trying to get Pip 3, it won't work. So, make sure both versions are same.If th... roxblade,

Maybe there's a version c...

Sun, 03 Feb 2019 13:21:42 -08001 year ago1
🗨 1
🐏 0
👁 404
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe general explanation behind this error is that instead of a file or resource, the command downloaded an HTML doc or a webpage. Now, based on the en... roxblade,

The general explanation b...

Sun, 03 Feb 2019 13:17:32 -08001 year ago1
🗨 1
🐏 0
👁 493
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe DHCP server file, or the Dynaic Host Configuration Protocol, is a service responsible for assigning IP addresses and other details like broadcast... roxblade,

The DHCP server file, or...

Sun, 03 Feb 2019 13:12:56 -08001 year ago1
🗨 1
🐏 0
👁 402
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe colon symbol is used for most Linux config files, and you mean "delimiter". On the other hand, the awk command utilizes spaces (or tabs, which are... roxblade,

The colon symbol is used...

Sun, 03 Feb 2019 13:07:49 -08001 year ago1
🗨 1
🐏 0
👁 407
Profile Photo - Some Guy

What are the two wildcard characters for the terminal?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyActually there are three main wildcards for the Linux terminal. These are:The asterisk, or * The question mark, or ? And the square brackets, or []T... roxblade,

Actually there are three...

Sun, 03 Feb 2019 12:31:12 -08001 year ago1
🗨 1
🐏 0
👁 410