Search found 336 matches
- 2021-Jul-25, 12:27 pm
- Forum: Linux & macOS Bash
- Topic: Using multiple commands: sed
- Replies: 0
- Views: 18034
Using multiple commands: sed
24 Jun 2012 12:38 shlinuxbash Hello, SS64 ! I've got a question. If I wanted to operate on the word one for instance I would do a: echo one two | sed s/one/1/ Output: 1 The same with two: echo one two | sed s/two/2/ Output: 2 But when I try to replace both, I get this: echo one two | sed s/one/1/ s/...
- 2021-Jul-25, 12:25 pm
- Forum: Linux & macOS Bash
- Topic: ps
- Replies: 0
- Views: 17586
ps
14 Apr 2008 19:46 markusfarkus Okay I am trying to find a way to sort the processes by memory usage largest to smallest. I know if I piped the output into a file I could run a sort command or two, but is there a simpler way? ---------------------------- #2 28 Sep 2012 15:33 reservedeler Im not sure ...
- 2021-Jul-25, 12:17 pm
- Forum: Linux & macOS Bash
- Topic: Count the number of files found with find
- Replies: 0
- Views: 17211
Count the number of files found with find
28 Nov 2008 02:34 Temonio Hello, I am reading and reading tutorials but i cannot find an answer to my problen: im trying to count the number of files found with FIND, for example if i write the next code line find . -name 'salida_0*' and i find 3 files named: salida_00001_20081120121017 salida_00002...
- 2021-Jul-25, 12:15 pm
- Forum: Linux & macOS Bash
- Topic: Separate characters in a string
- Replies: 0
- Views: 16833
Separate characters in a string
03 May 2009 06:51 Leo_Gutierrez Hi. How can I separate this string: "Leonardo" like this: L e o n a r d o I want to put each character in to a subscript of a array. like this array[0]=L array[1]=e array[2]=o ... Thanks a lot. ---------------------------- #2 03 May 2009 07:26 Leo_Gutierrez ...
- 2021-Jul-25, 12:13 pm
- Forum: Linux & macOS Bash
- Topic: Resetting an admin's password on OSX being logged in as Root...
- Replies: 0
- Views: 16541
Resetting an admin's password on OSX being logged in as Root...
08 May 2007 19:37 crome A lot of times I'm asked to reset customer's password on their macs usually due to them forgetting. This is a major waste of time, in terms of travel. I've tried changing the password via a remote connection, but it asks me for their existing password which is usually unknown...
- 2021-Jul-25, 12:11 pm
- Forum: Linux & macOS Bash
- Topic: Interactive (movable/active) cursor and gridlines for Gnuplot
- Replies: 0
- Views: 16471
Interactive (movable/active) cursor and gridlines for Gnuplot
29 Apr 2010 15:13 Peggy Li I have been looking for help in this. I am not sure if this is the right place to ask? I have just downloaded Gnuplot-4.4.0 to replace the older version Gnuplot-4.0 for my MacBook Pro. With Gnuplot 4.0, when I typed: $gnuplot gnuplot > plot sin(x) If I hit the "alt&qu...
- 2021-Jul-25, 12:07 pm
- Forum: Linux & macOS Bash
- Topic: MacOS system reset
- Replies: 0
- Views: 16385
MacOS system reset
24 Jun 2010 10:20 Leo Hartmann How can I remove commands in the terminal. I have Mac OS 10.4.8 and installed following shell:bash commands to activate Postfix. I am completely new about it. sudo postfix start cd /System/Library sudo mkdir StartupItems cd StartupItems sudo mv ~/Desktop/Postfix . sudo...
- 2021-Jul-25, 12:05 pm
- Forum: Linux & macOS Bash
- Topic: MacOS Terminal colour schemes
- Replies: 0
- Views: 12439
MacOS Terminal colour schemes
14 Apr 2011 18:03 Simon Sheppard Solarized is a sixteen color palette designed for use with terminal and gui applications. Tested extensively in real world use in a variety of lighting conditions. https://ethanschoonover.com/solarized Currently available for: - Vim - Mutt e-mail client - Xresources ...
- 2021-Jul-25, 12:02 pm
- Forum: Linux & macOS Bash
- Topic: Bash equivalent of Windows &
- Replies: 0
- Views: 5557
Bash equivalent of Windows &
11 Mar 2008 06:32 uiop44 Hi In XP/NT you can use & to sequentially perform commands without having to use a .bat file. What is the equivalent of & in Bash? Cheers ---------------------------- #2 18 Mar 2008 20:11 Simon Sheppard see this page https://ss64.com/bash/syntax-brackets.html
- 2021-Jul-25, 12:00 pm
- Forum: Linux & macOS Bash
- Topic: awk command
- Replies: 0
- Views: 5498
awk command
08 Jun 2007 09:51 miki Hello, I'am new to linux. I was looking on the bash commands and in one example of awk I think there is an error. This program prints the total number of bytes used by FILES. ls -lg FILES | awk '{ x += $5 } ; END { print "total bytes: " x }' It was showing me lenght ...